summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Introduce "generator expression" syntax to custom commands (#11209)Brad King2010-12-154-5/+41
| | | | | | | | | Evaluate in the COMMAND arguments of custom commands the generator expression syntax introduced in commit d2e1f2b4 (Introduce "generator expressions" to add_test, 2009-08-11). These expressions have a syntax like $<TARGET_FILE:mytarget> and are evaluated during build system generation. This syntax allows per-configuration target output files to be referenced in custom command lines.
* Record set of targets used in cmGeneratorExpressionBrad King2010-12-152-0/+7
|
* Optionally suppress errors in cmGeneratorExpressionBrad King2010-12-152-4/+7
|
* Factor generator expression docs out of add_testBrad King2010-12-153-13/+33
| | | | | This documentation may be reused wherever generator expressions are supported.
* Record backtrace in cmCustomCommandBrad King2010-12-156-9/+40
| | | | | This will be used to report custom command errors to the user with a backtrace pointing at the add_custom_command or add_custom_target call.
* Merge branch 'imported-target-dependencies' into custom-command-refactorBrad King2010-12-081-4/+4
|\
| * Honor custom command dependencies on imported targets (#10395)Brad King2010-12-081-4/+4
| | | | | | | | | | | | | | Imported targets do not themselves build, but we can follow dependencies through them to find real targets. This allows imported targets to depend on custom targets that provide the underlying files at build time.
* | Remove cmLocalGenerator::GetRealLocationBrad King2010-12-083-24/+7
| | | | | | | | | | | | The cmCustomCommandGenerator::GetCommand method completely replaces the purpose of this method. Re-implement GetRealLocation inline at the only remaining call site and remove it.
* | Factor out common custom command generatorBrad King2010-12-086-76/+118
| | | | | | | | | | | | The Makefile, VS, and Xcode generators previously duplicated some custom command line generation code. Factor this out into a separate class cmCustomCommandGenerator shared by all generators.
* | Simplify VS generator ConstructScript interfaceBrad King2010-12-085-47/+14
| | | | | | | | | | Pass to cmLocalVisualStudioGenerator::ConstructScript a cmCustomCommand instance instead of extracting arguments at all call sites.
* | Skip file-level dependencies on custom targets (#11332)Brad King2010-12-082-4/+4
| | | | | | | | | | | | | | A custom command may name a target created by add_custom_target in its DEPENDS field. Treat this case as a target-level dependency only since a custom target provides no standard file on which to add a file-level dependency.
* | Improve signature of cmLocalGenerator::GetRealDependencyBrad King2010-12-087-33/+51
| | | | | | | | Allow file-level custom command dependencies to be skipped.
* | KWSys Nightly Date StampKWSys Robot2010-12-061-1/+1
| |
* | KWSys Nightly Date StampKWSys Robot2010-12-051-1/+1
| |
* | KWSys Nightly Date StampKWSys Robot2010-12-041-1/+1
| |
* | KWSys Nightly Date StampKWSys Robot2010-12-031-1/+1
| |
* | Merge topic 'find-command-crash'Brad King2010-12-021-0/+5
|\ \ | | | | | | | | | | | | 183d261 Fix find_* argument parsing crash (#11513)
| * | Fix find_* argument parsing crash (#11513)Brad King2010-11-301-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the command find_path(VAR DOC "") would crash because the argument pre-processing removed the DOC "" arguments but the rest of the parsing assumes at least 2 arguments. Reject the call with an error instead.
* | | Merge topic 'ctest-remove-waiting-message'Brad King2010-12-021-6/+0
|\ \ \ | | | | | | | | | | | | | | | | 13f2454 Remove debugging message from parallel ctest
| * | | Remove debugging message from parallel ctestZach Mullen2010-12-011-6/+0
| | | |
* | | | Merge topic 'CPack-Bug11452-ComponentBreakage-v2'Brad King2010-12-021-16/+30
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 12a7125 CPack Fix KWStyle error d0eb89c CPack backward compatibility fix 2.8.3-2.8.2 (bug 11452)
| * | | | CPack Fix KWStyle errorEric NOULARD2010-12-011-1/+3
| | | | |
| * | | | CPack backward compatibility fix 2.8.3-2.8.2 (bug 11452)Eric NOULARD2010-11-291-16/+28
| | | | | | | | | | | | | | | | | | | | | | | | | One should set CPACK_ARCHIVE_COMPONENT_INSTALL=1 in order to trigger component install for ARCHIVE generators
* | | | | Merge topic 'vs-target-dependencies'Brad King2010-12-022-0/+9
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 08a3188 Skip VS <= 7.1 dependency analysis for VS >= 8
| * | | | | Skip VS <= 7.1 dependency analysis for VS >= 8Brad King2010-12-012-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 1a0c166 (Store direct dependencies in solutions for VS >= 8, 2010-08-20) disabled use of VS-specific global dependency analysis. Avoid perfoming the analysis at all when it is not needed. This also prevents creation of bogus and unused '_UTILITY' targets since they are not needed for dependencies.
* | | | | | KWSys Nightly Date StampKWSys Robot2010-12-021-1/+1
| | | | | |
* | | | | | KWSys: Associate installed library with an EXPORTBrad King2010-12-011-0/+5
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | A parent project may now set KWSYS_INSTALL_EXPORT_NAME to specify the EXPORT name for install(TARGETS) commands.
* | | | | KWSys Nightly Date StampKWSys Robot2010-12-011-2/+2
| |_|/ / |/| | |
* | | | KWSys Nightly Date StampKWSys Robot2010-11-301-1/+1
| |/ / |/| |
* | | KWSys Nightly Date StampKWSys Robot2010-11-291-1/+1
| | |
* | | KWSys Nightly Date StampKWSys Robot2010-11-281-1/+1
| | |
* | | KWSys Nightly Date StampKWSys Robot2010-11-271-1/+1
| | |
* | | KWSys Nightly Date StampKWSys Robot2010-11-261-1/+1
| | |
* | | KWSys Nightly Date StampKWSys Robot2010-11-251-1/+1
| | |
* | | KWSys Nightly Date StampKWSys Robot2010-11-241-1/+1
| | |
* | | Merge topic 'dev/fix-cache-variable-parsing-ambiguity'David Cole2010-11-235-49/+14
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8b143fa Condense parsing of cache entries 122ebf1 Support manual cache entries 90abc3a Use cmCacheManager to load entries from the cache 6fe8624 Fix parsing of cache variables without a type
| * | | Condense parsing of cache entriesBen Boeckel2010-11-224-13/+11
| | | | | | | | | | | | | | | | | | | | If a cache line is being parsed, it shouldn't matter whether it has a type or not; just parse it however possible.
| * | | Support manual cache entriesBen Boeckel2010-11-221-1/+2
| | | |
| * | | Use cmCacheManager to load entries from the cacheBen Boeckel2010-11-222-37/+3
| | | |
| * | | Fix parsing of cache variables without a typeBen Boeckel2010-11-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These mainly come from the command line or manual entries in the CMakeCache.txt file. We want to stop at the first '=' because this is what is most likely to have been meant. The variable can be quoted if the '=' is intended. Caveat: What if one wants both '"' and '=' in a variable name?
* | | | Merge topic 'imported-target-dependencies'David Cole2010-11-238-108/+253
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | e01cce2 Allow add_dependencies() on imported targets (#10395) bc7395c Merge branch 'vs-target-dependencies' into imported-target-dependencies fd614e6 Use modern global dependency graph for VS < 8 deps 605f4bc Record edge type in global dependency graph 82596fc Merge branch 'vs8-direct-depends' into vs-target-dependencies
| * | | Allow add_dependencies() on imported targets (#10395)Brad King2010-11-194-28/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Imported targets do not themselves build, but we can follow dependencies through them to find real targets. This allows imported targets to depend on custom targets that provide the underlying files at build time.
| * | | Merge branch 'vs-target-dependencies' into imported-target-dependenciesBrad King2010-11-196-80/+215
| |\ \ \ | | | |/ | | |/|
| | * | Use modern global dependency graph for VS < 8 depsBrad King2010-11-182-73/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VS 7.1 and below have 2 behaviors that make the cmComputeTargetDepends result difficult to use for solution-level dependencies. Update the method cmGlobalVisualStudioGenerator::ComputeTargetDepends to document the behaviors and work around them. Commit 1a0c166a (Store direct dependencies in solutions for VS >= 8, 2010-08-20) isolated VS >= 8 from this computation so those versions should be unaffected. This change removes the last use of cmTarget::GetLinkLibraries for purposes other than backward compatibility with legacy interfaces (export_library_dependencies, VS 6 custom .dsp templates). Now the cmComputeTargetDepends results are used for all generators so global target dependency computation is fully centralized.
| | * | Record edge type in global dependency graphBrad King2010-11-184-7/+59
| | | | | | | | | | | | | | | | Each inter-target dependency may be a 'link' or 'util' dependency.
| | * | Merge branch 'vs8-direct-depends' into vs-target-dependenciesBrad King2010-11-123-3/+18
| | |\ \
* | | \ \ Merge topic 'link-library-parse-regex'David Cole2010-11-231-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 5fe3ac8 Prefer non-empty prefixes when matching lib names (#11468)
| * | | | | Prefer non-empty prefixes when matching lib names (#11468)Brad King2010-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In cmComputeLinkInformation we match library names with a regular expression, possibly extracting the 'lib' prefix. The regex component to match the prefix always allows an empty prefix to be matched, as in "(lib|)". Avoid every adding an empty prefix option earlier in the regex, as in "(|lib|)", because it will be preferred and 'lib' will never match.
* | | | | | Merge topic 'CPackRPM-ComponentSupport'David Cole2010-11-236-68/+190
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 66e86b4 CPack fix kwstyle breakage and make CPackRPM backward compatible 2c84d16 CPackRPM add basic component support to CPackRPM
| * | | | | | CPack fix kwstyle breakage and make CPackRPM backward compatibleEric NOULARD2010-11-153-8/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | backward compatible= No componentized RPM unless requested using CPACK_RPM_COMP0NENT_INSTALL