diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-03-27 16:06:34 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-02 21:14:02 (GMT) |
commit | df753df94bb1e995372baabb0240585560c72ded (patch) | |
tree | 0dfeb552caccda9df68ec32e4f308fada323736f /Tests | |
parent | 869328aac31f8e702ac7039ce72c6fa485432733 (diff) | |
download | CMake-df753df94bb1e995372baabb0240585560c72ded.zip CMake-df753df94bb1e995372baabb0240585560c72ded.tar.gz CMake-df753df94bb1e995372baabb0240585560c72ded.tar.bz2 |
cmGeneratorTarget: Don't add computed sources to the target.
When config-specifig generator expressions are supported, a target
may have SOURCES:
src1.cpp $<$<CONFIG:Debug>:src2.cpp> $<$<CONFIG:Release>:src3.cpp>
and computation in cmTargetTraceDependencies would add each of the
src2.cpp and src3.cpp sources back to the target without a
config-guard. That would make the sources be used later when
generating the buildsystem, regardless of the configuration.
Avoid calling AddSource on the target with the result of the
GetSourceFiles call.
Diffstat (limited to 'Tests')
0 files changed, 0 insertions, 0 deletions