summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'fix-OSX-bundle-rpaths-and-Qt5'Brad King2014-10-106-61/+229
|\ | | | | | | | | | | | | | | | | | | | | 631fadea Help: Add notes for topic 'fix-OSX-bundle-rpaths-and-Qt5' 50e261dd OSX: Warn when attempting to change runtime paths on OS X 10.5 9b98fd52 cmake-gui: Make sure we bundle Qt5 Cocoa platform plugin 83a06bb4 BundleUtilities: Framework codesign Resources/Info.plist & Current f7df82ac BundleUtilities: Resolve & replace @rpath placeholders 14bc686f GetPrerequisites: Make sure dyld placeholders are prefixes 6c313797 BundleUtilities: Use find on UNIX for fast executable lookup
| * Help: Add notes for topic 'fix-OSX-bundle-rpaths-and-Qt5'Brad King2014-10-101-0/+6
| |
| * OSX: Warn when attempting to change runtime paths on OS X 10.5Clinton Stimpson2014-10-102-28/+55
| | | | | | | | | | | | | | | | | | | | Even though 10.5 supports @rpath, the support is not complete enough for CMake. For instance, install_name_tool doesn't support adding and removing rpaths. Also modifying BundleUtilities test to remove an undesirable cmake generated runtime path. The intent was to build with the install rpath as is done with the other cases in this test.
| * cmake-gui: Make sure we bundle Qt5 Cocoa platform pluginAdam Strzelecki2014-10-101-1/+27
| | | | | | | | Otherwise CMake.app bundle will not run when using Qt5.
| * BundleUtilities: Framework codesign Resources/Info.plist & CurrentAdam Strzelecki2014-10-101-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | We need to ensure copied framework has proper layout with Resources/Info.plist present next to versioned binary and Current symlink in Versions: https://developer.apple.com/library/mac/technotes/tn2206 https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html If Resources/ is not present we may try to copy Contents/Info.plist if present to embedded Resources/Info.plist. This is a case of Qt5 that has obsolete/invalid framework layout (see QTBUG-38511).
| * BundleUtilities: Resolve & replace @rpath placeholdersAdam Strzelecki2014-10-102-26/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is done by gathering LC_RPATH commands for main bundle executable and using it for @rpath lookup in dependent frameworks. All functions that need to carry rpaths to now take optional <rpaths> argument. This enabled apps using @rpath to be bundled correctly, which will be necessary for upcoming Qt 5.4 that will use @rpath for all frameworks. Check that install_name_tool has -delete_rpath before using it. Otherwise it will fail with Xcode 3.x on 10.5 which has no -delete_rpath option for install_name_tool command, that was first introduced in 10.6 SDK, even that 10.5 supports LC_RPATH and @rpath.
| * GetPrerequisites: Make sure dyld placeholders are prefixesAdam Strzelecki2014-10-101-3/+3
| | | | | | | | | | Mac OS X dyld placeholders should be always prefixes, otherwise this can lead to some undefined behavior.
| * BundleUtilities: Use find on UNIX for fast executable lookupAdam Strzelecki2014-10-101-1/+19
| | | | | | | | | | | | | | | | | | | | | | It makes whole executable process quicker on UNIX, especially for large bundles containing many files, since using find narrows results to only files having executable flags then all further tests follow. Since find ... -perm +0111 is not clearly POSIX compliant and some Linux versions refuse it, it is better to use longer but portable: find ... -perm \( -perm -0100 -o -perm -0010 -o -perm -0001 \)
* | CMake Nightly Date StampKitware Robot2014-10-101-1/+1
| |
* | Merge topic 'FindThreads_overhaul'Brad King2014-10-091-36/+78
|\ \ | | | | | | | | | | | | | | | | | | b7e5c5a2 FindThreads: introduce THREADS_PREFER_PTHREAD_FLAG (#14767) bcb0e387 FindThreads: introduce an imported target to link to 46368edd FindThreads: move checking of the -pthread compiler flag into a macro
| * | FindThreads: introduce THREADS_PREFER_PTHREAD_FLAG (#14767)Rolf Eike Beer2014-10-081-0/+18
| | |
| * | FindThreads: introduce an imported target to link toTimo Rothenpieler2014-10-081-0/+18
| | | | | | | | | | | | | | | | | | This not only holds the library, but can also hold compiler flags needed, e.g. the -pthread flag preferred by gcc on some platforms. There was no clean way to get that compiler flag from the module until now.
| * | FindThreads: move checking of the -pthread compiler flag into a macroRolf Eike Beer2014-10-061-36/+42
| | | | | | | | | | | | | | | | | | This allows a following commit to introduce a switch to prefer that check over searching for the explicit library names without breaking backward compatibility.
* | | Merge topic 'doc-drop-dart'Brad King2014-10-091-8/+5
|\ \ \ | | | | | | | | | | | | | | | | b8aa0cdf Help: Replace 'Dart' with 'CDash' in ctest.1 manual
| * | | Help: Replace 'Dart' with 'CDash' in ctest.1 manualBrad King2014-10-081-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | The modern dashboard server is CDash, not Dart, so update the manual to talk about CTest as a CDash client. Also drop documentation for a Dart2-specific option.
* | | | Merge topic 'ninja-phony-rules-only-in-build-tree'Brad King2014-10-091-6/+16
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | de8e534b Ninja: Limit custom command side-effects to build folder
| * | | | Ninja: Limit custom command side-effects to build folderBrad King2014-10-081-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit 7243c951 (Ninja: Don't limit custom cmd side-effects to build folder, 2014-06-27) because it causes every custom command dependency in the source tree to get a phony rule. For large projects these rules get too big for Ninja to handle efficiently. While the original change addressed a valid concern, it did not seem to occur regularly in practice because well-behaved projects generate their side-effects only in the build tree. Until we support explicit specification of side-effects (CMake issue #14963), we will have to use this as a middle-ground.
* | | | | CMake Nightly Date StampKitware Robot2014-10-091-1/+1
| | | | |
* | | | | Merge topic 'FPHSA_exact_version'Brad King2014-10-0825-7/+89
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ba907f7d FPHSA: fix when requested or found version is exactly 0 4f9bf446 FPHSA: when EXACT version match is requested only compare the components given
| * | | | | FPHSA: fix when requested or found version is exactly 0Rolf Eike Beer2014-10-075-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until now it was checked with "if(VAR)", which will be false in case "0" is the content of the variable.
| * | | | | FPHSA: when EXACT version match is requested only compare the components givenRolf Eike Beer2014-10-0722-4/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Given that you have a foobar that identifies itself as 1.2.3 from now on a find_package(foobar 1.2 EXACT) will succeed, as 1.2.3 will now be considered as being 1.2. Until now this was only the case for version 1.2.0.
* | | | | | Merge topic 'ctest-memcheck-sanitizers'Brad King2014-10-088-27/+161
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e0e75a72 Help: Add notes for topic 'ctest-memcheck-sanitizers' 7345a1f7 tests: Add a test for ctest_memcheck MemorySanitizer 0c6330da ctest_memcheck: Add support for MemorySanitizer msan 9ba8bf12 tests: add a test for ctest_memcheck UndefinedBehaviorSanitizer 816c100a ctest_memcheck: Add support for UndefinedBehaviorSanitizer ubsan b67ef537 ctest_memcheck: Order sanitizer type code consistently f48a2968 Tests: Organize CTestTestMemcheck inner test code
| * | | | | | Help: Add notes for topic 'ctest-memcheck-sanitizers'Brad King2014-10-072-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Consolidate earlier sanitizer notes.
| * | | | | | tests: Add a test for ctest_memcheck MemorySanitizerBill Hoffman2014-10-072-0/+44
| | | | | | |
| * | | | | | ctest_memcheck: Add support for MemorySanitizer msanBill Hoffman2014-10-073-1/+24
| | | | | | |
| * | | | | | tests: add a test for ctest_memcheck UndefinedBehaviorSanitizerBen Boeckel2014-10-072-0/+38
| | | | | | |
| * | | | | | ctest_memcheck: Add support for UndefinedBehaviorSanitizer ubsanBen Boeckel2014-10-073-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UBSan instruments a build and logs messages on any undefined behavior instances.
| * | | | | | ctest_memcheck: Order sanitizer type code consistentlyBrad King2014-10-072-24/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use alphabetic order everywhere we enumerate the sanitizer types.
| * | | | | | Tests: Organize CTestTestMemcheck inner test codeBrad King2014-10-071-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Update some whitespace and add comment dividers.
* | | | | | | Merge topic 'FindLATEX-cross-compile-ps2pdf14'Brad King2014-10-081-1/+1
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | 63262434 FindLATEX: Search for ps2pdf14 even on Windows (#15198)
| * | | | | | FindLATEX: Search for ps2pdf14 even on Windows (#15198)Brad King2014-10-071-1/+1
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | When cross-compiling from Linux to Windows the tool on the host does not have a .bat extension.
* | | | | | CMake Nightly Date StampKitware Robot2014-10-081-1/+1
| | | | | |
* | | | | | Merge topic 'ctest-memcheck-sanitizers'Brad King2014-10-0710-13/+40
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f25e431d tests: set sanitizer options properly f0661bf3 tests: fix copy/paste from tsan -> asan comments ca9cc25c ctest: add support for additional sanitizer options 0b9ffffc ctest: update documentation for CTEST_MEMORYCHECK_TYPE
| * | | | | tests: set sanitizer options properlyBen Boeckel2014-10-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Prior to this, these options were just being set in the environment.
| * | | | | tests: fix copy/paste from tsan -> asan commentsBen Boeckel2014-10-061-3/+2
| | | | | |
| * | | | | ctest: add support for additional sanitizer optionsBen Boeckel2014-10-036-5/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sanitizers receive options through their environment variable; support user-specified options here.
| * | | | | ctest: update documentation for CTEST_MEMORYCHECK_TYPEBen Boeckel2014-10-033-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The AddressSanitizer value was not documented. Also fix some typos.
* | | | | | Merge topic 'fix-ninja-rsp-var-duplication'Brad King2014-10-071-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 71da30ca Ninja: Fix variable duplication in RSP rules
| * | | | | | Ninja: Fix variable duplication in RSP rulesNils Gladitz2014-10-061-1/+1
| | |/ / / / | |/| | | | | | | | | | | | | | | | Stream clear() resets stream state but does not actually clear its content.
* | | | | | Merge topic 'FindBoost-CMP0054'Brad King2014-10-071-4/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | c9300464 FindBoost: Avoid if() quoted auto-dereference
| * | | | | | FindBoost: Avoid if() quoted auto-dereferenceNils Gladitz2014-10-061-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When testing CMAKE_CXX_COMPILER[_ID] values with if(MATCHES) or if(STREQUAL), do not explicitly dereference or quote the variable. We want if() to auto-dereference the variable and not its value.
* | | | | | | Merge topic 'cpack-ifw-updates'Brad King2014-10-075-81/+269
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ed9684a2 CPackIFW: Added support for multiple repositories f9f74874 CPackIFW: Search algorithm update
| * | | | | | | CPackIFW: Added support for multiple repositoriesKonstantin Podsvirov2014-10-055-28/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now user can add IFW specific repo with cpack_ifw_add_repository macro
| * | | | | | | CPackIFW: Search algorithm updateKonstantin Podsvirov2014-10-042-53/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Variables like CPACK_IFW_*_EXECUTABLE_FOUND now not needed
* | | | | | | | Merge topic 'encoding-fstream'Brad King2014-10-074-14/+15
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 42e39bb3 Fix a few more places to use cmsys::[io]fstream instead of std::fstream.
| * | | | | | | | Fix a few more places to use cmsys::[io]fstream instead of std::fstream.Clinton Stimpson2014-10-044-14/+15
| | | | | | | | |
* | | | | | | | | CMake Nightly Date StampKitware Robot2014-10-071-1/+1
| |_|_|/ / / / / |/| | | | | | |
* | | | | | | | Merge topic 'fix-cobertura-parsing'Brad King2014-10-061-0/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1c838add cmParseCoberturaCoverage: Initialize CurFileName to empty string
| * | | | | | | | cmParseCoberturaCoverage: Initialize CurFileName to empty stringJonathan Beezley2014-10-031-0/+1
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the file is not found in $CMAKE_SOURCE_DIR/<file path>, the CurFileName pointer remained set to the previous file. This caused the new file's coverage data to populate the into the wrong object giving incorrect results and occasionally resulting in a seg fault.
* | | | | | | | Merge topic 'wix-fix-root-dir-prop'Brad King2014-10-061-0/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fb009f00 CPackWiX: Work around RelativePath() returning an empty string for the root