summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ImproveFindPackageConfigMode'Brad King2010-09-082-35/+114
|\ | | | | | | | | | | | | | | | | | | | | | | 5cdfc9c Improve wording of the error message of find_package() in config-mode 4969c3b Improve version notice in the generated message e8ae504 Add option CONFIG_MODE to FPHSA() b4b8f96 Don't create an empty element at the end of Foo_CONSIDERED_CONFIGS/VERSIONS cc955a0 Small cleanup of FindPackageHandleStandardArgs.cmake 0367245 Replace the two vector<string,string> with one vector<struct{string,string}> 130b0e2 Improve error message in Config-mode when no appropriate version was found dfe9c95 Record all considered Config files and their versions.
| * Improve wording of the error message of find_package() in config-modeAlex Neundorf2010-08-311-9/+10
| | | | | | | | | | | | | | | | As suggested by Brad, this improves the wording of the error message in config-mode when config-files were found, but no suitable version. The patch also contains the small loop-optimization suggested by Brad. Alex
| * Don't create an empty element at the end of Foo_CONSIDERED_CONFIGS/VERSIONSAlex Neundorf2010-08-291-2/+5
| | | | | | | | Alex
| * Replace the two vector<string,string> with one vector<struct{string,string}>Alex Neundorf2010-08-292-15/+17
| | | | | | | | | | | | | | | | | | Before this patch there were two separate vectors, and the code made sure they always had the same size. With this patch the code doesn't have to ensure this anymore, there is only one vector now. Alex
| * Improve error message in Config-mode when no appropriate version was foundAlex Neundorf2010-08-291-36/+50
| | | | | | | | | | | | | | | | If in config-mode config files have been found by find_package(), but their version didn't match the requested version, now all considered files and their versions are printed (instead of saying "didn't find config file) Alex
| * Record all considered Config files and their versions.Alex Neundorf2010-08-292-11/+70
| | | | | | | | | | | | | | | | As suggested on cmake-devel, find_package in Config-mode now records all considered config-files and their versions in <package>_CONSIDERED_CONFIGS and <package>_CONSIDERED_VERSIONS respectively. Alex
* | Merge topic 'ctest-show-labels'Brad King2010-09-086-3/+63
|\ \ | | | | | | | | | | | | 32242af Added CTest command --print-labels
| * | Added CTest command --print-labelsZach Mullen2010-08-316-3/+63
| | | | | | | | | | | | | | | | | | This command allows a user to quickly see the list of all available test labels. The labels are also printed in verbose show only mode, alongside their corresponding tests.
* | | Merge topic 'CPack-PreserveSymlinksInInstalledDirs-v2'Brad King2010-09-081-1/+43
|\ \ \ | | | | | | | | | | | | | | | | 013e003 CPack handle symlinks in CPACK_INSTALLED_DIRECTORIES fix for bug5430
| * | | CPack handle symlinks in CPACK_INSTALLED_DIRECTORIES fix for bug5430Eric NOULARD2010-08-281-1/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The proposed solution is to avoid to CopyIfDifferent any links found in CPACK_INSTALLED_DIRECTORIES but memorize them instead then at the end of the processing for each dir do re-create the link in the installed tree. Current patch should work if the link are "local" to the directory.
* | | | KWSys Nightly Date StampKWSys Robot2010-09-081-1/+1
| | | |
* | | | KWSys Nightly Date StampKWSys Robot2010-09-071-1/+1
| | | |
* | | | KWSys Nightly Date StampKWSys Robot2010-09-061-1/+1
| | | |
* | | | KWSys Nightly Date StampKWSys Robot2010-09-051-1/+1
| | | |
* | | | KWSys Nightly Date StampKWSys Robot2010-09-041-1/+1
| | | |
* | | | KWSys Nightly Date StampKWSys Robot2010-09-031-1/+1
| | | |
* | | | KWSys Nightly Date StampKWSys Robot2010-09-021-1/+1
| | | |
* | | | KWSys Nightly Date StampKWSys Robot2010-09-011-2/+2
| | | |
* | | | Merge topic 'MakeTargetLinkLibrariesComplainWhenNoTargetIsUsed'Brad King2010-08-313-37/+88
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6acc71c New CMP0016 for deciding whether an unknown target in TLL() is an error. da033b1 Remove trailing whitespace 6aef6d8 Just warn in case of a bad target as only argument for t_l_l() c786635 Make target_link_libraries() complain if bad target name is used 43f96ea Remove trailing whitespace
| * | | | New CMP0016 for deciding whether an unknown target in TLL() is an error.Alex Neundorf2010-08-283-7/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When set to OLD, target_link_libraries() silently accepts if it is called with only one argument and this one argument is not a target. When set to NEW, this is an error. By default it is a warning now. Alex
| * | | | Remove trailing whitespaceAlex Neundorf2010-08-282-26/+27
| | | | | | | | | | | | | | | | | | | | Alex
| * | | | Just warn in case of a bad target as only argument for t_l_l()Alex Neundorf2010-08-261-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As discussed on cmake-devel, if target_link_libraries() is called with only one argument, and this one argument is not a valid target, just print a warning but don't fail, since otherwise probably some existing code somewhere might stop building. Alex
| * | | | Make target_link_libraries() complain if bad target name is usedAlex Neundorf2010-08-261-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | target_link_libraries() did not complain if there was only one argument, and this one (first) argument wasn't a valid target name, e.g. add_executable(hello main.cpp) target_link_libraries(-static-intel) Here the target "hello" was forgotten in the tll() call, but cmake didn't complain. With this commit it does. Alex
| * | | | Remove trailing whitespaceAlex Neundorf2010-08-261-3/+3
| | |_|/ | |/| | | | | | | | | | Alex
* | | | Merge topic 'vs-utility-depends'Brad King2010-08-319-289/+271
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a99f620 Fix unused parameter warning in VS 7.1 generator 79a88c3 Refactor VS <= 7.1 utility-depends workaround 325bdb2 Factor out duplicate VS target dependency code 6bea843 Factor out global generator ComputeTargetDepends method
| * | | | Fix unused parameter warning in VS 7.1 generatorBrad King2010-08-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cmGlobalVisualStudio71Generator::WriteProjectDepends method no longer uses its 'dspname' parameter. Leave off the name to avoid the unused parameter warning. Later we should refactor the method to avoid passing the argument altogether.
| * | | | Refactor VS <= 7.1 utility-depends workaroundBrad King2010-08-247-175/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 438a7e2f (Fix utility dependencies for static libraries in VS generators, 2007-04-04) implemented utility-only dependencies between linkable targets by introducing an intermediate non-linkable target. We convert a dependency of the form foo -> bar to the form foo -> bar_UTILITY -> bar to prevent foo from including bar on its link line. Previously we added the extra "_UTILITY" targets explicitly among the project targets before dependency analysis was performed. Now we generate them separately at the last moment so that cmGlobalGenerator need not be aware of them.
| * | | | Factor out duplicate VS target dependency codeBrad King2010-08-245-136/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compute VS target dependencies in cmGlobalVisualStudioGenerator when the main global dependency analysis is done. Use these results in each of the VS generators instead of duplicating the analysis.
| * | | | Factor out global generator ComputeTargetDepends methodBrad King2010-08-242-10/+20
| | | | | | | | | | | | | | | | | | | | | | | | | Put the global dependency analysis in its own method so individual generators can hook into this point.
* | | | | Merge topic 'vs-platforms'Brad King2010-08-3111-24/+45
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ef4394d VS: Add ArchitectureId to VS 8 and 9 generators 4fec681 VS: Map /ENTRY linker option to EntryPointSymbol be49129 VS: Add more TargetMachine option values 807fca4 VS: Convert PlatformName member to a virtual method
| * | | | | VS: Add ArchitectureId to VS 8 and 9 generatorsPatrick Gansterer2010-08-265-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | Avoid duplicate architecture string literals.
| * | | | | VS: Map /ENTRY linker option to EntryPointSymbolPatrick Gansterer2010-08-261-0/+2
| | | | | |
| * | | | | VS: Add more TargetMachine option valuesPatrick Gansterer2010-08-241-0/+15
| | | | | |
| * | | | | VS: Convert PlatformName member to a virtual methodPatrick Gansterer2010-08-2410-16/+19
| | | | | |
* | | | | | Merge topic 'intra-component-dependencies'Brad King2010-08-317-60/+162
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adb58d5 Honor strong intra-component target dependencies 681cf01 Distinguish "strong" and "weak" target dependency edges 7be2617 Split notion of node lists and edge lists
| * | | | | | Honor strong intra-component target dependenciesBrad King2010-08-252-24/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Strong dependencies (created by add_dependencies) must be honored when linearizing a strongly-connected component of the target dependency graph. The initial graph edges have strong/weak labels and can contain cycles that do not consist exclusively of strong edges. The final graph never contains cycles so all edges can be strong.
| * | | | | | Distinguish "strong" and "weak" target dependency edgesBrad King2010-08-254-13/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Utility dependencies are "strong" because they must be enforced to generate a working build. Link dependencies are "weak" because they can be broken in the case of a static library cycle.
| * | | | | | Split notion of node lists and edge listsBrad King2010-08-257-24/+28
| | | | | | |
* | | | | | | Merge topic 'target-dependencies-const'Brad King2010-08-313-4/+4
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | 95b3bb5 Restore GetTargetDirectDepends const return
| * | | | | | Restore GetTargetDirectDepends const returnBrad King2010-08-253-4/+4
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | The returned set should never be modified. Restore 'const' correctness unnecessarily removed by commit 6903d2df (remove const, 2008-01-30).
* | | | | | Merge topic 'FindPackageLogVersion'Brad King2010-08-311-0/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 88e6447 Add macro ADD_FEATURE_INFO() and improve docs. b353524 Improve wording of the documentation. 6fc88b2 Improve documentation. 3333878 Log the required package version and major improvement to FeatureSummary
| * | | | | | Log the required package version and major improvement to FeatureSummaryAlex Neundorf2010-08-241-0/+14
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | find_package() now also stores the required version automatically, so it can be used by FeatureSummary.cmake. This was one of the requested features for setting up nightly builds for KDE, since with this functionality it will be possible to write a file at the end of each project which lists all required packages and their versions. This file could then be compared for equality with an older one and if something has changed the build maintainer can be emailed. In FeatureSummary.cmake there is now a new function feature_summary(), which also allows to print the log to a file or into a variable. It also allows to specify whether to append to a file or to write a new one, and what information to log. Docs are still missing. Alex
* | | | | | Merge topic 'partial-fix-10743'Brad King2010-08-311-1/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e62ac0 Improve documentation of OPTION command.
| * | | | | | Improve documentation of OPTION command.David Cole2010-08-251-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Point via see also phrasing to the CMakeDependentOption module.
* | | | | | | Merge topic 'CPackArchiveGenerator-ComponentSupport'Brad King2010-08-318-201/+284
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a986daf CPack fix broken compilation for CygwinSource generator 873e99a CPackArchiveGenerator improve usability and robustness 654683a CPackArchiveGenerator add component supports 36a550a CPackArchiveGenerator use cmArchiveWrite wrapper
| * | | | | | | CPack fix broken compilation for CygwinSource generatorEric NOULARD2010-08-251-1/+1
| | | | | | | |
| * | | | | | | CPackArchiveGenerator improve usability and robustnessEric NOULARD2010-08-241-2/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle the "no group defined" case Implement the idea from Rolf Eike Beer to have a single var CPACK_COMPONENTS_GROUPING with several values
| * | | | | | | CPackArchiveGenerator add component supportsEric NOULARD2010-08-243-23/+223
| | | | | | | |
| * | | | | | | CPackArchiveGenerator use cmArchiveWrite wrapperEric NOULARD2010-08-246-208/+47
| | |/ / / / / | |/| | | | |
* | | | | | | Merge topic 'CPack-FixDESTDIR-Issue7000'Brad King2010-08-316-5/+76
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3178767 Merge 'CPack-FixDESTDIR-Issue7000' from github.com:TheErk/CMake 6a521f8 CPack Enable better handling of absolute installed files 40dc97d CPack Backward-compatibly enforce DESTDIR for DEB and RPM