mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-18 11:30:32 -05:00
C++17 nested namespace test
This commit is contained in:
Submodule ext/ghoul updated: 9f27e93d41...6d2f497e4f
@@ -110,13 +110,16 @@ function (set_compile_settings project)
|
||||
"/w44946" # reinterpret_cast used between related classes: 'class1' and 'class2'
|
||||
"/w44986" # 'symbol': exception specification does not match previous declaration
|
||||
"/w44988" # 'symbol': variable declared outside class/function scope
|
||||
# "/std:c++latest" # Boost as of 1.64 still uses unary_function
|
||||
"/std:c++latest"
|
||||
"/permissive-"
|
||||
"/Zc:strictStrings-" # Windows header don't adhere to this
|
||||
)
|
||||
if (OPENSPACE_WARNINGS_AS_ERRORS)
|
||||
target_compile_options(${project} PRIVATE "/WX")
|
||||
endif ()
|
||||
|
||||
# Boost as of 1.64 still uses unary_function unless we define this
|
||||
target_compile_definitions(${project} PRIVATE "_HAS_AUTO_PTR_ETC")
|
||||
elseif (APPLE)
|
||||
target_compile_definitions(${project} PRIVATE "__APPLE__")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user