mirror of
https://github.com/reactos/CMake.git
synced 2024-12-15 07:41:15 +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.
15 lines
435 B
Plaintext
15 lines
435 B
Plaintext
CMake Error in CMakeLists.txt:
|
|
Target "somelib" has source files which vary by configuration. This is not
|
|
supported by the "[^"]+" generator.
|
|
|
|
Config "Debug":
|
|
|
|
.*/Tests/RunCMake/TargetSources/empty_1.cpp
|
|
.*/Tests/RunCMake/TargetSources/empty_2.cpp
|
|
.*/Tests/RunCMake/TargetSources/CMakeLists.txt
|
|
|
|
Config "Release":
|
|
|
|
.*/Tests/RunCMake/TargetSources/empty_1.cpp
|
|
.*/Tests/RunCMake/TargetSources/CMakeLists.txt
|