зеркало из https://github.com/microsoft/DXUT.git
Minor cmake cleanup
This commit is contained in:
Родитель
0e97736743
Коммит
516b535883
|
@ -209,8 +209,7 @@ if ( CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
|
|||
set(WarningsLib "-Wno-deprecated-declarations" "-Wno-unused-const-variable" "-Wno-switch" "-Wno-ignored-attributes")
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE ${WarningsLib})
|
||||
target_compile_options(${PROJECT_NAME}Opt PRIVATE ${WarningsLib})
|
||||
endif()
|
||||
if ( CMAKE_CXX_COMPILER_ID MATCHES "MSVC" )
|
||||
elseif ( CMAKE_CXX_COMPILER_ID MATCHES "MSVC" )
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE /sdl /permissive- /JMC- /Zc:__cplusplus)
|
||||
target_compile_options(${PROJECT_NAME}Opt PRIVATE /sdl /permissive- /JMC- /Zc:__cplusplus)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче