diff --git a/Defs/Makefile b/Defs/Makefile deleted file mode 100644 index 57b7688..0000000 --- a/Defs/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -debug: - xbuild diff --git a/Defs/build.ps1 b/Defs/build.ps1 new file mode 100755 index 0000000..bd29c82 --- /dev/null +++ b/Defs/build.ps1 @@ -0,0 +1,14 @@ +#!/bin/pwsh + +Set-Location -Path (Split-Path -Path $MyInvocation.MyCommand.Definition -Parent) + +if($IsLinux) { + + msbuild Defs.sln /verbosity:minimal + +} else { + + dotnet msbuild Defs.sln /verbosity:minimal + +} + diff --git a/Defs/make.cmd b/Defs/make.cmd deleted file mode 100755 index 29a022f..0000000 --- a/Defs/make.cmd +++ /dev/null @@ -1,4 +0,0 @@ -@cd /D %~dp0 -@call ../scripts/set-variables - -%msbuild% Defs.sln /verbosity:minimal diff --git a/Frameworks/Makefile b/Frameworks/Makefile deleted file mode 100644 index 2f71735..0000000 --- a/Frameworks/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -debug: - xbuild - -release: - xbuild /p:Configuration=Release diff --git a/Frameworks/build.ps1 b/Frameworks/build.ps1 new file mode 100755 index 0000000..a88decd --- /dev/null +++ b/Frameworks/build.ps1 @@ -0,0 +1,10 @@ +#!/bin/pwsh + +Set-Location -Path (Split-Path -Path $MyInvocation.MyCommand.Definition -Parent) + +if($IsLinux) { + Write-Host "Invoking skc5 on Linux currently not supported" -ForegroundColor Yello +} else { + & "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe" Frameworks.sln -verbosity:minimal +} + diff --git a/Frameworks/make.cmd b/Frameworks/make.cmd deleted file mode 100755 index 9658cb4..0000000 --- a/Frameworks/make.cmd +++ /dev/null @@ -1,4 +0,0 @@ -@cd /D %~dp0 -@call ../scripts/set-variables - -%msbuild% Frameworks.sln -verbosity:minimal diff --git a/Makefile b/Makefile deleted file mode 100644 index c032cb9..0000000 --- a/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -debug: - cd Defs && $(MAKE) - cd Frameworks && $(MAKE) - -release: - cd Defs && $(MAKE) - cd Frameworks && $(MAKE) release diff --git a/build.ps1 b/build.ps1 new file mode 100755 index 0000000..6528bce --- /dev/null +++ b/build.ps1 @@ -0,0 +1,11 @@ +#!/bin/pwsh + +Set-Location -Path (Split-Path -Path $MyInvocation.MyCommand.Definition -Parent) + +cd Defs +& ./build.ps1 +cd .. + +cd Frameworks +& ./build.ps1 +cd .. diff --git a/make.cmd b/make.cmd deleted file mode 100755 index 2ae9d6f..0000000 --- a/make.cmd +++ /dev/null @@ -1,11 +0,0 @@ -@echo off -cd /D %~dp0 -call scripts/set-variables - -cd Defs -call make -cd .. - -cd Frameworks -call make -cd ..