summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Tests/RunCMake: Tell cmake not to report unused command-line optionsBrad King2014-02-271-0/+1
| | | | | | | | | On OS X we pass -DCMAKE_POLICY_DEFAULT_CMP0025=NEW to all tests. Once tests start using cmake_minimum_required(VERSION 3.0) then CMake will warn that CMAKE_POLICY_DEFAULT_CMP0025 is unused. These warnings are not part of the expected test output and can cause such tests to fail. Pass --no-warn-unused-cli to each test cmake invocation to tell it not to produce these warnings.
* CMake Nightly Date StampKitware Robot2014-02-271-1/+1
|
* Merge branch 'release'Brad King2014-02-260-0/+0
|\
| * Merge branch 'fix-find_dependency-macro' into releasev3.0.0-rc1Brad King2014-02-261-1/+2
| |\
| * \ Merge branch 'INTERFACE-property-docs' into releaseBrad King2014-02-261-0/+10
| |\ \
| * \ \ Merge branch 'fix-showinclude-warnings' into releaseBrad King2014-02-262-2/+18
| |\ \ \
* | \ \ \ Merge topic 'fix-find_dependency-macro'Brad King2014-02-261-1/+2
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | 3d8f7102 find_dependency: unset cmake_fd_version variable at end of macro 85d0f8de find_dependency: use correct version variable name
| * | | | find_dependency: unset cmake_fd_version variable at end of macroAlex Merry2014-02-261-0/+1
| | | | | | | | | | | | | | | | | | | | This matches the other macro variables.
| * | | | find_dependency: use correct version variable nameAlex Merry2014-02-261-1/+1
| | | | | | | | | | | | | | | | | | | | The code set cmake_fd_version, but used ${version}.
* | | | | Merge topic 'msvc-compiler-pdb-files'Brad King2014-02-260-0/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 0ea3aee8 MSVC: Add properties to configure compiler PDB files (#14763)
| * | | | | MSVC: Add properties to configure compiler PDB files (#14763)Brad King2014-02-2627-11/+262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v2.8.12~437^2~2 (VS: Separate compiler and linker PDB files 2013-04-05) we no longer set /Fd with the PDB_NAME or PDB_OUTPUT_DIRECTORY properties. Those properties now exclusively handle linker PDB files. Since STATIC libraries do not link their compiler PDB file becomes more important. Add new target properties "COMPILE_PDB_NAME[_<CONFIG>]" and "COMPILE_PDB_OUTPUT_DIRECTORY[_<CONFIG>]" to specify the compiler PDB file location and pass the value to the MSVC /Fd option.
* | | | | | Merge topic 'INTERFACE-property-docs'Brad King2014-02-261-0/+10
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | ad75afbf Help: List the whitelist of properties for INTERFACE libraries.
| * | | | | Help: List the whitelist of properties for INTERFACE libraries.Stephen Kelly2014-02-261-0/+10
| | |_|/ / | |/| | |
* | | | | Merge topic 'release-doc-tarball'Brad King2014-02-262-5/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b3d85113 Utilities/Release: Copy pre-built docs tarball to unique name
| * | | | | Utilities/Release: Copy pre-built docs tarball to unique nameBrad King2014-02-252-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Name the pre-built docs tarball on the remote machine according to the release script name so that multiple tarballs going to a single remote machine do not clobber one another.
* | | | | | Merge topic 'release-upload-version'Brad King2014-02-261-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4c0f8dfb Utilities/Release: Update default binary distribution dir to v3.0
| * | | | | | Utilities/Release: Update default binary distribution dir to v3.0Brad King2014-02-251-1/+1
| |/ / / / /
* | | | | | Merge topic 'fix-showinclude-warnings'Brad King2014-02-262-2/+18
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | 47702b8d CTest: exclude /showIncludes notes when scraping logs
| * | | | | CTest: exclude /showIncludes notes when scraping logsNils Gladitz2014-02-252-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | My last related commit e5e3f3d4 (CTest: filter /showIncludes output from ninja compile launcher, 2013-12-01) filtered /showIncludes messages from the generated xml output but they also need to be filtered in ScrapeLog(). Otherwise they are being detected as warnings when using compilers withs english diagnostics.
* | | | | | Merge topic 'msvc-compiler-pdb-files'Brad King2014-02-2627-33/+331
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fba51b09 MSVC: Add properties to configure compiler PDB files (#14762) 3737860a cmTarget: Add per-config compilation info 718a9532 cmTarget: Refactor ComputePDBOutputDir interface aae5184c Help: Refactor PDB_NAME and PDB_OUTPUT_DIRECTORY docs b4aac0ca Makefile: Fix per-config linker PDB output directory
| * | | | | | MSVC: Add properties to configure compiler PDB files (#14762)Brad King2014-02-2627-11/+262
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v2.8.12~437^2~2 (VS: Separate compiler and linker PDB files 2013-04-05) we no longer set /Fd with the PDB_NAME or PDB_OUTPUT_DIRECTORY properties. Those properties now exclusively handle linker PDB files. Since STATIC libraries do not link their compiler PDB file becomes more important. Add new target properties "COMPILE_PDB_NAME[_<CONFIG>]" and "COMPILE_PDB_OUTPUT_DIRECTORY[_<CONFIG>]" to specify the compiler PDB file location and pass the value to the MSVC /Fd option.
| * | | | | cmTarget: Add per-config compilation infoBrad King2014-02-242-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a cmTarget::CompileInfo struct to hold per-configuration information about the compilation settings in a target. This is different than cmTarget::OutputInfo because it applies to any targets that can compile sources even if they do not link or archive.
| * | | | | cmTarget: Refactor ComputePDBOutputDir interfaceBrad King2014-02-242-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a runtime parameter to specify the property name prefix. Update the call site to pass "PDB" to preserve the existing name for that call path.
| * | | | | Help: Refactor PDB_NAME and PDB_OUTPUT_DIRECTORY docsBrad King2014-02-245-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the note about VS 6 into the PDB_NOTE.txt common include file and include it from the per-config properties too. Also re-word the note to clarify the separate compiler and linker flags involved and state explicitly that compiler flags are not affected.
| * | | | | Makefile: Fix per-config linker PDB output directoryBrad King2014-02-243-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, now that all call sites of cmTarget::GetPDBName and cmTarget::GetPDBDirectory pass the configuration, make the argument non-optional.
* | | | | | Merge topic 'UseSWIG-avoid-extra-rebuilds'Brad King2014-02-261-3/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | f0111deb UseSWIG: Name extra generated files after module name (#10080)
| * | | | | | UseSWIG: Name extra generated files after module name (#10080)Julien Schueller2014-02-241-3/+4
| | | | | | |
* | | | | | | 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.