summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Features: Record the oldest supported compiler.Stephen Kelly2014-05-081-10/+9
| | | | | This may be used to ensure that features are reported correctly only if the compiler minimum version is met.
* Merge topic 'GNU-4.7-features'Brad King2014-05-082-4/+3
|\ | | | | | | | | 9cbc63e4 Features: Record for GNU 4.7.
| * Features: Record for GNU 4.7.Stephen Kelly2014-05-072-4/+3
| | | | | | | | | | Update the CompileFeatures test to verify that unsupported features do not work.
* | Merge topic 'minor-cleanups'Brad King2014-05-081-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 47795421 Fix whitespace in docs. aa283b6b Features: Fix test for GNU 4.8.1. bbfd4cd4 Features: Include the language of the compiler in error messages.
| * | Features: Fix test for GNU 4.8.1.Stephen Kelly2014-05-071-1/+1
| | |
* | | Merge topic 'hp-cpp98-tests'Brad King2014-05-081-0/+9
|\ \ \ | | | | | | | | | | | | | | | | b0f277db HP aCC: record compiler flag for Ansi C++98 support for version 3.80 onwards
| * | | HP aCC: record compiler flag for Ansi C++98 support for version 3.80 onwardsRolf Eike Beer2014-04-251-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | Old versions of aCC need a special compiler flag to get full C++98 template support as e.g. CMake itself or the Complex and ComplexOneConfig tests need. The same versions need a special flag to get a proper C++ library, too.
* | | | Merge topic 'decay-language-version'Brad King2014-05-082-6/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 205215fb cmTarget: Add CXX_STANDARD_REQUIRED to control decay. 1df2116b Features: Decay language flag if requested is not available. c4f4dac2 Project: Fix exit-on-error with compile feature tests. 5bb7ce72 Project: Use nullary form of main for compile feature tests. 64254e7a Project: Remove extern from static string in feature tests. 0d9c99bf Help: Fix order of help entries. dc7639bd Tests: Fix name of cache variable.
| * | | | Features: Decay language flag if requested is not available.Stephen Kelly2014-05-071-0/+2
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the highest standard compile flags available if requested language version is too new. This supports use-cases like set(CMAKE_CXX_STANDARD 14) # Compiled with -std=c++11 with GNU 4.7, which has no -std=c++14 # or equivalent flag add_executable(main main.cpp) This can be used in combination with preprocessor defines which communicate the availability of certain language features for optional use.
| * | | Project: Fix exit-on-error with compile feature tests.Stephen Kelly2014-05-071-4/+3
| | | |
| * | | Project: Use nullary form of main for compile feature tests.Stephen Kelly2014-05-071-1/+1
| | | |
| * | | Project: Remove extern from static string in feature tests.Stephen Kelly2014-05-071-1/+1
| | |/ | |/|
* | | Merge topic 'compiler-id-refactor'Brad King2014-05-0839-442/+448
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3b59f8b7 Project: Refactor C compiler determination into multiple files. 8896501b CompilerId: Allow specifying a prefix for preprocessor defines. 23f451bb CompilerId: Guard the platform-default compiler code with a parameter. 30a99f5c CompilerId: Add option to generate compiler-id-specific defines. 36ed5894 CompilerId: Allow specifying the compiler-specific components to generate. 9a083bce Project: Split the compiler id detection into a separate function. 9d285600 Project: Generate the CXX compiler Id test from multiple files.
| * | | Project: Refactor C compiler determination into multiple files.Stephen Kelly2014-05-0711-233/+94
| | | |
| * | | CompilerId: Allow specifying a prefix for preprocessor defines.Stephen Kelly2014-05-0721-79/+82
| | | |
| * | | CompilerId: Guard the platform-default compiler code with a parameter.Stephen Kelly2014-05-072-6/+7
| | | |
| * | | CompilerId: Add option to generate compiler-id-specific defines.Stephen Kelly2014-05-071-2/+12
| | | |
| * | | CompilerId: Allow specifying the compiler-specific components to generate.Stephen Kelly2014-05-072-3/+22
| | | |
| * | | Project: Split the compiler id detection into a separate function.Stephen Kelly2014-05-072-74/+101
| | | | | | | | | | | | | | | | | | | | This can be extended with parameters to control the output and re-used in other contexts.
| * | | Project: Generate the CXX compiler Id test from multiple files.Stephen Kelly2014-05-0728-218/+303
| | | | | | | | | | | | | | | | | | | | | | | | This will allow sharing of the logic of the order to test compilers in and the preprocessor macros used to do that and to determine the version components.
* | | | Merge topic 'ncurses-tinfo'Brad King2014-05-081-3/+15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 1f646c6c FindCurses: Detect and satisfy ncurses dependency on tinfo 0e4a2c7e FindCurses: Honor CURSES_NEED_NCURSES when curses is found
| * | | | FindCurses: Detect and satisfy ncurses dependency on tinfoMark Wright2014-05-061-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When ncurses is built with USE=tinfo we need to find "tinfo" as a dependency of the main library. Otherwise 'cbreak' is missing: ld: ...: undefined reference to symbol 'cbreak' ld: note: 'cbreak' is defined in DSO /lib/libtinfo.so.5 so try adding it to the linker command line See https://bugs.gentoo.org/show_bug.cgi?id=468622 for more information. Applied-by: Rolf Eike Beer <eike@sf-mail.de>
| * | | | FindCurses: Honor CURSES_NEED_NCURSES when curses is foundMark Wright2014-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Take our CURSES_USE_NCURSES code path when CURSES_NEED_NCURSES is enabled even if CURSES_CURSES_LIBRARY also happens to be found. Applied-by: Rolf Eike Beer <eike@sf-mail.de>
* | | | | Merge topic 'compiler-id-comment'Brad King2014-05-072-2/+2
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | c7ddd409 Project: Clarify comment about platform-native compilers.
| * | | | Project: Clarify comment about platform-native compilers.Stephen Kelly2014-05-072-2/+2
| | |/ / | |/| |
* | | | Merge topic 'osx-iframework'Brad King2014-05-072-0/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 1bed75a5 OS X: Use -iframework for system framework directories
| * | | | OS X: Use -iframework for system framework directoriesMikołaj Siedlarek2014-05-072-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just like -I flag has its -isystem counterpart which marks an include directory as a system directory and prevents unwanted warnings, on Apple systems there is -iframework -- a system directory replacement for -F. Use this flag to implement include_directories(SYSTEM) for frameworks.
* | | | | Merge topic 'xcode-sdkroot'Brad King2014-05-071-14/+29
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 5dfe9b7d Xcode: Find fallback SDK if one matching the OS version doesn't exist.
| * | | | | Xcode: Find fallback SDK if one matching the OS version doesn't exist.Clinton Stimpson2014-05-061-14/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For example if one installs Xcode 4.6 on OS X 10.9, it doesn't contain a 10.9 SDK, so fallback to the next newest version which, in this case, happens to be a 10.8 SDK. This fixes bug #14572.
* | | | | | Merge topic 'InstallRequiredSystemLibraries-vs12-mfc'Brad King2014-05-071-4/+21
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | c0a6646d InstallRequiredSystemLibraries: MBCS MFC is optional on VS 12 (#14903)
| * | | | | | InstallRequiredSystemLibraries: MBCS MFC is optional on VS 12 (#14903)Felix Krause2014-05-061-4/+21
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The MBCS (Multi-Byte Character Set) has been deprecated with VS 2013, and MSVC no longer ships with an MBCS-version of MFC by default. However, it can be downloaded as an add-on. Teach InstallRequiredSystemLibraries to install the MBCS MFC only for VS < 12 or if it happens to exist on the system.
* | | | | | Merge topic 'ExternalProject_labels'Brad King2014-05-071-0/+5
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | 93730bb3 ExternalProject: Set FOLDER property to targets 39ef8046 ExternalProject: Set LABELS property to targets
| * | | | | ExternalProject: Set FOLDER property to targetsDaniele E. Domenichelli2014-05-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | This is useful when using the USE_FOLDERS global property
| * | | | | ExternalProject: Set LABELS property to targetsDaniele E. Domenichelli2014-05-051-0/+2
| | |_|/ / | |/| | | | | | | | | | | | | This is useful for using CDash subprojects.
* | | | | Merge topic 'CMAKE_CXX_KNOWN_FEATURES-global-property'Brad King2014-05-061-1/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 3fdfa5d3 Features: Make CMAKE_CXX_KNOWN_FEATURES a property.
| * | | | | Features: Make CMAKE_CXX_KNOWN_FEATURES a property.Stephen Kelly2014-05-021-1/+4
| |/ / / / | | | | | | | | | | | | | | | | | | | | As a 'built-in' variable it imposes a cost on all variable lookups and it is expected to be rarely used.
* | | | | Merge topic 'dont-rewrite-moc-parameter-file'Brad King2014-05-061-1/+3
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | 17c31b8b Qt4: Extend the Qt4Targets test to cover dir and target moc parameters. 6a5bd7f0 Qt4: write moc parameter file only when content has changed
| * | | | Qt4: write moc parameter file only when content has changedPeter Kümmel2014-04-251-1/+3
| | | | |
* | | | | Merge topic 'FindCUDA-cubin-fatbin'Brad King2014-05-011-29/+60
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 80209fdb Help: Add notes for topic 'FindCUDA-cubin-fatbin' 231b30db FindCUDA: Add support for compilation to fatbin & cubin modules
| * | | | | FindCUDA: Add support for compilation to fatbin & cubin modulesTobias Zirr2014-04-301-29/+60
| | | | | |
* | | | | | Merge topic 'ExternalProject-verify-cmake-var'Brad King2014-05-011-1/+1
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | 420280f3 ExternalProject: Fix path to cmake in verify script
| * | | | | ExternalProject: Fix path to cmake in verify scriptBrad King2014-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit v3.0.0-rc1~103^2~3 (ExternalProject: Reattempt download when verification fails, 2014-01-15) a reference to ${CMAKE_COMMAND} was added to generate a reference to the CMake command in a cmake script. Escape the '$' so that the literal variable reference appears in the script instead of writing the path to the current cmake. This is necessary when the path to CMake contains spaces or other characters special to CMake syntax.
* | | | | | Merge topic 'osx-init-early'Brad King2014-04-305-137/+169
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bbc358c3 Merge branch 'master' into osx-init-early 0cce556b Xcode: Use sysroot and deployment target to identify compiler 0200d0a9 OS X: Factor a Darwin-Initialize module out of Platform/Darwin 416761e3 Add platform-specific initialization step when enabling languages
| * \ \ \ \ \ Merge branch 'master' into osx-init-earlyBrad King2014-04-29124-623/+1660
| |\ \ \ \ \ \ | | | |_|/ / / | | |/| | / / | | |_|_|/ / | |/| | | | Resolve conflict in Source/cmGlobalGenerator.cxx by integrating changes from both sides.
| * | | | | Xcode: Use sysroot and deployment target to identify compilerBrad King2014-04-292-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use CMAKE_OSX_SYSROOT and CMAKE_OSX_DEPLOYMENT_TARGET to set the Xcode SDKROOT and MACOSX_DEPLOYMENT_TARGET build settings. This is necessary because some versions of Xcode select a different compiler based on these settings. We need to make sure the compiler identified during language initialization matches what will be used for the actual build.
| * | | | | OS X: Factor a Darwin-Initialize module out of Platform/DarwinBrad King2014-04-292-137/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize variables CMAKE_OSX_SYSROOT, CMAKE_OSX_DEPLOYMENT_TARGET, and CMAKE_OSX_ARCHITECTURES prior to enabling any languages. This will allow compiler identification to consider these values.
| * | | | | Add platform-specific initialization step when enabling languagesBrad King2014-04-291-0/+20
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a Modules/CMakeSystemSpecificInitialize.cmake module loaded after CMakeSystem.cmake but before per-language initialization. Use it to load an optional Platform/<os>-Initialize.cmake module. This will be useful to do per-platform initialization that does not depend on the language and use the results when enabling specific languages.
| * | | | Merge branch 'implicit-libNN-dirs' into releaseBrad King2014-04-161-1/+1
| |\ \ \ \
* | \ \ \ \ Merge topic 'cxx98-features'Brad King2014-04-304-0/+13
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | a36b957f Features: Add cxx_template_template_parameters.
| * | | | | Features: Add cxx_template_template_parameters.Stephen Kelly2014-04-164-0/+13
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | Extend the existing feature infrastructure as needed to support both C++11 and C++98 features.