mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
Merge branch 'master' of github.com:OpenSpace/OpenSpace into feature/data-management
This commit is contained in:
@@ -37,6 +37,12 @@ constexpr int OPENSPACE_VERSION_PATCH = @OPENSPACE_VERSION_PATCH@;
|
||||
|
||||
constexpr const char* OPENSPACE_VERSION_STRING = "@OPENSPACE_VERSION_STRING@";
|
||||
|
||||
constexpr const char* OPENSPACE_VERSION_STRING_FULL = "@OPENSPACE_VERSION_MAJOR@.@OPENSPACE_VERSION_MINOR@.@OPENSPACE_VERSION_PATCH@ (@OPENSPACE_VERSION_STRING@)";
|
||||
|
||||
constexpr const char* OPENSPACE_GIT_BRANCH = "@OPENSPACE_GIT_BRANCH@";
|
||||
constexpr const char* OPENSPACE_GIT_COMMIT = "@OPENSPACE_GIT_COMMIT@";
|
||||
constexpr const char* OPENSPACE_GIT_FULL = "@OPENSPACE_GIT_BRANCH@@@OPENSPACE_GIT_COMMIT@";
|
||||
|
||||
} // namespace openspace
|
||||
|
||||
#endif // __OPENSPACE_CORE___OPENSPACE___H__
|
||||
|
||||
@@ -68,6 +68,9 @@ function (set_openspace_compile_settings project)
|
||||
"/w44988" # 'symbol': variable declared outside class/function scope
|
||||
"/std:c++latest"
|
||||
"/permissive-"
|
||||
"/Zc:twoPhase-" # Used to prevent C:\Program Files (x86)\Windows Kits\8.1\Include\um\combaseapi.h(229): error C2187: syntax error: 'identifier' was unexpected here
|
||||
# This is a bug in Visual Studio 15.3 and can be removed with the next version:
|
||||
# https://developercommunity.visualstudio.com/content/problem/94419/vs-2017-153-with-permissive-shows-error-c2187-in-c.html
|
||||
"/Zc:strictStrings-" # Windows header don't adhere to this
|
||||
)
|
||||
if (OPENSPACE_WARNINGS_AS_ERRORS)
|
||||
|
||||
Reference in New Issue
Block a user