mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 02:39:48 -06:00
In case CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY has been enabled generate only the root-level ZERO_CHECK target so targets in subdirectories pick up the root generator target of ZERO_CHECK. For the case that CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY is not enabled more investigation and a proper and final fix is still needed. Issue: 14297
5 lines
152 B
CMake
5 lines
152 B
CMake
set(CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY TRUE)
|
|
project(XcodeDependOnZeroCheck CXX)
|
|
add_subdirectory(zerocheck)
|
|
add_library(parentdirlib foo.cpp)
|