summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CPackWIX: refactor and cleanupNils Gladitz2014-02-2618-534/+846
| | | | | Extract addtional classes and functions which are getting unsightly large. Use some of the coding conventions more consistently.
* CMake Nightly Date StampKitware Robot2014-02-261-1/+1
|
* Merge branch 'release'Brad King2014-02-250-0/+0
|\
| * Merge branch 'fix-find_dependency-macro' into releaseBrad King2014-02-241-14/+19
| |\
| * \ Merge branch 'install-FILES-genex' into releaseBrad King2014-02-2412-178/+288
| |\ \
| * \ \ Merge branch 'doc-add_test-cleanup' into releaseBrad King2014-02-201-48/+38
| |\ \ \
* | \ \ \ Merge topic 'FindHg-add-WC_INFO'Brad King2014-02-251-1/+36
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bcefbe73 FindHg: Add Hg_WC_INFO macro 8993df6c FindHg: Search for TortoiseHg
| * | | | | FindHg: Add Hg_WC_INFO macroMatthäus G. Chajdas2014-02-251-1/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a macro to extract information from a Hg work tree much like the Subversion_WC_INFO macro does for Subversion work tree.
| * | | | | FindHg: Search for TortoiseHgMatthäus G. Chajdas2014-02-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Use the TortoiseHg registry entry as a search path.
* | | | | | Merge topic 'dev/faster-parsers'Brad King2014-02-254-71/+69
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 048be205 Help: Add release notes for the 'faster-parsers' topic 7c565d2f cmGeneratorExpression: Improve parsing in StripEmptyListElements 68eb1757 cmGeneratorExpressionLexer: Use a switch statement to parse 67253133 ExpandListArguments: Optimize the parser
| * | | | | | Help: Add release notes for the 'faster-parsers' topicBen Boeckel2014-02-251-0/+6
| | | | | | |
| * | | | | | cmGeneratorExpression: Improve parsing in StripEmptyListElementsBen Boeckel2014-02-211-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The char-by-char parsing causes lots of reallocations which shouldn't be necessary. To improve this, fast-path strings without a semicolon, reserve space in the result, and insert into the result in chunks.
| * | | | | | cmGeneratorExpressionLexer: Use a switch statement to parseBen Boeckel2014-02-211-35/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Optimize cmGeneratorExpressionLexer::Tokenize to use a switch statement. The many dereferences of the input pointer were expensive. Also remove excess pointer arithmetic.
| * | | | | | ExpandListArguments: Optimize the parserBen Boeckel2014-02-211-33/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Optimize cmSystemTools::ExpandListArguments so as not to build a string character-by-character. This avoids excess reallocations of the result string.
* | | | | | | Merge topic 'target-SOURCES-refactor'Brad King2014-02-2514-502/+782
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f9d5b1fd Handle Mac OSX source flags for individual files lazily. 64d39841 cmGeneratorTarget: Classify sources on demand, not up front. d3682d86 cmGeneratorTarget: Use a method to access the definition file. 5771f81d cmTarget: Add GetTransitiveTargetClosure method. a6dd4990 cmTarget: Create a temporary cmTarget in checkInterfacePropertyCompatibility b8b99cc1 cmTarget: Avoid computing languages when computing transitive targets. 01bca553 cmTarget: Move ComputeLinkInterface to the internal class. d93e1af2 cmTarget: Extract a ComputeLinkInterfaceLibraries method. 3bcb197c cmTarget: Re-arrange the ComputeLinkInterface method. 326d07d2 cmTarget: Extract a ComputeLinkImplementationLanguages method. 21e91350 cmTarget: Change GetTransitivePropertyLinkLibraries to output targets. f81eb49e cmTarget: Find source files on request. 84e5f5a0 cmTarget: Move SourceFileFlags to cmGeneratorTarget.
| * | | | | | | Handle Mac OSX source flags for individual files lazily.Stephen Kelly2014-02-241-26/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The actual list of files will become config dependent in a follow-up commit.
| * | | | | | | cmGeneratorTarget: Classify sources on demand, not up front.Stephen Kelly2014-02-243-126/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement a Visitor to hold the sequence of source file tests for populating outputs. Use VS 6 and 7 workaround from Brad King for lack of partial template specialization and function template specialization capabilities. This will make it possible to use context dependent generator expressions to determine the sources of a target.
| * | | | | | | cmGeneratorTarget: Use a method to access the definition file.Stephen Kelly2014-02-245-12/+20
| | | | | | | |
| * | | | | | | cmTarget: Add GetTransitiveTargetClosure method.Stephen Kelly2014-02-243-26/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace calls to GetLinkInformation with calls to a method to get only the target closure, not the link languages etc. The replaced calls are used while evaluating generator expressions only. This makes transitive generator expression evaluation independent from the languages of a target. In a follow-up topic, it will be possible to make the languages depend on generator expression evaluation, via evaluation of the SOURCES and INTERFACE_SOURCES target properties. Because the order of entries is not the same as the final link line, the order of debug output is different in the RunCMake.CompatibleInterface test, because the BOOL_PROP7 target property is evaluated first. Adjust the test to account for that new order.
| * | | | | | | cmTarget: Create a temporary cmTarget in checkInterfacePropertyCompatibilityStephen Kelly2014-02-241-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This simplifies further refactoring.
| * | | | | | | cmTarget: Avoid computing languages when computing transitive targets.Stephen Kelly2014-02-243-12/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For the OLD CMP0022 behavior, we need to treat the implementation as the interface when computing the interface libraries. Make it possible to do that without computing the link languages by adding a new GetLinkImplementationLibraries method. Extend the existing GetLinkImplementation method to populate the languages if the libraries have already been computed and cached. Change GetTransitivePropertyTargets to invoke GetLinkInterfaceLibraries instead of GetLinkInterface. This is key, as it is a method called by cmGeneratorExpressionEvaluator. Change the cmGeneratorExpressionEvaluator to invoke GetLinkImplementationLibraries instead of GetLinkImplementation.
| * | | | | | | cmTarget: Move ComputeLinkInterface to the internal class.Stephen Kelly2014-02-242-24/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a follow-up, this will use the OptionalLinkInterface in its API. That class is in the cmTargetInternals class.
| * | | | | | | cmTarget: Extract a ComputeLinkInterfaceLibraries method.Stephen Kelly2014-02-242-72/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When evaluating the SOURCES property, we will need to be able to access the link libraries without accessing the link languages, as the languages depend on the SOURCES.
| * | | | | | | cmTarget: Re-arrange the ComputeLinkInterface method.Stephen Kelly2014-02-241-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Arrange the logic so that the part which deals with libraries only is at the top. In a follow-up commit, this will be split into two methods. Ensure that the explanatory CMP0022 comment is only present in one location.
| * | | | | | | cmTarget: Extract a ComputeLinkImplementationLanguages method.Stephen Kelly2014-02-242-0/+7
| | | | | | | |
| * | | | | | | cmTarget: Change GetTransitivePropertyLinkLibraries to output targets.Stephen Kelly2014-02-244-42/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The callers already skip non-targets, so unify the target search. Change supporting functions to accept a container of targets instead of strings where possible.
| * | | | | | | cmTarget: Find source files on request.Stephen Kelly2014-02-244-51/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a follow-up, the list of sources will become dependent on the config, so check for existence in cmTarget::GetSourceFiles instead of up-front with cmGlobalGenerator::CheckTargets().
| * | | | | | | cmTarget: Move SourceFileFlags to cmGeneratorTarget.Stephen Kelly2014-02-247-168/+166
| | | | | | | |
* | | | | | | | Merge topic 'fix-find_dependency-macro'Brad King2014-02-251-13/+20
|\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2be6dbe4 find_dependency: Ensure that ARGV1 has valid local content a35ce723 find_dependency: Add namespacing for variables in the macro.
| * | | | | | | find_dependency: Ensure that ARGV1 has valid local contentStephen Kelly2014-02-241-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ARGV1 value could come from a wrapping context if find_dependency is called from a function.
| * | | | | | | find_dependency: Add namespacing for variables in the macro.Stephen Kelly2014-02-241-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid setting a variable called 'version' etc.
* | | | | | | | CMake Nightly Date StampKitware Robot2014-02-251-1/+1
| | | | | | | |
* | | | | | | | Merge topic 'variable-expansion-tests'Brad King2014-02-2425-0/+130
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a9bdef2d tests: Add variable expansion tests
| * | | | | | | | tests: Add variable expansion testsBen Boeckel2014-02-2125-0/+130
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are some corner cases in variable expansion which would be nice to capture before going and rewriting the variable expansion code. The majority of these are related to configuring files and strings with '@' in them in conjunction with @ONLY being specified. Another is testing for '(' usage inside of ENV variable references based on whether it is quoted or not.
* | | | | | | | Merge topic 'ExternalProject-BUILD_ALWAYS'Brad King2014-02-244-0/+65
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 73e5c6ae ExternalProject: Add option to always run the build step
| * | | | | | | | ExternalProject: Add option to always run the build stepBrad King2014-02-214-0/+65
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach ExternalProject_Add a new BUILD_ALWAYS option to skip using the build step stamp file and execute the step on every build. Extend the BuildDepends test with a case to cover this option.
* | | | | | | | Merge topic 'fix-find_dependency-macro'Brad King2014-02-241-3/+1
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | 5878c5d9 Always set version variable of find_dependency macro
| * | | | | | | Always set version variable of find_dependency macroAlex Merry2014-02-231-3/+1
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If there is no ARGV1, that is fine; version will be made empty, and no version will be passed to find_package(). This is relevant when find_dependency is invoked multiple times, sometimes with a version specified and sometimes without. find_dependency(dep1 3.4) find_dependency(dep2) # version still set to 3.4.
* | | | | | | Merge topic 'install-FILES-genex'Brad King2014-02-2412-178/+288
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6e89c8a5 install: Support generator expressions in FILES and PROGRAMS mode f11f7b34 cmInstallFilesGenerator: Add reference to calling cmMakefile e190236c Help: Format install() command documentation
| * | | | | | install: Support generator expressions in FILES and PROGRAMS modeBrad King2014-02-2112-7/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach the install(FILES) and install(PROGRAMS) commands to evaluate generator expressions in the list of files. Extend the ExportImport test to cover installation cases involving generator expressions.
| * | | | | | cmInstallFilesGenerator: Add reference to calling cmMakefileBrad King2014-02-215-10/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a Makefile member to the cmInstallFilesGenerator class and populate it on construction. This will be useful in a following change to evaluate generator expressions with proper context.
| * | | | | | Help: Format install() command documentationBrad King2014-02-211-161/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add inline markup and explicit markup blocks as appropriate.
* | | | | | | Merge topic 'doc-add_test-cleanup'Brad King2014-02-241-48/+38
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | 8afa5fe8 Help: Revise and format add_test() command documentation
| * | | | | | Help: Revise and format add_test() command documentationBrad King2014-02-201-48/+38
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Favor the add_test(NAME) signature and document the limitations of the plain signature.
* | | | | | CMake Nightly Date StampKitware Robot2014-02-241-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2014-02-231-1/+1
| |_|_|_|/ |/| | | |
* | | | | CMake Nightly Date StampKitware Robot2014-02-221-1/+1
| |_|/ / |/| | |
* | | | CMake Nightly Date StampKitware Robot2014-02-211-1/+1
| |_|/ |/| |
* | | CMake Nightly Date StampKitware Robot2014-02-201-1/+1
| | |
* | | Begin post-3.0 developmentBrad King2014-02-193-2/+11
| | |