mirror of
https://github.com/reactos/CMake.git
synced 2024-12-04 09:54:15 +00:00
bc65b74fa6
Set CMAKE_SUPPRESS_REGENERATION in the Lib1 and Lib2 projects so that their .vcxproj files do not contain references to ZERO_CHECK. Such references do not make sense when using the files in another .sln file. This does not reduce the effectiveness of the test because real projects that use include_external_msproject will have their own .vcxproj files not generated by CMake anyway.
7 lines
102 B
CMake
7 lines
102 B
CMake
set(CMAKE_SUPPRESS_REGENERATION 1)
|
|
project(LIB1)
|
|
|
|
set(SOURCES lib1.cpp)
|
|
|
|
add_library(lib1 ${SOURCES})
|