Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build script #81

Merged
merged 4 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: microsoft/[email protected]

- name: Update NuGet packages
uses: nuget update
run: nuget restore .\Projects\VisualStudio\maxGUI.sln

- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,14 @@

#define MAX_COMPILER_MESSAGE( Message ) __pragma( message( Message ) )

#if _MSC_VER > 1938
#if _MSC_VER > 1939
MAX_COMPILER_MESSAGE( "Compiling with a newer version of MSVC than max recognizes. Using last known version." );
#elif _MSC_VER >= 1939
// MSVC++ (Visual Studio 2022 / version 17.9)
#define MAX_COMPILER_VERSION_MAJOR 17
#define MAX_COMPILER_VERSION_MINOR 9
#elif _MSC_VER >= 1938
// MCVC++ (Visual Studio 2022 / version 17.8)
// MSVC++ (Visual Studio 2022 / version 17.8)
#define MAX_COMPILER_VERSION_MAJOR 17
#define MAX_COMPILER_VERSION_MINOR 8
#elif _MSC_VER >= 1937
Expand Down
Loading