diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index 6e4381c..fea1b08 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -41,7 +41,7 @@ jobs: - name: Build RebootS20 working-directory: ${{env.GITHUB_WORKSPACE}} - run: msbuild /p:DefineConstants=ABOVE_S20 ${{env.SOLUTION_FILE_PATH}} /t:Clean,Build /p:Configuration=Release + run: msbuild ${{env.SOLUTION_FILE_PATH}} /p:AboveS20=TRUE /t:Clean,Build /p:Configuration=Release - name: Upload Artifact with ABOVE_S20 uses: actions/upload-artifact@v3 diff --git a/Project Reboot 3.0/Project Reboot 3.0.vcxproj b/Project Reboot 3.0/Project Reboot 3.0.vcxproj index d346fac..921d318 100644 --- a/Project Reboot 3.0/Project Reboot 3.0.vcxproj +++ b/Project Reboot 3.0/Project Reboot 3.0.vcxproj @@ -78,6 +78,7 @@ Level3 true WIN32;_DEBUG;PROJECTREBOOT30_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + ABOVE_S20;%(PreprocessorDefinitions) true NotUsing pch.h @@ -100,6 +101,7 @@ true true WIN32;NDEBUG;PROJECTREBOOT30_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + ABOVE_S20;%(PreprocessorDefinitions) true NotUsing pch.h @@ -124,6 +126,7 @@ Level3 true _DEBUG;PROJECTREBOOT30_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + ABOVE_S20;%(PreprocessorDefinitions) true NotUsing pch.h @@ -146,6 +149,7 @@ true true NDEBUG;PROJECTREBOOT30_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) + ABOVE_S20=$(AboveS20);%(PreprocessorDefinitions) true NotUsing pch.h @@ -513,4 +517,4 @@ - \ No newline at end of file +