summaryrefslogtreecommitdiffstats
path: root/Help/manual
Commit message (Collapse)AuthorAgeFilesLines
* Help: Fix documentation of ctest --build-and-testJean-Christophe Fillion-Robin2016-07-051-3/+2
| | | | | | Since commit v3.0.0-rc1~260^2~14 (ctest: Make the --build-makeprogram optional for --build-and-test, 2013-11-14), binary dictionary is also required to run CTest given the option `--build-nocmake`.
* Help: Consistently use quotes and fix punctuation in ctest(1) manualJean-Christophe Fillion-Robin2016-07-051-51/+50
|
* Merge topic 'vs-tool-override'Brad King2016-06-231-0/+1
|\ | | | | | | | | ed05f11d VS: Add a VS_TOOL_OVERRIDE source file property
| * VS: Add a VS_TOOL_OVERRIDE source file propertyGilles Khouzam2016-06-201-0/+1
| | | | | | | | | | | | | | | | This property allow to specify a specific Visual Studio tool for a source file overriding the default tool behavior. For example, a `.resw` file being processed as a `PriResource` file. This has the advantage of being able to teach CMake to process new file types without code modifications.
* | VS: Add VS_SDK_REFERENCES target property to reference external SDKsGilles Khouzam2016-06-221-0/+1
|/ | | | | Allow one to specify external SDK references such as `Microsoft.AdMediatorWindows81, Version=1.0`.
* cmake: Add an option to control what files needs to be tracedAlex Turbov2016-06-171-0/+5
| | | | | | | | | | Even in relatively small projects using `--trace` (and `--trace-expand`) may produce a lot of output. When developing a custom module usually one is interested in output of only a few particular modules. Add a `--trace-source=<file>` option to enable tracing only a subset of source files. The final output would be only from requested modules, ignoring anything else not matched to given filename(s).
* Merge topic 'xcode-mig-support'Brad King2016-06-171-0/+1
|\ | | | | | | | | | | | | | | | | | | 8be00e44 Help: Add release note about XCODE_FILE_ATTRIBUTES source file property 27eb657d Xcode: Add support for mig files 811f6c82 Xcode: Add XCODE_FILE_ATTRIBUTES source file property ef494edf Xcode: Don't emit empty settings blocks. 82ebbf68 Xcode: Add function to conditionally add Xcode Attributes 025edea0 Xcode: Add const qualifiers
| * Xcode: Add XCODE_FILE_ATTRIBUTES source file propertyJames Touton2016-06-171-0/+1
| | | | | | | | This adds values to the ATTRIBUTES list in PBXBuildFile settings.
* | Merge topic 'link_what_you_use'Brad King2016-06-172-0/+2
|\ \ | | | | | | | | | | | | | | | a0902efa Help: Add notes for topic 'link_what_you_use' 96242f80 Add options to run `ldd -u -r` as a "link-what-you-use" tool
| * | Add options to run `ldd -u -r` as a "link-what-you-use" toolBill Hoffman2016-06-172-0/+2
| |/ | | | | | | | | | | | | Create a LINK_WHAT_YOU_USE target property and corresponding CMAKE_LINK_WHAT_YOU_USE variable to enable this behavior. Extend link commands by running `ldd -u -r` to detect shared libraries that are linked but not needed.
* | Teach find_library and find_package to search lib32 paths (#11260)Daniel Scharrer2016-06-101-0/+1
|/ | | | | | | Add a ``FIND_LIBRARY_USE_LIB32_PATHS`` global property analogous to the ``FIND_LIBRARY_USE_LIB64_PATHS`` property. This helps find commands on multilib systems that use ``lib32`` directories and either do not have ``lib`` symlinks or point ``lib`` to ``lib64``.
* Merge topic 'add-FindVulkan'Brad King2016-06-081-0/+1
|\ | | | | | | | | adf4df28 Add FindVulkan.cmake.
| * Add FindVulkan.cmake.Matthäus G. Chajdas2016-06-081-0/+1
| | | | | | | | This adds FindVulkan with corresponding tests.
* | Merge topic 'doc-ctest_update'Brad King2016-06-081-0/+5
|\ \ | | | | | | | | | | | | | | | 1b18180e Help: Document CTest Git fetch-and-reset behavior 558e4d1e Help: Document ctest_update branch following behavior
| * | Help: Document CTest Git fetch-and-reset behaviorBrad King2016-06-081-0/+5
| |/
* | productbuild: Add new productbuild cpack generator.Clinton Stimpson2016-06-031-0/+1
|/ | | | This cpack generator basically replaces the obsolete PackageMaker generator.
* try_compile: Optionally forward custom platform variables to test projectBrad King2016-05-251-0/+1
| | | | | | | | | Add a `CMAKE_TRY_COMPILE_PLATFORM_VARIABLES` variable to specify a list of custom variables to be forwarded to a `try_compile` test project. This will be useful for platform information modules or toolchain files to forward some platform-specific set of variables from the host project (perhaps set in its cache) to the test project so that it can build the same way.
* Add a variable to specify language-wide system include directoriesBrad King2016-05-251-0/+1
| | | | | | | Create a `CMAKE_<LANG>_STANDARD_INCLUDE_DIRECTORIES` variable to specify system include directories for for `<LANG>` compiler command lines. This plays a role for include directories as the existing `CMAKE_<LANG>_STANDARD_LIBRARIES` variable does for link libraries.
* Help: Document CMAKE_<LANG>_STANDARD_LIBRARIES variableBrad King2016-05-241-1/+1
| | | | | Also drop documentation of non-existent CMAKE_STANDARD_LIBRARIES variable.
* Ninja: Support embedding of CMake as subninja projectNicolas Despres2016-05-171-0/+1
| | | | | | Add a `CMAKE_NINJA_OUTPUT_PATH_PREFIX` variable. When it is set, CMake generates a `build.ninja` file suitable for embedding into another ninja project potentially generated by an alien generator.
* Help: Document `cmake --build` as a separate command mode (#16093)Brad King2016-05-101-18/+34
| | | | | | | The `--build` mode was confusingly documented among other options, falsely implying that it can be used anywhere on the command line. Move the documentation to a dedicated section and clarify its usage as s separate command line mode.
* Help: Document `cmake --find-package` as a separate command modeBrad King2016-05-101-6/+19
|
* Merge topic 'doc-cmake-E-updates'Brad King2016-05-031-2/+5
|\ | | | | | | | | | | 960afaad Help: Improve 'cmake -E md5sum' documentation 25ee2c86 Help: Add missing space in cmake(1) manual
| * Help: Improve 'cmake -E md5sum' documentationBartosz Kosiorek2016-05-021-1/+4
| |
| * Help: Add missing space in cmake(1) manualBartosz Kosiorek2016-05-021-1/+1
| |
* | Help: Add policy summaries to cmake-policies(7)Brad King2016-05-021-66/+66
| | | | | | | | | | | | | | | | In Sphinx output formats that print the toctree the policy numbers in links from the cmake-policies(7) manual are not descriptive. Convert the toctree entries to cross-reference syntax and add the summary of each policy. For now simply duplicate the policy summary line. We already maintain copies in `cmPolicies.h` and `Help/policy/*.rst` docs.
* | Help: Organize cmake-policies(7) manual by version of introductionBrad King2016-05-021-67/+109
|/
* Features: Specify minimum version Intel C++ 12.1Robert Maynard2016-04-281-0/+1
| | | | | | Versions below 12.1 do not provide enough information to properly detect if compiling with c++98 or c++0x enabled so remove them from the supported list.
* Merge topic 'AddDocumentationForEclipseVariables'Brad King2016-04-181-0/+4
|\ | | | | | | | | 7b3a1069 Help: Document Eclipse-generator related variables (#15827)
| * Help: Document Eclipse-generator related variables (#15827)Alex Neundorf2016-04-181-0/+4
| |
* | Solaris: Add a CMAKE_HOST_SOLARIS variable (#16061)Stafen Teleman2016-04-151-0/+1
|/
* Add options to run clang-tidy with the compilerDaniel Pfeifer2016-04-132-0/+2
| | | | | | Create a <LANG>_CLANG_TIDY target property (initialized by a CMAKE_<LANG>_CLANG_TIDY variable) to specify a clang-tidy command line to be run along with the compiler.
* Merge topic 'ctest-run-submodule-sync'Brad King2016-04-052-0/+7
|\ | | | | | | | | | | | | | | c18d91ad Help: add release notes for topic 'ctest-run-submodule-sync' 7f560743 cmCTestGIT: run `git submodule sync` before updating submodules 06b310b5 cmCTestGIT: add an option to initialize submodules on update 56c1ea40 cmCTestGIT: fix git version references
| * cmCTestGIT: add an option to initialize submodules on updateBen Boeckel2016-04-012-0/+7
| | | | | | | | | | | | | | Currently, CTest will not initialize any submodules within the already checked out source tree. Add an option to do so. The use case for not doing so is that some submodules may not be necessary for the current test and keeping network usage down may be important.
* | Fix spelling typos in comments and documentation (#16037)Felix Geyer2016-03-294-4/+4
|/ | | | | The Debian package checker tool (lintian) detected several typos in CMake.
* Merge topic 'cmake-depend-in-project-only'Brad King2016-03-241-0/+1
|\ | | | | | | | | | | | | b06e17da Help: Add notes for topic 'cmake-depend-in-project-only' 52540245 Tests: Add test for CMAKE_DEPENDS_IN_PROJECT_ONLY variable b1e1aa1e Makefile: Optionally scan only source and build trees for dependencies
| * Makefile: Optionally scan only source and build trees for dependenciesAttila Krasznahorkay2016-03-221-0/+1
| | | | | | | | Add a `CMAKE_DEPENDS_IN_PROJECT_ONLY` variable to activate the behavior.
* | Merge topic 'vs-startup-project'Brad King2016-03-241-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | ad140c6e VS: Put ALL_BUILD in the PREDEFINED_TARGETS_FOLDER f069be05 VS: Fix default target support for targets nested inside a folder c05ea485 VS: Improve unit test macros 78ec0461 VS: Add option to choose the `.sln` startup project (#15578)
| * | VS: Add option to choose the `.sln` startup project (#15578)Davy Durham2016-03-221-0/+1
| |/ | | | | | | | | | | | | | | Add a `VS_STARTUP_PROJECT` directory property to specify the project that should be placed first in the `.sln` file so that it will be selected as the default startup project. Co-Author: Taylor Braun-Jones <taylor.braunjones@avigilon.com>
* | Merge topic 'timeout_after_match'Brad King2016-03-221-0/+1
|\ \ | |/ |/| | | | | | | de7afd29 Help: Add notes for topic 'timeout_after_match' 993e48d0 CTest: Optionally use a secondary test timeout after matching output
| * CTest: Optionally use a secondary test timeout after matching outputZack Galbreath2016-03-221-0/+1
| | | | | | | | | | | | Allow a test N seconds to complete after we detect a matching line in its output. Activate this behavior with a new TIMEOUT_AFTER_MATCH test property.
* | VS: Optionally generate remote directory for WinCE projectsAndrej Bosik2016-03-151-0/+1
|/ | | | | | | Teach the VS 2008 and 2005 generators to set the `RemoteDirectory` in `DeploymentTool` and the `RemoteExecutable` in `DebuggerTool`. Use a `DEPLOYMENT_REMOTE_DIRECTORY` target property to specify the value.
* Drop Visual Studio 6 generatorBrad King2016-03-091-1/+0
| | | | | | This generator has been deprecated since CMake 3.3. Remove it. Update documentation, modules, and tests to drop content specific to this generator.
* Merge topic 'deprecate-CMakeForceCompiler'Brad King2016-03-091-3/+4
|\ | | | | | | | | d929c35f CMakeForceCompiler: Deprecate this module and its macros
| * CMakeForceCompiler: Deprecate this module and its macrosBrad King2016-03-081-3/+4
| | | | | | | | | | | | | | | | | | | | We originally deprecated this module in commit v3.5.0-rc1~295^2 (CMakeForceCompiler: Deprecate this module and its macros, 2015-10-19). Then a use case was found to still require the module so the deprecation was reverted for CMake 3.5 by commit v3.5.0-rc3~4^2 (CMakeForceCompiler: De-deprecate until more use cases have alternatives, 2016-02-17). Since then `CMAKE_TRY_COMPILE_TARGET_TYPE` was introduced to provide an alternative solution for that use case. Deprecate the module again.
* | Add FindLTTngUST module to find LTTng-UST libraryPhilippe Proulx2016-03-071-0/+1
|/ | | | | | | Also detect the library version number. Provide results as variables and as an imported target, LTTng::UST. Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
* VS: Add option to set `ConfigurationType` of a .vcxproj fileFabian Otto2016-02-261-0/+1
| | | | | | Add a VS_CONFIGURATION_TYPE target property to set this value explicitly. This is useful to build a Windows Kernel Mode Driver, for example.
* Merge topic 'try_compile-target-type'Brad King2016-02-261-0/+1
|\ | | | | | | | | 7f1bd9fe try_compile: Add option to control type of target
| * try_compile: Add option to control type of targetBrad King2016-02-191-0/+1
| | | | | | | | | | | | | | Create a `CMAKE_TRY_COMPILE_TARGET_TYPE` option to specify use of `add_library(... STATIC ...)` for the generated test project. This will be useful for cross-compiling toolchains that cannot link a binary without custom flags or scripts.
* | Merge topic 'doc-typos'Brad King2016-02-241-5/+5
|\ \ | | | | | | | | | | | | 33507e2a Help: Fix typos in cmake-packages.7 manual