summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ExternalProject: Improve documentationCraig Scott2017-07-174-380/+827
| | | | | | | | | | | - Added clearer structure by grouping the options into logical sections. - Expanded the details for many of the options. - Added Examples section to show how to use the various commands. - Specifically highlighted that the contents of SOURCE_DIR may be lost if a download method is also provided. - Updated argument-matching regex to be more robust and account for the varying leading spaces before keywords in the docs. - Updated tests to account for slightly changed error messages.
* 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
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | Merge branch 'FindDoxygen-project-in-subdir' into release-3.9Brad King2017-06-301-5/+5
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'xcode-cross-sdk-object-libraries' into release-3.9Brad King2017-06-302-5/+5
| |\ \ \ \ \ \ | | |_|_|/ / / | |/| | | | |
* | | | | | | Merge topic 'server-mode-protocol-version-docs'Brad King2017-06-301-0/+8
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ab533e48 Help: Document server-mode protocol versions more clearly Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1015
| * | | | | | | Help: Document server-mode protocol versions more clearlyTobias Hunger2017-06-291-0/+8
| | | | | | | |
* | | | | | | | Merge topic 'xcode-cross-sdk-object-libraries'Brad King2017-06-302-5/+5
|\ \ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c2a6df94 Xcode: Use correct Object Library paths for cross-SDK builds Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1016
| * | | | | | | Xcode: Use correct Object Library paths for cross-SDK buildsGregor Jasny2017-06-292-5/+5
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When calculating Object Library paths take a look at the `XCODE_EMIT_EFFECTIVE_PLATFORM_NAME` property to enable builds with different SDKs. Otherwise a hard-coded architecture could be chosen. Fixes: #16040
* | | | | | | Merge topic 'FindDoxygen-project-in-subdir'Brad King2017-06-301-5/+5
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | / / | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | 97a9a356 FindDoxygen: Use a stable reference to the location of global resources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1014
| * | | | | FindDoxygen: Use a stable reference to the location of global resourcesRobert Dailey2017-06-291-5/+5
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FindDoxygen generates some files based on the version of Doxygen whose content will not vary across a project and are therefore a global resource that can be shared by all calls to `find_package(Doxygen)` and to `doxygen_add_docs`. We currently use `${PROJECT_BINARY_DIR}` to reference their location, but this is not stable because `project()` calls in a subdirectory can change it. Use `${CMAKE_BINARY_DIR}` instead. Reviewed-by: Craig Scott <craig.scott@crascit.com> Fixes: #17022
* | | | | CMake Nightly Date StampKitware Robot2017-06-301-1/+1
| | | | |
* | | | | Merge branch 'release-3.9'Brad King2017-06-290-0/+0
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch 'vs-link-debug-flags' into release-3.9Brad King2017-06-288-35/+340
| |\ \ \ \
| * \ \ \ \ Merge branch 'curl-haiku' into release-3.9Brad King2017-06-281-0/+2
| |\ \ \ \ \ | | |_|/ / / | |/| | | |