CMake/Tests/RunCMake/TargetSources
Stephen Kelly b8af201168 cmTarget: Fix listing of source files at configure-time.
Since commit e5da9e51 (cmTarget: Allow any generator expression in
SOURCES property., 2014-03-18), source files are computed by
true evaluation of generator expressions, including TARGET_OBJECTS.
This evaluation requires the presence of cmGeneratorTarget objects
since commit bf98cc25 (Genex: Evaluate TARGET_OBJECTS as a normal
expression., 2014-02-26).

Ensure that we don't attempt to evaluate the TARGET_OBJECTS generator
expression at configure-time, as can happen if CMP0024 or CMP0026
are OLD.  Use old-style parsing of the source item to extract
object target names in that case.

Avoid calling GetProperty("SOURCES") to bypass warnings from CMP0051.
Refactor existing logic in GetLanguages which is similar in intent to
the new GetSourceFiles code.
2014-04-13 10:59:50 +02:00
..
CMP0026-LOCATION-result.txt cmTarget: Fix listing of source files at configure-time. 2014-04-13 10:59:50 +02:00
CMP0026-LOCATION-stderr.txt cmTarget: Fix listing of source files at configure-time. 2014-04-13 10:59:50 +02:00
CMP0026-LOCATION.cmake cmTarget: Fix listing of source files at configure-time. 2014-04-13 10:59:50 +02:00
CMakeLists.txt cmTarget: Fix listing of source files at configure-time. 2014-04-13 10:59:50 +02:00
ConfigNotAllowed-result.txt cmTarget: Make the source files depend on the config. 2014-04-02 23:14:02 +02:00
ConfigNotAllowed-stderr.txt cmTarget: Make the source files depend on the config. 2014-04-02 23:14:02 +02:00
ConfigNotAllowed.cmake cmTarget: Make the source files depend on the config. 2014-04-02 23:14:02 +02:00
OriginDebug-result.txt cmTarget: Make the SOURCES origin tracable. 2014-04-02 23:14:02 +02:00
OriginDebug-stderr.txt target_sources: New command to add sources to target. 2014-04-02 23:14:02 +02:00
OriginDebug.cmake target_sources: New command to add sources to target. 2014-04-02 23:14:02 +02:00
OriginDebugIDE-result.txt cmTarget: Make the SOURCES origin tracable. 2014-04-02 23:14:02 +02:00
OriginDebugIDE-stderr.txt target_sources: New command to add sources to target. 2014-04-02 23:14:02 +02:00
OriginDebugIDE.cmake cmTarget: Make the SOURCES origin tracable. 2014-04-02 23:14:02 +02:00
RunCMakeTest.cmake cmTarget: Fix listing of source files at configure-time. 2014-04-13 10:59:50 +02:00
empty_1.cpp cmTarget: Make the source files depend on the config. 2014-04-02 23:14:02 +02:00
empty_2.cpp cmTarget: Make the source files depend on the config. 2014-04-02 23:14:02 +02:00
empty_3.cpp Make the SOURCES target property writable. 2014-04-02 23:14:02 +02:00
empty_4.cpp target_sources: New command to add sources to target. 2014-04-02 23:14:02 +02:00