summaryrefslogtreecommitdiffstats
path: root/Help/manual
Commit message (Collapse)AuthorAgeFilesLines
* CodeBlocks: add option to exclude external filesAlexandr (Sagrer) Gridnev2017-09-141-0/+1
| | | | | | | | | | | | Add variable `CMAKE_CODEBLOCKS_EXCLUDE_EXTERNAL_FILES` to optionally exclude files from outside the project root from the project file written by the CodeBlocks extra generator. This optionally restores logic that had been removed by commit v2.8.3~40^2 (CodeBlocks Generator: Do not omit files in the project file listing, 2010-10-05) in response to QTCREATORBUG-2250. Issue: #12110 Fixes: #17188
* Merge topic 'improve-graphviz-doc'Craig Scott2017-09-141-2/+2
|\ | | | | | | | | | | | | 7ed35aa3 Docs: Improve markup for graphviz related documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1236
| * Docs: Improve markup for graphviz related documentationJano Svitok2017-09-111-2/+2
| | | | | | | | | | - add hyperlink to CMakeGraphVizOptions.cmake in cmake(1) - improve markup in CMakeGraphVizOptions.cmake
* | Autogen: Doc: Add Visual Studio PRE_BUILD note to cmake-qt.rstSebastian Holtermann2017-09-071-0/+18
|/
* FindPatch: Add module to find 'patch' command-line toolJean-Christophe Fillion-Robin2017-09-011-0/+1
|
* Add properties to run cppcheck along with the compilerBill Hoffman2017-08-302-0/+2
| | | | | | Create a `<LANG>_CPPCHECK` target property (initialized by a `CMAKE_<LANG>_CPPCHECK` variable) to specify a `cppcheck` command line to be run along with the compiler.
* Autogen: Add documentation for AUTOMOC_MACRO_NAMESSebastian Holtermann2017-08-183-0/+6
|
* Merge branch 'backport-autogen-autouic-lookup' into autogen-autouic-lookupBrad King2017-08-151-6/+15
|\
| * Autogen: Update AUTOUIC documentation for search pathsSebastian Holtermann2017-08-151-6/+13
| |
* | cmServerProtocol: allow 'cache' request before 'configure'Daniel Pfeifer2017-08-131-2/+1
| | | | | | | | Fixes: #16989
* | cmServerProtocol: fix test of empty valuesDaniel Pfeifer2017-08-131-1/+3
| | | | | | | | | | | | | | If a required value is in the cache, it is not necessary to set it explicitly. Fixes: #16948, #16988
* | Autogen: Update documentation for per-config include dirSebastian Holtermann2017-08-051-0/+6
| |
* | Help: Fix example in cmake-buildsystem(7) manualSebastian Nagel2017-08-021-1/+1
| | | | | | | | | | In the example code `serialization` is a PRIVATE dependency of `archiveExtras` and not of `archive`. Fix the corresponding prose.
* | Merge topic 'autogen-generated-files'Brad King2017-07-201-0/+1
|\ \ | | | | | | | | | | | | | | | | | | dca5df16 Autogen: Process GENERATED files. Add CMP0071. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1061
| * | Autogen: Process GENERATED files. Add CMP0071.Sebastian Holtermann2017-07-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This lets AUTOMOC and AUTOUIC process GENERATED files which used to be ignored before. A new policy CMP0071 ensures that the old behavior of ignoring GENERATED files is enabled when the CMake compatibility version CMAKE_MINIMUM_REQUIRED is < 3.10. Closes #16186
* | | Merge topic 'cmake-E-sha'Brad King2017-07-181-0/+30
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | c4de0a25 Add sha1sum, sha224sum, sha256sum, sha384sum and sha512sum to command mode c4647d84 Change ComputeFileMD5 to ComputeFileHash 501a4fee Add some unit tests for md5sum Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1021
| * | Add sha1sum, sha224sum, sha256sum, sha384sum and sha512sum to command modeAndré Klitzing2017-07-141-0/+30
| | |
* | | Merge topic 'test_include_files'Brad King2017-07-131-1/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 117033c1 Add TEST_INCLUDE_DIR[S] unit test ed5bde30 Add TEST_INCLUDE_FILES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1031
| * | | Add TEST_INCLUDE_FILESMatthew Woehlke2017-07-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new directory property TEST_INCLUDE_FILES. This supersedes TEST_INCLUDE_FILE, though the latter is of course retained for compatibility. Basically, this is a list rather than a single file. This allows the feature to be used by generic utilities without conflicting with local use.
* | | | Merge topic 'labels-for-subprojects'Brad King2017-07-133-0/+36
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 376dc3eb Help: Add notes for topic 'labels_for_subprojects' a70d8e93 Add tests for new directory labels and labels-for-subprojects features 47b3a57c Display subproject timing summary d3859624 Add directory property 'LABELS' and CMAKE_DIRECTORY_LABELS variable d08ec4d2 Add CTEST_LABELS_FOR_SUBPROJECTS as a CTest module and script variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1004
| * | | | Display subproject timing summaryBetsy McPhail2017-07-101-0/+7
| | | | | | | | | | | | | | | | | | | | Use the '--no-subproject-summary' option to disable timing summary.
| * | | | Add directory property 'LABELS' and CMAKE_DIRECTORY_LABELS variableBetsy McPhail2017-07-102-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | The specified LABELS will be passed down to subdirectories as well as any targets or tests in the directory.
| * | | | Add CTEST_LABELS_FOR_SUBPROJECTS as a CTest module and script variableBetsy McPhail2017-07-102-0/+27
| | |/ / | |/| | | | | | | | | | | | | | Use this variable to specify a list of labels that will be reported to CDash as subprojects.
* | | | Merge topic 'server-target-backtraces'Brad King2017-07-131-1/+41
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0c572382 server: Report backtraces in codemodel response 4db32275 server: Rename cmServerProtocol1_0 to cmServerProtocol1 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !992
| * | | | server: Report backtraces in codemodel responseIvan Shcherbakov2017-07-111-1/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Report the source locations (e.g. in `CMakeLists.txt`) for all targets and target-related statements. This allows IDEs to locate the statements and automatically edit them when the user adds or removes files or changes target properties via GUI. Increment the protocol minor version number to tell clients that the new information is available.
* | | | | Merge topic 'iar_improved'Brad King2017-07-071-0/+1
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | Add a CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID variableNorbert Lange2017-06-291-0/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Help: Document server-mode protocol versions more clearlyTobias Hunger2017-06-291-0/+8
| |/ / |/| |
* | | Merge topic 'feature/include_guard'Brad King2017-06-281-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c96f43b7 include_guard: add tests for the feature 80f1221f include_guard: add doc pages and a release note 85b52a04 include_guard: add vim syntax highlighting rules d44bd1c2 include_guard: implement new command Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Craig Scott <craig.scott@crascit.com> Merge-request: !928
| * | | include_guard: add doc pages and a release notePavel Solodovnikov2017-06-221-0/+1
| | | |
* | | | Help: Document the CMAKE_MSVCIDE_RUN_PATH variable.Robert Maynard2017-06-271-0/+1
| |/ / |/| |
* | | Merge topic 'doc-compile-features'Brad King2017-06-161-3/+3
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | c4610df0 Help: Document that VS 2017 compile features are recorded 69d50a7e Help: Fix typo in Cray/PGI/XL compile features docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !971
| * | Help: Document that VS 2017 compile features are recordedBrad King2017-06-151-1/+1
| | | | | | | | | | | | | | | | | | | | | They were recorded by commit v3.7.0-rc1~156^2~2 (Features: Record features for VS 15 Preview 4, 2016-09-05). Fixes: #16974
| * | Help: Fix typo in Cray/PGI/XL compile features docsBrad King2017-06-151-2/+2
| | | | | | | | | | | | Reported-by: Rolf Eike Beer <eike@sf-mail.de>
* | | Merge topic 'add-missing-compiler-release-notes'Brad King2017-06-141-1/+17
|\ \ \ | |/ / | | | | | | | | | | | | | | | 28756437 Help: Add docs for new compilers supporting language standards. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !966
| * | Help: Add docs for new compilers supporting language standards.Chuck Atkins2017-06-141-1/+17
| | |
* | | Merge topic 'vs-dotnet-custom-reference-tags'Brad King2017-06-141-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 07ec212a VS: add target property VS_DOTNET_REFERENCEPROP_<refname>_TAG_<tagname> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !960
| * | | VS: add target property VS_DOTNET_REFERENCEPROP_<refname>_TAG_<tagname>Michael Stürmer2017-06-131-0/+1
| | |/ | |/| | | | | | | Fixes: #16689
* | | Merge topic 'android-unified-headers'Brad King2017-06-132-0/+6
|\ \ \ | |/ / |/| / | |/ | | | | | | 3d00be13 Android: Add support for unified headers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !956
| * Android: Add support for unified headersBrad King2017-06-122-0/+6
| | | | | | | | | | | | | | | | The unified headers are preferred as of NDK r15, so use them by default if available and provide an option to use the deprecated headers. Inspired-by: Florent Castelli <florent.castelli@gmail.com> Fixes: #16584
* | Merge topic 'cpack-freebsd-pkg'Brad King2017-06-121-0/+1
|\ \ | | | | | | | | | | | | | | | | | | 2042cae9 CPack-FreeBSD: add a generator for FreeBSD pkg(8) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !693
| * | CPack-FreeBSD: add a generator for FreeBSD pkg(8)Adriaan de Groot2017-06-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds an option CPACK_ENABLE_FREEBSD_PKG to allow CPack to look for FreeBSD's libpkg / pkg(8). If this is set and the libpkg headers and library are found (which they will be, by default, on any FreeBSD system), then add a FreeBSD pkg(8) generator. The FreeBSD package tool pkg(8) uses tar.xz files (.txz) with two metadata files embedded (+MANIFEST and +COMPACT_MANIFEST). This introduces a bunch of FreeBSD-specific CPACK_FREEBSD_PACKAGE_* variables for filling in the metadata; the Debian generator does something similar. Documentation for the CPack CMake-script is styled after the Debian generator. Implementation notes: - Checks for libpkg -- the underlying implementation for pkg(8) -- and includes FreeBSD package-generation if building CMake on a UNIX host. Since libpkg can be used on BSDs, Linux and OSX, this potentially adds one more packaging format. In practice, this will only happen on FreeBSD and DragonflyBSD. - Copy-paste from cmCPackArchiveGenerator to special-case the metadata generation and to run around the internal archive generation: use libpkg instead. - Generating the metadata files is a little contrived. - Most of the validation logic for package settings is in CPackFreeBSD.cmake, as well as the code that tries to re-use packaging settings that may already be set up for Debian. - libpkg has its own notion of output filename, so we have another contrived bit of code that munges the output file list so that CPack can find the output. - Stick with C++98.
* | | file(GENERATE): Add policy CMP0070 to define relative path behaviorBrad King2017-06-091-0/+8
| |/ |/| | | | | | | | | | | | | | | Previously `file(GENERATE)` did not define any behavior for relative paths given to the `OUTPUT` or `INPUT` arguments. Define behavior consistent with CMake conventions and add a policy to provide compatibility for projects that relied on the old accidental behavior. Fixes: #16786
* | Autogen: Do not use per-config file suffixes with VS yetBrad King2017-06-071-9/+0
|/ | | | | | | | | The change in commit v3.9.0-rc1~42^2~1 (Autogen: Per-config file suffixes, 2017-05-15) broke Visual Studio builds because the generators do not yet fully support per-config sources. Disable the behavior on Visual Studio generators for now. Fixes: #16939
* Autogen: Per-config file suffixes. New AUTOGEN_BUILD_DIR target property.Sebastian Holtermann2017-05-262-4/+20
| | | | | Closes #14760 Closes #14313
* CPack/Archive: per component filenames supportDomen Vrankar2017-05-161-0/+1
| | | | | | Support for setting archive packager specific per component filenames and monolithic package filenames.
* Add options for separate compile and link sysrootsBrad King2017-05-091-0/+2
| | | | | | | | | Add `CMAKE_SYSROOT_COMPILE` and `CMAKE_SYSROOT_LINK` variables to as operation-specific alternatives to `CMAKE_SYSROOT`. This will be useful for Android NDKs that compile and link with different sysroot values (e.g. `r14` with unified headers). Co-Author: Florent Castelli <florent.castelli@gmail.com>
* Features: Record standards and features for SunPro 5.14Brad King2017-05-031-1/+1
| | | | | Oracle Studio 12.5 adds support for C 11 and associated standard flags. It also adds a few more C++ 11 features.
* Add ctest options for limiting which tests fixtures addCraig Scott2017-05-011-0/+17
| | | | | The new options allow the user to restrict the setup and cleanup tests automatically added for fixtures.
* CUDA: Static libraries can now explicitly resolve device symbolsRobert Maynard2017-04-261-0/+1
| | | | | | | If a static library has the property CUDA_RESOLVE_DEVICE_SYMBOLS enabled it will now perform the device link step. The normal behavior is to delay calling device link until the static library is consumed by a shared library or an executable.