-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from theodelrieu/fix/config
Fix/config
- Loading branch information
Showing
3 changed files
with
42 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[settings] | ||
os=Windows | ||
os_build=Windows | ||
build_type=Release | ||
arch_build=x86_64 | ||
compiler=Visual Studio | ||
compiler.version=16 | ||
compiler.runtime=MD | ||
compiler.cppstd=17 | ||
arch=x86_64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,17 @@ | ||
#pragma once | ||
|
||
#ifdef _MSC_VER | ||
# if _MSVC_LANG >= 201402L | ||
# define MGS_HAS_CPP14 | ||
# if _MSVC_LANG >= 201703L | ||
# define MGS_HAS_CPP17 | ||
# define MGS_HAS_CPP20 | ||
# endif | ||
# if _MSVC_LANG > 201703L | ||
# define MGS_HAS_CPP20 | ||
# define MGS_HAS_CPP17 | ||
# elif _MSVC_LANG > 201402L | ||
# define MGS_HAS_CPP17 | ||
# endif | ||
#else | ||
# if __cplusplus >= 201709L | ||
# define MGS_HAS_CPP20 | ||
# define MGS_HAS_CPP17 | ||
# define MGS_HAS_CPP14 | ||
# elif __cplusplus >= 201703L | ||
# define MGS_HAS_CPP17 | ||
# define MGS_HAS_CPP14 | ||
# elif __cplusplus >= 201402L | ||
# define MGS_HAS_CPP14 | ||
# endif | ||
#endif |