mirror of
https://github.com/Naios/continuable.git
synced 2025-12-06 08:46:44 +08:00
Move the MSVC flags into the appropiate file
This commit is contained in:
parent
a7d844d0dc
commit
707acd0f93
@ -126,8 +126,6 @@ if (CTI_CONTINUABLE_WITH_TESTS OR CTI_CONTINUABLE_WITH_EXAMPLES)
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||
string(REGEX REPLACE "/W[0-4]" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /permissive-")
|
||||
endif()
|
||||
|
||||
enable_testing()
|
||||
|
||||
@ -33,8 +33,9 @@ endif()
|
||||
|
||||
target_compile_options(continuable-features-flags
|
||||
INTERFACE
|
||||
/MP2
|
||||
/bigobj)
|
||||
/MP
|
||||
/bigobj
|
||||
/permissive-)
|
||||
|
||||
target_compile_options(continuable-features-warnings
|
||||
INTERFACE
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user