summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CTest: Report more detail about system exceptions in testsBill Hoffman2017-07-125-14/+26
| | | | | This passes the system exception string up to CDash and to the command line instead of just printing "other".
* Merge branch 'release-3.9'Brad King2017-07-100-0/+0
|\
| * Merge branch 'autogen-no-generated-files' into release-3.9Brad King2017-07-073-0/+10
| |\
| * \ Merge branch 'find_package-restore-considered-configs' into release-3.9Brad King2017-07-0712-2/+47
| |\ \
* | \ \ Merge topic 'autogen-no-generated-files'Brad King2017-07-103-0/+10
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | 9a34e95a Autogen: Skip generated files for compatibility with CMake 3.8 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1033
| * | | Autogen: Skip generated files for compatibility with CMake 3.8Brad King2017-07-073-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change in commit v3.9.0-rc1~464^2~8 (Autogen: Add AUTOMOC/UIC support for generated source files, 2017-03-02) changes behavior of existing projects that may not expect `AUTOGEN` on generated files and do not yet set `SKIP_AUTOGEN` on them. Disable the behavior change for now to fix the regression for CMake 3.9. We can restore it later with a policy. In order to keep the implementation and tests working, add an undocumented property we can use in the tests to enable the behavior before the policy is introduced. Fixes: #17031 Issue: #16186
* | | | Merge topic 'find_package-restore-considered-configs'Brad King2017-07-1012-2/+47
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | e7730d78 find_package: Restore longer message when config files were considered Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1032
| * | | find_package: Restore longer message when config files were consideredBrad King2017-07-0712-2/+47
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.9.0-rc1~58^2 (find_package: shorten output for missing package in config mode, 2017-05-09) we print only the one line - Could NOT find Foo (missing: Foo_DIR) when package Foo cannot be found in CONFIG mode and it is not REQUIRED. However, in the case that package configuration files were found but not used, this one line message leaves out important information. This can happen when a package configuration file sets `Foo_FOUND` to `FALSE` or when its package version file does not match the requested version. Restore the longer message in these cases. Otherwise a seemingly valid explicit `Foo_DIR` setting appears to be silently ignored even if it was considered. Fixes: #17029
* | | Merge topic 'indented_cmakedefine'Brad King2017-07-1011-7/+90
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 58f47448 configure_file: Add support for indented cmakedefine Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1024
| * | | configure_file: Add support for indented cmakedefineSylvain Joubert2017-07-0411-7/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Optional spaces and/or tabs are now understood between the '#' character and the 'cmakedefine'/'cmakedefine01' words. This indentation is preserved in the output lines. Fixes: #13037
* | | | CMake Nightly Date StampKitware Robot2017-07-101-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2017-07-091-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2017-07-081-1/+1
| | | |
* | | | Merge branch 'release-3.9'Brad King2017-07-070-0/+0
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge branch 'FindDoxygen-create-output-dir' into release-3.9Brad King2017-07-061-3/+11
| |\ \ \
* | \ \ \ Merge topic 'add-missing-fallthrough'Brad King2017-07-071-1/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6c80e958 cmCTest: Add missing switch case fallthrough markup Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1027
| * | | | | cmCTest: Add missing switch case fallthrough markupBrad King2017-07-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this, GCC 7 warns. Reported-by: Rolf Eike Beer <eike@sf-mail.de>
* | | | | | Merge topic 'iar_improved'Brad King2017-07-0721-96/+326
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d8e6cd9e IAR: Improve support for IAR ARM Compiler 0b1a2876 Add a CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID variable fea7d69d Store CMAKE_ASM_COMPILER_VERSION persistently d2a8b5ce CMakeDetermineASMCompiler: Fix small copy-paste mistake a2112257 Add infrastructure to use language extensions without any standard 8cd28bb0 cmLocalGenerator: Switch order of <LANG>_{EXTENSIONS,STANDARD} check 0fc2d78e cmLocalGenerator: Simplify logic for language standard or extension flag Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !991
| * | | | | | IAR: Improve support for IAR ARM CompilerNorbert Lange2017-06-2912-75/+233
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the implementation for this compiler more complete. IAR has multiple C++ modes, historically they were reduced c++ versions for embedded that gradually improved to the full standard (which can be reduced again by e.g. disabling rtti and exceptions). The new implementation picks the best available, but the c++ mode can also be overridden by defining `CMAKE_IAR_CXX_FLAG`. Add C/C++ standard flags so that all modes up to and including the last supported standard are defined. Fixes: #16826
| * | | | | | Add a CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID variableNorbert Lange2017-06-2911-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compilers such as MSVC and IAR may have variants that target different architectures. We have been using a `MSVC_<LANG>_ARCHITECTURE_ID` variable to hold this information for MSVC. Add an alternative with a more general name (later we can port MSVC to it too). This additional information may be needed to generate proper invocations of the compiler based on its architecture variant.
| * | | | | | Store CMAKE_ASM_COMPILER_VERSION persistentlyNorbert Lange2017-06-292-13/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We already do this for other languages like C and CXX.
| * | | | | | CMakeDetermineASMCompiler: Fix small copy-paste mistakeNorbert Lange2017-06-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | GNU is not a vendor of IAR.
| * | | | | | Add infrastructure to use language extensions without any standardBrad King2017-06-291-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When `<LANG>_STANDARD` is not set we will not add any language standard flags. If `<LANG>_EXTENSIONS` is not OFF then our default is supposed to be ON. In order to support compilers that do not enable their extensions by default, check a `CMAKE_<LANG>_EXTENSION_COMPILE_OPTION` variable for an extensions flag to use without any language standard. Suggested-by: Norbert Lange <nolange79@gmail.com>
| * | | | | | cmLocalGenerator: Switch order of <LANG>_{EXTENSIONS,STANDARD} checkBrad King2017-06-291-5/+5
| | | | | | |
| * | | | | | cmLocalGenerator: Simplify logic for language standard or extension flagBrad King2017-06-291-2/+2
| | | | | | |
* | | | | | | Merge topic 'connect_disablePCH_with_cl_option'Brad King2017-07-075-5/+10
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d1713d8b VS: connect /Y- compiler option with "Not Using Precompiled Headers" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1026
| * | | | | | | VS: connect /Y- compiler option with "Not Using Precompiled Headers"Olender, Sebastian D2017-07-055-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change allows to selectively disable PrecompiledHeaders. Despite the `$(VCTargetsPath)/1033/cl.xml` contains an empty value for switch, for effectively turn off setting need to use /Y- option as described on msdn: https://msdn.microsoft.com/en-us/library/1hy7a92h.aspx
* | | | | | | | Merge topic 'FindDoxygen-create-output-dir'Brad King2017-07-071-3/+11
|\ \ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 796b8fcb FindDoxygen: Create DOXYGEN_OUTPUT_DIRECTORY if it doesn't exist Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Craig Scott <craig.scott@crascit.com> Merge-request: !1019
| * | | | | | | FindDoxygen: Create DOXYGEN_OUTPUT_DIRECTORY if it doesn't existRobert Dailey2017-07-061-3/+11
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | If the doxygen output directory does not exist, create it prior to running the doxygen commands.
* | | | | | | CMake Nightly Date StampKitware Robot2017-07-071-1/+1
| | | | | | |
* | | | | | | Merge branch 'release-3.9'Brad King2017-07-060-0/+0
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Merge branch 'autogen_p' into release-3.9Brad King2017-07-051-1/+0
| |\ \ \ \ \ \
* | \ \ \ \ \ \ Merge topic 'autogen_p'Brad King2017-07-061-1/+0
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 251bcbed Autogen: Continue search for FOO_p.h when FOO.h was found Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1022
| * | | | | | | Autogen: Continue search for FOO_p.h when FOO.h was foundSebastian Holtermann2017-07-021-1/+0
| | | | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2017-07-061-1/+1
| | | | | | | |
* | | | | | | | Merge topic 'clang-format-missing'Brad King2017-07-051-1/+1
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 16d49525 clang-format.bash: Fix error message when clang-format is not found Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1029
| * | | | | | | clang-format.bash: Fix error message when clang-format is not foundBrad King2017-07-051-1/+1
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not refer to a variable we just determined is empty to get the name of the tool for the error message. Just hard-code the name.
* | | | | | | Merge branch 'release-3.9'Brad King2017-07-050-0/+0
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Merge branch 'autogen-header-skip' into release-3.9Brad King2017-07-051-1/+1
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'vs-link-guard-cf' into release-3.9Brad King2017-06-302-6/+0
| |\ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | |
* | | | | | | | Merge topic 'vs-link-guard-cf'Brad King2017-07-052-6/+0
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 82a5c2c6 VS: Fix support for '/guard:cf' linker flag Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1018
| * | | | | | | VS: Fix support for '/guard:cf' linker flagOlender, Sebastian D2017-06-302-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Although `$(VCTargetsPath)/1033/link.xml` for v140 and v141 toolsets contains an entry for `LinkControlFlowGuard`, it does not work when used in a `.vcxproj` file. Drop our link flag table entries for these toolsets so that the flag will be passed via `AdditionalOptions`.
* | | | | | | | Merge topic 'autogen-header-skip'Brad King2017-07-051-1/+1
|\ \ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 83d8acee Autogen: Check .moc header name against SKIP list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1017
| * | | | | | | Autogen: Check .moc header name against SKIP listSebastian Holtermann2017-06-301-1/+1
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When encountering an #include "FOO.moc" statement where FOO.hpp was chosen over FOO.cpp as the moc source, the FOO.hpp name was not checked against the moc SKIP list.
* | | | | | | CMake Nightly Date StampKitware Robot2017-07-051-1/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | CMake Nightly Date StampKitware Robot2017-07-041-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2017-07-031-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2017-07-021-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2017-07-011-1/+1
| | | | | |
* | | | | | Merge branch 'release-3.9'Brad King2017-06-300-0/+0
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |