summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'upstream-kwsys' into update-kwsysBrad King2013-10-083-13/+5
|
* Merge topic 'Add-coverage.py-Coverage'Brad King2013-10-085-0/+200
|\ | | | | | | | | d0ec3a0 Adding support for the Python coverage.py tool.
| * Adding support for the Python coverage.py tool.Patrick Reynolds2013-10-085-0/+200
| | | | | | | | | | | | This assumes that coverage.py has been run in such a way to produce its standard XML output. This uses the Cobertura schema and should be somewhat generalizable.
* | Merge topic 'ctest_rerun_failed'Brad King2013-10-084-2/+162
|\ \ | | | | | | | | | | | | eb2decc ctest: Add --rerun-failed option
| * | ctest: Add --rerun-failed optionZack Galbreath2013-10-084-2/+162
| | | | | | | | | | | | | | | | | | | | | | | | Add a new command line argument to ctest. This allows users to rerun tests that failed during the previous call to ctest. This is accomplished by analyzing the most recently modified file named "^LastTestsFailed*" in the Testing/Temporary subdirectory of the project's binary directory.
* | | Merge topic 'clang-warnings'Brad King2013-10-0811-28/+23
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | af0051f curl, bzip2: Suppress warnings by setting initial value cb4ec60 cmDocumentation: Fix a few doxygen comment errors d915819 cm*Lexer: Populate empty doxygen @param comment 97124f9 cmTarget: Properly escape @ char in doxygen comments 8e96353 Fix warnings about \brief usage d993032 cmGraphVizWriter: Add extra space in comment to suppress warning 6cea3ee cmNewLineStyle: Remove useless semi-colon 7e7a1c0 curl: Fix typo in header include guard
| * | | cmDocumentation: Fix a few doxygen comment errorsSean McBride2013-10-081-7/+6
| | | | | | | | | | | | | | | | Warned by clang -Wdocumentation
| * | | cm*Lexer: Populate empty doxygen @param commentSean McBride2013-10-084-8/+8
| | | | | | | | | | | | | | | | | | | | And in one case fixed wrong param name. Warned by clang -Wdocumentation.
| * | | cmTarget: Properly escape @ char in doxygen commentsSean McBride2013-10-081-3/+3
| | | | | | | | | | | | | | | | Found by clang's -Wdocumentation.
| * | | Fix warnings about \brief usageSean McBride2013-10-083-7/+3
| | | | | | | | | | | | | | | | | | | | A doxygen \brief is ended with a newline, so remove a newline right after \brief to fix clang -Wdocumentation warning.
| * | | cmGraphVizWriter: Add extra space in comment to suppress warningSean McBride2013-10-081-2/+2
| | | | | | | | | | | | | | | | Clang's -Wdocumentation thought it was malformed doxygen.
| * | | cmNewLineStyle: Remove useless semi-colonSean McBride2013-10-081-1/+1
| | | | | | | | | | | | | | | | Warned by clang.
* | | | CMake Nightly Date StampKitware Robot2013-10-081-1/+1
| | | |
* | | | Merge topic 'split-cmake-E'Brad King2013-10-076-1385/+1431
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | c04995b cmake: Split -E command implementation into separate source file
| * | | | cmake: Split -E command implementation into separate source fileBrad King2013-10-036-1385/+1431
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the cmake::ExecuteCMakeCommand static method and all the static methods it calls out of the 'cmake' class to a separate 'cmcmd' class. Build the latter as part of the main cmake executable with cmakemain.cxx and not in CMakeLib. Drop unused header includes from "cmake.cxx". By moving this implementation out of cmake.cxx we avoid carrying it around in all the executables that use class 'cmake'. It is needed only for the main "cmake -E" functionality.
* | | | | Merge topic 'IMPORTED-target-SYSTEM-includes'Brad King2013-10-072-1/+39
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a63fcbc Always consider includes from IMPORTED targets to be SYSTEM.
| * | | | | Always consider includes from IMPORTED targets to be SYSTEM.Stephen Kelly2013-09-242-1/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce a target property to control this behavior variable to set the default value for the target property. This does not affect try_compile runs.
* | | | | | Merge topic 'private-link-depends-are-package-private'Brad King2013-10-071-1/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0ad2a1c Export: Never treat private link libraries as public package dependencies.
| * | | | | | Export: Never treat private link libraries as public package dependencies.Stephen Kelly2013-09-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Multiple libraries in a single buildsystem can be exported to multiple export-sets. If a library from one export set depends on a library from another export set, the export logic generates a check in the targets file to verify that the target in the other export set is found. That check is executed at downstream-find_package-time. However, a target may depend privately on a target in another export set. In that case, the depend used to also be listed in the required targets in the targets file. Change the export logic to ignore the private link entries instead.
* | | | | | | Merge topic 'fixDocumentationComment'Brad King2013-10-071-4/+5
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e507bf2 CPack: Fix clang -Wdocumentation warnings
| * | | | | | | CPack: Fix clang -Wdocumentation warningsEric NOULARD2013-09-241-4/+5
| |/ / / / / /
* | | | | | | Merge topic 'add_cache_options_to_ccmake'Brad King2013-10-074-3/+168
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fadffab ccmake: Teach dialog to support cache STRINGS property
| * | | | | | | ccmake: Teach dialog to support cache STRINGS propertyBill Hoffman2013-10-074-3/+168
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the ability to ccmake of cycling through cache options. This uses the STRINGS property of the cache entry. The enter key will cycle forward, and the right and left arrows will go up and down in the list.
* | | | | | | Merge topic 'generate-modern-style'Brad King2013-10-0715-135/+136
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 027a020 Merge branch 'test-property-genex' into generate-modern-style 33055c4 Generate modern-style cmake code.
| * \ \ \ \ \ \ Merge branch 'test-property-genex' into generate-modern-styleBrad King2013-09-203-24/+38
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve conflict in Source/cmTestGenerator.cxx by taking "their" side (test-property-genex). It already accounts for the lower-case change in "our" side (generate-modern-style).
| * | | | | | | | Generate modern-style cmake code.Stephen Kelly2013-08-2215-136/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The commits 9db31162 (Remove CMake-language block-end command arguments, 2012-08-13) and 77543bde (Convert CMake-language commands to lower case, 2012-08-13) changed most cmake code to use lowercase commands and no parameters in termination commands. However, those changes excluded cmake code generated in c++ by cmake. Make a similar style change to code generated by cmake.
* | | | | | | | | Merge topic 'test-property-genex'Brad King2013-10-073-24/+38
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6a47c37 add_test: Mention generator expressions in old-style add_test docs d331292 cmTestGenerator: Evaluate generator expressions in test properties 6fe5c4a cmTestGenerator: Separate test properties for each configuration
| * | | | | | | | add_test: Mention generator expressions in old-style add_test docsBen Boeckel2013-09-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old-style add_test() call does not support generator expressions at all. This also applies to the properties for the test, but it is not mentioned at all.
| * | | | | | | | cmTestGenerator: Evaluate generator expressions in test propertiesBen Boeckel2013-09-202-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is useful for cases like: add_test(NAME mytest COMMAND mydriver $<TARGET_FILE:myexe>) set_tests_properties(mytest PROPERTIES REQUIRED_FILES "$<TARGET_FILE:myexe>" WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/$<CONFIGURATION>" ) In this example we require the actual test executable to exist to run the test in addition to the test driver at argv[0]. Also the $<CONFIGURATION> expression improves over \${CTEST_CONFIGURATION_TYPE} because the latter is not normalized for case-sensitive filesystems.
| * | | | | | | | cmTestGenerator: Separate test properties for each configurationBrad King2013-09-201-22/+33
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move property generation from GenerateScriptConfigs to separate copies in GenerateOldStyle and GenerateScriptForConfig. This causes the per-config tests generated for the add_test(NAME) signature to each get their own test properties. This will allow us to later change the property values based on the test configuration. While at it, generate lower-case CMake code (e.g. set_tests_properties). Inspired-by: Ben Boeckel <mathstuf@gmail.com>
* | | | | | | | Merge topic 'doc-add_dependencies-direction'Brad King2013-10-071-6/+6
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1bdac7d add_dependencies: Clarify direction of dependency in docs (#14424)
| * | | | | | | | add_dependencies: Clarify direction of dependency in docs (#14424)Brad King2013-09-191-6/+6
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | State explicitly that the dependencies will build before the target. Drop wording that may imply the opposite. Suggested-by: Rob Stewart <robert.stewart@sig.com>
* | | | | | | | Merge topic 'cmListFileLexer-fix-leak-on-error'Brad King2013-10-072-0/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ad3d5c5 cmListFileLexer: Fix leak on error before EOF
| * | | | | | | | cmListFileLexer: Fix leak on error before EOFBrad King2013-09-172-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach cmListFileLexerDestroy to call cmListFileLexerSetToken with a NULL token to free the token string buffer. Without this, if an error occurs before the token cleanup happens when EOF is reached, then the token string buffer may leak.
* | | | | | | | | Merge topic 'cleanup-properties'Brad King2013-10-074-16/+5
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b78bc33 Cleanup some variable documentation names bbfff52 Remove redundant cmake::GetIsPropertyDefined method
| * | | | | | | | | Cleanup some variable documentation namesBrad King2013-09-171-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove trailing whitespace after property names. Remove duplicate CMAKE_<LANG>_LINK_EXECUTABLE definition. Rename "[Project name]" placeholder to "<PROJECT-NAME>".
| * | | | | | | | | Remove redundant cmake::GetIsPropertyDefined methodBrad King2013-09-173-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We already have cmake::IsPropertyDefined for the same reason.
* | | | | | | | | | Merge topic 'mark_as_advanced'Brad King2013-10-071-1/+1
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8cff5e4 mark_as_advanced: improve documentation syntax
| * | | | | | | | | | mark_as_advanced: improve documentation syntaxRolf Eike Beer2013-09-171-1/+1
| | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only one argument is required. Also avoid using the same variable name twice in the input list and follow the convention used elsewhere for optional arguments.
* | | | | | | | | | Merge topic 'minor_cleanup'Brad King2013-10-074-6/+5
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6931999 VS6: Add some delimiting between error message and content. d1a5f12 cmTarget: Fix typo in comment. 961c0ba Fix comments to match the code. 7cca50c Remove unused include.
| * | | | | | | | | | VS6: Add some delimiting between error message and content.Stephen Kelly2013-09-121-2/+2
| | | | | | | | | | |
| * | | | | | | | | | cmTarget: Fix typo in comment.Stephen Kelly2013-09-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compatiblity -> compatibility
| * | | | | | | | | | Fix comments to match the code.Stephen Kelly2013-09-111-2/+2
| | | | | | | | | | |
| * | | | | | | | | | Remove unused include.Stephen Kelly2013-09-111-1/+0
| | | | | | | | | | |
* | | | | | | | | | | Merge topic 'cmake-gui-window-settings'Brad King2013-10-071-5/+4
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 81ea363 cmake-gui: save and restore the geometry and window state between sessions.
| * | | | | | | | | | | cmake-gui: save and restore the geometry and window state between sessions.Clinton Stimpson2013-09-101-5/+4
| | | | | | | | | | | |
* | | | | | | | | | | | Merge topic 'authorative-LINK_LIBRARIES'Brad King2013-10-071-18/+46
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f01dc72 Use one authorative source of the LINK_LIBRARIES property.
| * | | | | | | | | | | | Use one authorative source of the LINK_LIBRARIES property.Stephen Kelly2013-09-091-18/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We populate and maintain a vector of structs to keep track of backtraces already, so no need to populate the Properties container additionally. For completeness, it is necessary to remove the condition for populating the vector for only valid library names and generator expressions. That condition is now determined when evaluating the generator expressions.
* | | | | | | | | | | | | Merge topic 'rename-genex-method'Brad King2013-10-072-4/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cfae430 Genex: Rename cmGeneratorExpression::NeedsParsing to NeedsEvaluation
| * | | | | | | | | | | | | Genex: Rename cmGeneratorExpression::NeedsParsing to NeedsEvaluationStephen Kelly2013-08-292-4/+4
| | | | | | | | | | | | | |