summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Xcode: Inherit global settings in per-target WARNING_CFLAGS (#15224)Brad King2014-10-311-0/+1
| | | | | Allow projects to use CMAKE_CODE_ATTRIBUTE_WARNING_CFLAGS to add their own warning flags and have them used by the targets.
* CMake Nightly Date StampKitware Robot2014-10-141-1/+1
|
* Merge topic 'doc-3.1-relnotes'Brad King2014-10-1368-455/+382
|\ | | | | | | | | | | 856ee6be Help: Organize 3.1 release notes 52842820 Help: Consolidate 3.1 release notes
| * Help: Organize 3.1 release notesBrad King2014-10-101-181/+231
| | | | | | | | | | | | | | Add section headers similar to the 3.0 release notes and move each individual bullet into an appropriate section. Highlight the new VS generator capabilities for Windows Phone, Windows Store, and NVIDIA Nsight Tegra with dedicated subsections.
| * Help: Consolidate 3.1 release notesBrad King2014-10-1068-455/+332
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Move all development release notes into a new version-specific document: tail -q -n +3 Help/release/dev/* > Help/release/3.1.0.rst git rm -- Help/release/dev/* except the sample topic: git checkout HEAD -- Help/release/dev/0-sample-topic.rst Reference the new document from the release notes index document. Add a title and intro sentence to the new document by hand.
* | Merge topic 'fix-ninja-rc-include-flags'Brad King2014-10-138-9/+32
|\ \ | | | | | | | | | | | | f4c5eade Ninja: Fix RC include directories regression
| * | Ninja: Fix RC include directories regressionBrad King2014-10-138-9/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes in commit b9aa5041 (cmLocalGenerator: Simplify GetIncludeFlags output formatting, 2014-03-04) caused Windows Resource Compiler include directories to be computed as relative paths in the Ninja generator. This breaks the cmcldeps handling of include paths. The reason for the regression is that several cmLocalGenerator::GetIncludeFlags callers treated the fourth "bool forResponseFile" argument as if it controlled whether include directories were a full path. It actually did control that by accident until the above commit. Add an explicit "bool forceFullPaths" argument to GetIncludeFlags and thread the value through ConvertToIncludeReference as needed. Update GetIncludeFlags call sites that really wanted to control the forResponseFile setting to be aware of the new argument. Extend the VSResource test to cover this case.
* | | CMake Nightly Date StampKitware Robot2014-10-131-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2014-10-121-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2014-10-111-1/+1
| |/ |/|
* | Merge topic 'note-link-libraries-genex'Brad King2014-10-101-0/+22
|\ \ | | | | | | | | | | | | 8bd81981 Help: Add note about restoring pre-3.0 link libraries genex behavior
| * | Help: Add note about restoring pre-3.0 link libraries genex behaviorBrad King2014-10-101-0/+22
| |/
* | 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