mirror of
https://github.com/reactos/CMake.git
synced 2024-12-13 14:27:23 +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.
9 lines
173 B
CMake
9 lines
173 B
CMake
set(CMAKE_SUPPRESS_REGENERATION 1)
|
|
project(VSEXTERNAL_LIB2)
|
|
|
|
include_directories(${VSEXTERNAL_LIB2_SOURCE_DIR}/../Lib1)
|
|
|
|
set(SOURCES lib2.cpp)
|
|
|
|
add_library(lib2 ${SOURCES})
|