Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tests: Fix RunCMake.TargetSources on Xcode 1.5 | Brad King | 2014-06-06 | 2 | -5/+4 |
| | | | | | | Xcode 1.5 does not support multiple configurations. The generator also adds some sources internally that cause extra OriginDebug output. Update the expected output to tolerate it. | ||||
* | cmTarget: Fix listing of source files at configure-time. | Stephen Kelly | 2014-04-13 | 5 | -1/+18 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | target_sources: New command to add sources to target. | Stephen Kelly | 2014-04-02 | 4 | -0/+26 |
| | |||||
* | Make the SOURCES target property writable. | Stephen Kelly | 2014-04-02 | 4 | -0/+28 |
| | |||||
* | cmTarget: Make the SOURCES origin tracable. | Stephen Kelly | 2014-04-02 | 7 | -0/+60 |
| | |||||
* | cmTarget: Make the source files depend on the config. | Stephen Kelly | 2014-04-02 | 7 | -0/+40 |
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. |