summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'osx-iframework'Brad King2015-07-232-0/+10
|\ | | | | | | | | e68f0cb3 OS X: Use -iframework with AppleClang only on version >= 4.2
| * OS X: Use -iframework with AppleClang only on version >= 4.2Brad King2015-07-222-0/+10
| | | | | | | | | | | | | | Since commit v3.1.0-rc1~564^2 (OS X: Use -iframework for system framework directories, 2014-05-05) we test the version of Clang to see if it supports -iframework. Fix the version test used for AppleClang since it uses a different version scheme than upstream Clang.
* | Merge topic 'FindBZip2-check-with-prototype'Brad King2015-07-221-2/+4
|\ \ | | | | | | | | | | | | 23876eda FindBZip2: Check BZIP2_NEED_PREFIX with real prototype
| * | FindBZip2: Check BZIP2_NEED_PREFIX with real prototypeRalf Habacker2015-07-211-2/+4
| | | | | | | | | | | | | | | | | | | | | Run our check for the '_' prefix using a bzip2 API function as declared with a prototype in the real header file. This is needed in case the function is provided in a DLL import library where the symbol name may not match without proper markup from the header.
* | | Merge topic 'vs-compiler-feature-2015-update'Brad King2015-07-221-5/+5
|\ \ \ | |/ / |/| | | | | | | | c2d590c9 Features: Update MSVC features for VS 2015 RTM
| * | Features: Update MSVC features for VS 2015 RTMBrad King2015-07-211-5/+5
| |/ | | | | | | | | VS 2015 RTM completed support for constexpr and attribute features. Update our feature table and test accordingly.
| * Merge branch 'FindMPI-Intel-5' into releaseBrad King2015-07-131-1/+1
| |\
| * \ Merge branch 'CheckCompilerFlag-do-not-use-FLAGS' into releaseBrad King2015-07-083-12/+12
| |\ \
| * \ \ Merge branch 'FindMatlab-doc-section-headers' into releaseBrad King2015-07-061-8/+8
| |\ \ \
* | \ \ \ Merge topic 'KDE4-NO_POLICY_SCOPE'Brad King2015-07-211-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 4572d8b3 KDE4: Find the Internal package with NO_POLICY_SCOPE.
| * | | | | KDE4: Find the Internal package with NO_POLICY_SCOPE.Stephen Kelly2015-07-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If someone in KDE wants to port away from OLD policies, they might want to do so one policy at a time. This patch will allow them to use find_package(KDE4 NO_POLICY_SCOPE) in callers to get around the CMP0011 warning, while still getting the policy settings contained within.
* | | | | | CMakeExpandImportedTargets: Document as deprecatedBrad King2015-07-171-3/+13
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The module is not needed anymore for try_compile or try_run. It cannot be used with CMP0022 NEW behavior due to generator expressions in INTERFACE_LINK_LIBRARIES, so document it as deprecated. Whatever problems other than try_compile and try_run anyone tried to solve with this module will have to be addressed another way.
* | | | | Merge topic 'cpack-per-component-extra-control-file'Brad King2015-07-171-3/+9
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3e6b2ab6 CPack/DEB: component version of PACKAGE_CONTROL_EXTRA 506f6bc0 CPack/DEB: Remove duplicate string(TOUPPER) calls 32e9276a Tests/RunCMake/CPack/DEB: add verifyDebControl 47d1f118 Tests/RunCMake/CPack: found files should be preserved
| * | | | | CPack/DEB: component version of PACKAGE_CONTROL_EXTRADomen Vrankar2015-07-151-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Component version of CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA variable.
| * | | | | CPack/DEB: Remove duplicate string(TOUPPER) callsDomen Vrankar2015-07-151-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We compute _local_component_name the first time we check for CPACK_DEB_PACKAGE_COMPONENT so we can just re-use it later.
* | | | | | Merge topic 'makefile-target-messages'Brad King2015-07-151-1/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f0cad193 Tests: Add test for TARGET_MESSAGES global property 1d398478 Makefile: Optionally disable target completion messages in build output d560b46f CMakeGenericSystem: Recognize Watcom WMake generator as Makefile generator
| * | | | | | Makefile: Optionally disable target completion messages in build outputMichael Ensslin2015-07-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a TARGET_MESSAGES property to control whether Makefile targets print the "Built target " completion messages. Default to ON to preserve existing behavior.
| * | | | | | CMakeGenericSystem: Recognize Watcom WMake generator as Makefile generatorBrad King2015-07-141-1/+1
| | | | | | |
* | | | | | | Add EUROS RTOS platform description fileStanimir Kabaivanov2015-07-141-0/+19
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a basic platform module for EUROS RTOS (euros-embedded.com). Co-Author: Gerhard Gappmeier <gerhard.gappmeier@ascolab.com>
* | | | | | Merge topic 'refactor-rule-var-includes'Brad King2015-07-1438-72/+72
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c736de7b Factor an <INCLUDES> placeholder out of <FLAGS> in rule variables 6f94b03c Place <DEFINES> before <FLAGS> consistently across compilers
| * | | | | | Factor an <INCLUDES> placeholder out of <FLAGS> in rule variablesBrad King2015-07-1338-72/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach the Makefile and Ninja generators to substitute for an <INCLUDES> placeholder instead of putting -I in <FLAGS>. Update our values for CMAKE_<LANG>_COMPILE_OBJECT, CMAKE_<LANG>_CREATE_ASSEMBLY_SOURCE, and CMAKE_<LANG>_CREATE_PREPROCESSED_SOURCE to place <INCLUDES> just before <FLAGS>.
| * | | | | | Place <DEFINES> before <FLAGS> consistently across compilersBrad King2015-07-136-12/+12
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update our values for CMAKE_<LANG>_COMPILE_OBJECT, CMAKE_<LANG>_CREATE_ASSEMBLY_SOURCE, and CMAKE_<LANG>_CREATE_PREPROCESSED_SOURCE to place <DEFINES> before <FLAGS> consistently across supported compilers. We already do this for most compilers, so update the rest for consistency.
* | | | | | Merge topic 'FindXercesC-versioned-library-2'Brad King2015-07-141-1/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | 38ddabb1 FindXercesC: Also search for xerces-c_2 (#15648)
| * | | | | FindXercesC: Also search for xerces-c_2 (#15648)Roger Leigh2015-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This is the previous stable release name used on Windows.
* | | | | | Merge topic 'FindMPI-Intel-5'Brad King2015-07-131-1/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | / | | |_|_|/ | |/| | | cfd23d3f FindMPI: Extend Intel-MPI 5+ workaround for recent GCCs
| * | | | FindMPI: Extend Intel-MPI 5+ workaround for recent GCCsSean Brennan2015-07-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the workaround added by commit v3.2.0-rc1~278^2 (FindMPI: Workaround Intel MPI 5.0.1 exit code problem, 2014-12-04) with an additional/alternate keyword to recognize the case with recent GCCs.
* | | | | Merge topic 'FindIce-imported-targets'Brad King2015-07-101-0/+15
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 889b22e2 Help: Add notes for topic 'FindIce-imported-targets' cd4d2e9c FindIce: document imported targets 748f1eae FindIce: create imported targets for components
| * | | | | FindIce: document imported targetsRoger Leigh2015-07-091-0/+7
| | | | | |
| * | | | | FindIce: create imported targets for componentsDaniel Pfeifer2015-07-091-0/+8
| | | | | |
* | | | | | Merge topic 'compiler-feature-AppleClang-std-flags'Brad King2015-07-101-1/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 228643af AppleClang: Use modern C++14 standard flags for Apple Clang 6.1
| * | | | | | AppleClang: Use modern C++14 standard flags for Apple Clang 6.1Brad King2015-07-091-1/+4
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Apple Clang 6.1 compiler that comes with Xcode 6.3 is aware of the modern -std=c++14 and -std=gnu++14 flags, so use them instead of the "1y" flags. Suggested-by: darkapostle@rule506.net
* | | | | | Merge topic 'FindXercesC-versioned-library'Brad King2015-07-091-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | d3d4d627 FindXercesC: Find versioned library on Windows
| * | | | | | FindXercesC: Find versioned library on WindowsRoger Leigh2015-07-081-1/+1
| |/ / / / /
* | | | | | Merge topic 'CheckCompilerFlag-do-not-use-FLAGS'Brad King2015-07-093-12/+12
|\ \ \ \ \ \ | |/ / / / / |/| | | | / | | |_|_|/ | |/| | | a639689c Check*CompilerFlag: Revert to previous method used to pass flags (#15641)
| * | | | Check*CompilerFlag: Revert to previous method used to pass flags (#15641)Brad King2015-07-083-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.3.0-rc1~397^2 (Check*CompilerFlag: Refactor method used to pass flags, 2015-02-24) these check modules pass the flags to the compiler front-end during linking as well as during compilation. This breaks checks for flags like '-x c++' that are meant only for the compilation step. Revert the change and add a test covering a compiler-only flag.
* | | | | Merge topic 'add-apple-swift-language'Brad King2015-07-085-0/+115
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | bf112531 Add rudimentary support for the Apple Swift language with Xcode
| * | | | | Add rudimentary support for the Apple Swift language with XcodeBrad King2015-07-065-0/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow the `Swift` language to be enabled with the Xcode generator for Xcode >= 6.1. Reject it on other generators and with older Xcode versions. Since Apple is the only vendor implementing the language right now, the compiler id can be just `Apple`.
* | | | | | Merge topic 'auto_export_dll_symbols'Brad King2015-07-081-0/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8f86407c Windows: Optionally generate DLL module definition files automatically 069aa93b bindexplib: Add support for "/bigobj" format objects 61bbbdcf bindexplib: Fix treatment of some symbols de70c922 bindexplib: Teach DumpFile to return errors 8ea69dfe bindexplib: Build source as part of CMakeLib 2963cb2a bindexplib: Wrap long lines 4ff09893 bindexplib: Drop code that CMake does not need 7de8276c bindexplib: Add copyright/license notice block 65086ad7 bindexplib: Import original implementation from CERN
| * | | | | | Windows: Optionally generate DLL module definition files automaticallyBill Hoffman2015-07-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create target property WINDOWS_EXPORT_ALL_SYMBOLS to automatically generate a module definition file from MS-compatible .obj files and give it to the linker in order to export all symbols from the .dll part of a SHARED library.
* | | | | | | Merge topic 'ExternalProject-USES_TERMINAL'Brad King2015-07-071-0/+83
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e4947639 ExternalProject: Added new USES_TERMINAL options
| * | | | | | | ExternalProject: Added new USES_TERMINAL optionsJames Johnston2015-07-061-0/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added new USES_TERMINAL option to the ExternalProject_Add_Step function. This option passes USES_TERMINAL to the underlying add_custom_command call so that the Ninja console pool is used. Also, corresponding new USES_TERMINAL_<step> options were added to the ExternalProject_Add function. Justification: if using Ninja with a CMake superbuild, it's often desirable to limit the superbuild to ONE sub-Ninja process at a time to avoid oversubscribing the CPU. Using the console pool also makes it easy to monitor the progress of the sub-Ninja process. Independent USES_TERMINAL_<step> arguments are passed to ExternalProject_Add instead of one USES_TERMINAL argument that controls everything. Users may wish to run some steps in parallel but not others (e.g. parallelize configure but not build).
* | | | | | | | Merge topic 'osx-pythondotorg-libs'Brad King2015-07-071-7/+32
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | 02fd0356 FindPythonLibs: Find the python.org libraries (#14809)
| * | | | | | | FindPythonLibs: Find the python.org libraries (#14809)Matt McCormick2015-07-061-7/+32
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Address the test case cmake_minimum_required(VERSION 2.8) set(Python_ADDITIONAL_VERSIONS 3.4 3.5 3.6) find_package(PythonLibs 3 REQUIRED) with a Python 3.4.x .pkg installed from python.org on OSX. Temporarily set CMAKE_FIND_FRAMEWORK to LAST to avoid finding the system Python.h prematurely. Add directories inside the frameworks to the search list for the library as is done for the header.
| * | | | | | Merge branch 'doc-CheckIncludeFile-distinction' into releaseBrad King2015-06-253-48/+56
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'revert-mingw-no-find_library-dll' into releaseBrad King2015-06-081-1/+1
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'FindwxWidgets-versioned-executable' into releaseBrad King2015-06-081-1/+2
| |\ \ \ \ \ \ \ \
* | \ \ \ \ \ \ \ \ Merge topic 'xlc-no-qalias-flag'Brad King2015-07-062-4/+2
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | a33fb493 XL: Drop -qalias=noansi from default C flags
| * | | | | | | | | XL: Drop -qalias=noansi from default C flagsBrad King2015-07-022-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was added without explanation by commit v2.8.2~1138 (Add initial XL C compiler flags for safer builds, 2009-09-30). It is not consistent with our default C++ flags for XL and disables several optimizations, so drop it from our default flags for C. Suggested-by: Todd Gamblin <tgamblin@llnl.gov>
* | | | | | | | | | Merge topic 'ctest-test-load'Brad King2015-07-021-0/+4
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f62d301b ctest: Optionally avoid starting tests that may exceed a given CPU load 07c550ca cmCTestMultiProcessHandler: Refactor RUN_SERIAL implementation 8bf5a80b cmSystemTools: Add StringToULong helper dffc307c Tests: Teach RunCMake infrastructure to optionally timeout
| * | | | | | | | | ctest: Optionally avoid starting tests that may exceed a given CPU loadBetsy McPhail2015-06-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a TestLoad setting to CTest that can be set via a new --test-load command-line option, CTEST_TEST_LOAD variable, or TEST_LOAD option to the ctest_test command. Teach cmCTestMultiProcessHandler to measure the CPU load and avoid starting tests that may take more than the spare load currently available. The expression <current_load> + <test_processors> <= <max-load> must be true to start a new test. Co-Author: Zack Galbreath <zack.galbreath@kitware.com>