summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ctest_memcheck: Add support for memory and leak sanitizer.Bill Hoffman2014-07-167-22/+213
| | | | | | This adds support for memory and leak sanitizers. This is built into clang and gcc 4.8 and new compilers. It is activated with a -f switch during compile.
* Merge topic 'target-legacy-depends-only-for-vs6'Brad King2014-07-156-66/+90
|\ | | | | | | | | | | | | | | 8a205b98 cmTarget: Compile old-style link dependencies only for VS 6 d57be904 cmTarget: Run old-style link dependencies only for VS 6 b3b44d13 cmTarget: Rename old-style link dependencies code as "ForVS6" 80cb12bb export_library_dependencies: Use original link libraries internally
| * cmTarget: Compile old-style link dependencies only for VS 6Brad King2014-07-143-3/+20
| | | | | | | | | | Compile all the "ForVS6" cmTarget members only on Windows. No other platforms support the VS 6 generator.
| * cmTarget: Run old-style link dependencies only for VS 6Brad King2014-07-143-2/+10
| | | | | | | | | | Invoke it at runtime only with the VS 6 generator. No other generators need it.
| * cmTarget: Rename old-style link dependencies code as "ForVS6"Brad King2014-07-143-59/+60
| | | | | | | | | | | | The old link dependency analysis is now needed only for the VS 6 generator code delimited by CM_USE_OLD_VS6 to support project-provided project templates. Rename the related cmTarget members to be "ForVS6".
| * export_library_dependencies: Use original link libraries internallyBrad King2014-07-141-6/+4
| | | | | | | | | | | | This command was using the cmTarget::GetLinkLibraries method with a comment explaining how execution order gives it the dependencies before analysis. Just use cmTarget::GetOriginalLinkLibraries instead.
* | Merge topic 'FindCurses-overhaul'Brad King2014-07-151-79/+98
|\ \ | | | | | | | | | | | | 6c8364e6 FindCurses: Overhaul Curses and NCurses search logic (#15011)
| * | FindCurses: Overhaul Curses and NCurses search logic (#15011)Brad King2014-07-141-79/+98
| |/ | | | | | | | | | | | | | | | | | | Produce a more consistent result by finding only a single include directory and reporting which headers may be included from it. The previous search for each header separately might find pieces from separate and incompatible packages. While at it, provide the CURSES_INCLUDE_DIRS result variable to be consistent with other modules.
* | Merge topic 'dev/ison-isoff-performance'Brad King2014-07-151-6/+36
|\ \ | | | | | | | | | | | | | | | 43a8c552 SystemTools: Use a set in Is{On,Off} 9270aa9a IsOff: Use the length for the string construction
| * | SystemTools: Use a set in Is{On,Off}Ben Boeckel2014-07-081-6/+35
| | | | | | | | | | | | Also check before calling toupper() umpteen million times.
| * | IsOff: Use the length for the string constructionBen Boeckel2014-07-081-2/+3
| | | | | | | | | | | | | | | No need to waste the calculation and force the string to call strlen again.
* | | Merge topic 'dev/fix-cmake-rule-property'Brad King2014-07-151-1/+1
|\ \ \ | | | | | | | | | | | | | | | | 4b139169 cmMakefile: fix __CMAKE_RULE property setting
| * | | cmMakefile: fix __CMAKE_RULE property settingBen Boeckel2014-07-141-1/+1
| | |/ | |/| | | | | | | It got put into the condition by mistake.
* | | Merge topic 'FindImageMagick-pkgconfig'Brad King2014-07-151-0/+10
|\ \ \ | | | | | | | | | | | | | | | | 90245fe8 FindImageMagick: Use pkgconfig hints if available (#14012)
| * | | FindImageMagick: Use pkgconfig hints if available (#14012)Rex Dieter2014-07-141-0/+10
| |/ / | | | | | | | | | Tested-by: bastien ROUCARIES <roucaries.bastien@gmail.com>
* | | Merge topic 'doc-package-target-import-once'Brad King2014-07-151-11/+4
|\ \ \ | | | | | | | | | | | | | | | | 0fee3f47 Revert "Help: Update cmake-packages.7 examples to import targets only once"
| * | | Revert "Help: Update cmake-packages.7 examples to import targets only once"Brad King2014-07-151-11/+4
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit cfab942e5ff8463f8053564e68179da110280b43. Since commit v2.8.11~362^2 (Generate an early-return guard in target Export files, 2012-11-30) an external include guard is not needed.
* | | | CMake Nightly Date StampKitware Robot2014-07-151-1/+1
| | | |
* | | | Merge branch 'release'Brad King2014-07-140-0/+0
|\ \ \ \ | |_|/ / |/| | |
| * | | Merge branch 'wince-fix-dll-linking' into releaseBrad King2014-07-101-4/+6
| |\ \ \
| * \ \ \ Merge branch 'install-cfbundle-directory' into releaseBrad King2014-07-101-0/+14
| |\ \ \ \
| * \ \ \ \ Merge branch 'CMakeExpandImportedTargets-CMP0045' into releaseBrad King2014-07-071-2/+10
| |\ \ \ \ \
* | \ \ \ \ \ Merge topic 'FindCurses-blank-at-eof'Brad King2014-07-141-1/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ccf2fca1 FindCurses: Remove blank line at end of file
| * | | | | | | FindCurses: Remove blank line at end of fileBrad King2014-07-141-1/+0
| | | | | | | |
* | | | | | | | Merge topic 'doc-genex-id-values'Brad King2014-07-141-1/+6
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5690a963 Help: Link to variables corresponding to id and version expressions (#15012)
| * | | | | | | | Help: Link to variables corresponding to id and version expressions (#15012)Brad King2014-07-141-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the cmake-generator-expressions(7) manual, link to the variables that correspond to the PLATFORM_ID, C_COMPILER_ID, CXX_COMPILER_ID, C_COMPILER_VERSION, and CXX_COMPILER_VERSION generator expressions.
* | | | | | | | | Merge topic 'refactor-link-internals'Brad King2014-07-141-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f45ede61 cmTarget: Fix CMP0022 OLD breakage from recent refactoring
| * | | | | | | | | cmTarget: Fix CMP0022 OLD breakage from recent refactoringBrad King2014-07-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 7b0834e9 (cmTarget: Refactor internal LinkImplementation map, 2014-06-19) cmTarget::GetLinkImplementationLibrariesInternal was changed accidentally to pass "this" to ComputeLinkImplementation instead of "head". Change it back.
* | | | | | | | | | Merge topic 'vs-RC-flags'Brad King2014-07-147-0/+99
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5d873846 VS: Fix handling of non-preprocessor flags in CMAKE_RC_FLAGS
| * | | | | | | | | | VS: Fix handling of non-preprocessor flags in CMAKE_RC_FLAGSMartin Mitas2014-07-107-0/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach the VS >= 10 generator to honor flags other than -I and -D in the CMAKE_RC_FLAGS[_<CONFIG>] variable. Place them within the ResourceCompile .vcxproj element under AdditionalOptions. Also add a rudimentary flag map to map '-n' to 'NullTerminateStrings'.
* | | | | | | | | | | Merge topic 'wince-fix-dll-linking'Brad King2014-07-141-4/+6
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7e1283e4 MSVC: Fix linking of DLLs on WinCE (#15013)
| * | | | | | | | | | MSVC: Fix linking of DLLs on WinCE (#15013)Brad King2014-07-101-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On WinCE we must link both shared libraries and executables with the /subsystem:windowsce flag. Teach Platform/Windows-MSVC to pass it to the linker in both cases. Suggested-by: Gunnar Roth <gunnar.roth@gmx.de>
* | | | | | | | | | | Merge topic 'install-cfbundle-directory'Brad King2014-07-141-0/+14
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a3ac67cc OS X: Install CFBundles as complete directories
| * | | | | | | | | | OS X: Install CFBundles as complete directoriesTim Blechmann2014-07-101-0/+14
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Install CFBundles as directories just like frameworks and application bundles.
* | | | | | | | | | Merge topic 'interface-sources-target-objects'Brad King2014-07-148-4/+31
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | affe9d56 Allow INTERFACE_SOURCES to specify $<TARGET_OBJECTS> (#14970)
| * | | | | | | | | | Allow INTERFACE_SOURCES to specify $<TARGET_OBJECTS> (#14970)Brad King2014-07-148-4/+31
| | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix cmTarget::GetSourceFiles to set EvaluateForBuildsystem on the $<TARGET_PROPERTY:...,INTERFACE_SOURCES> generator expression so that the $<TARGET_OBJECTS> generator expression is allowed within an INTERFACE_SOURCES value. Extend the InterfaceLibrary test to cover this case. Extend the RunCMake.TargetObjects test to cover failure of $<TARGET_OBJECTS> when used through $<TARGET_PROPERTY:...,INTERFACE_SOURCES> in a non-buildsystem context.
* | | | | | | | | | Merge topic 'doc-package-target-import-once'Brad King2014-07-141-4/+11
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | cfab942e Help: Update cmake-packages.7 examples to import targets only once
| * | | | | | | | | Help: Update cmake-packages.7 examples to import targets only onceBrad King2014-07-091-4/+11
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Package configuration files should load their targets files at most once in a given scope. Update our ClimbingStats example to show how to do this.
* | | | | | | | | Merge topic 'build-KWIML-always'Brad King2014-07-141-6/+5
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | 38d3fe07 Tests: Build and test KWIML even when testing an external CMake
| * | | | | | | | Tests: Build and test KWIML even when testing an external CMakeBrad King2014-07-071-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CMake_TEST_EXTERNAL_CMAKE option added by commit 9608ef6f (Tests: Optionally configure tests exclusively, 2014-03-03) is intended to allow one to run the CMake test suite with a compiler that may not be supported for hosting the build of CMake itself. However, we currently use the CMake test infrastructure to test KWIML everywhere that CMake supports. In order to continue testing KWIML even in places that CMake itself does not build, include it even when testing an external CMake.
* | | | | | | | | CMake Nightly Date StampKitware Robot2014-07-141-1/+1
| | | | | | | | |
* | | | | | | | | CMake Nightly Date StampKitware Robot2014-07-131-1/+1
| | | | | | | | |
* | | | | | | | | CMake Nightly Date StampKitware Robot2014-07-121-1/+1
| | | | | | | | |
* | | | | | | | | CMake Nightly Date StampKitware Robot2014-07-111-1/+1
| |_|_|_|/ / / / |/| | | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2014-07-101-1/+1
| |/ / / / / / |/| | | | | |
* | | | | | | Merge topic 'thread-sanitizer'Brad King2014-07-0910-155/+415
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7c80ce6f Help: Add notes for topic 'thread-sanitizer' 49948f72 ctest_memcheck: Add support for ThreadSanitizer
| * | | | | | | Help: Add notes for topic 'thread-sanitizer'Brad King2014-07-091-0/+5
| | | | | | | |
| * | | | | | | ctest_memcheck: Add support for ThreadSanitizerBill Hoffman2014-07-099-155/+410
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds support for ThreadSanitizer to ctest. ThreadSanitizer is part of the clang compiler and also gcc 4.8 and later. You have to compile the code with special flags. Then your code gets the the ThreadSanitizer ability built into it. To pass options to the ThreadSanitizer you use an environment variable. This commit teaches ctest to parse the output from ThreadSanitizer and send it to CDash.
* | | | | | | | Merge topic 'dev/custom-target-performance'Brad King2014-07-093-44/+62
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6208c285 cmMakefile: Defer dependency calculations dc2e26df cmMakefile: Avoid excess source files d2803fba cmMakefile: Add a CreateSource method
| * | | | | | | | cmMakefile: Defer dependency calculationsBen Boeckel2014-07-081-7/+7
| | | | | | | | |