You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
214 B
10 lines
214 B
2 years ago
|
enable_language(CXX)
|
||
|
|
||
|
add_library(foo foo.cpp)
|
||
|
|
||
|
set(CMAKE_VS_NO_COMPILE_BATCHING ON)
|
||
|
add_library(foo_NB foo.cpp)
|
||
|
|
||
|
add_library(foo_NB_OFF foo.cpp)
|
||
|
set_property(TARGET foo_NB_OFF PROPERTY VS_NO_COMPILE_BATCHING OFF)
|