mirror of
https://github.com/reactos/CMake.git
synced 2024-12-14 23:29:57 +00:00
e6971df6ab
Disallow the use of config-specific source files with the Visual Studio and Xcode generators. They don't have any way to represent the condition currently. Use the same common-config API in cmQtAutoGenerators. While it accepts config-specific files, it doesn't have to support multiple configurations yet. Loop over the configs in cmTargetTraceDependencies and cmGlobalGenerator::WriteSummary and consume all source files. Loop over the configs in cmComputeTargetDepends and compute the object library dependencies for each config.
3 lines
65 B
CMake
3 lines
65 B
CMake
|
|
add_library(somelib empty_1.cpp $<$<CONFIG:Debug>:empty_2.cpp>)
|