summaryrefslogtreecommitdiffstats
path: root/Help/manual
Commit message (Collapse)AuthorAgeFilesLines
* LINK_DEPENDS: add support for property INTERFACE_LINK_DEPENDSMarc Chevrier2018-06-271-0/+2
| | | | Fixes: #17997
* Merge topic 'cmake-buildsystem-manual-typo'Craig Scott2018-06-231-1/+1
|\ | | | | | | | | | | | | 82956270ed Help: Fix typo in cmake-buildsystem(7) manual Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2163
| * Help: Fix typo in cmake-buildsystem(7) manualJoan Massich2018-06-221-1/+1
| |
* | Merge topic 'cpack-generator-documentation'Brad King2018-06-222-12/+51
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 57e4c51e8a Help: Update old version release notes for CPack generator docs 4181830881 Help: Add release notes for CPack generator documentation and module updates 48bc8b2b82 CPack: Move internal implementation modules into Internal/CPack directory 2a2829cc75 Help: Add new section for CPack generators be6267808a CPackIFW: Turn documentation into a block comment 0180524c7a Help: Move legacy CPack modules into separate section Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2149
| * | Help: Add new section for CPack generatorsKyle Edwards2018-06-211-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The documentation for CPack generators previously lived in their respective internal CMake modules. This setup was misleading, because it implied that you should include the modules in your own code, which is not the case. Moving the documentation into a separate section does a better job of hiding the internal modules, which are just an implementation detail. The generator documentation has also been modified to remove any references to the module name. The CPackIFW module is a special exception: since it has user-facing macros, the documentation for these macros has been kept in the module page, while all other documentation related to the IFW generator has been moved into the new section. To make it easier to find the new documentation, the old help pages for the CPack*.cmake modules have not been deleted, but have been replaced with a link to their respective help page in the new documentation section.
| * | Help: Move legacy CPack modules into separate sectionKyle Edwards2018-06-211-12/+23
| |/ | | | | | | | | | | | | These modules are being moved out of user visibility and into an internal section of CMake. To keep them for historical reference in the manual, this commit moves them into a separate "Legacy CPack Modules" section.
* | Merge topic 'cmake_autogen_verbose'Brad King2018-06-221-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 5b85ef5cd0 Autogen: Add release notes for CMAKE_AUTOGEN_VERBOSE 6651aab2ab Autogen: Add documentation for CMAKE_AUTOGEN_VERBOSE aa7d8a092c Autogen: Enable CMAKE_AUTOGEN_VERBOSE in all tests e28dc3b1d8 Autogen: Add CMAKE_AUTOGEN_VERBOSE variable support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2157
| * | Autogen: Add documentation for CMAKE_AUTOGEN_VERBOSESebastian Holtermann2018-06-211-0/+1
| |/
* | Merge topic 'vs_debugger'Brad King2018-06-221-1/+3
|\ \ | |/ |/| | | | | | | | | 797de7a6f6 VS10Project: Expand VS_DEBUGGER_* capabilities Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2150
| * VS10Project: Expand VS_DEBUGGER_* capabilitiesJon Chronopoulos2018-06-171-1/+3
| | | | | | | | | | This adds VS_DEBUGGER_COMMAND_ARGUMENTS and VS_DEBUGGER_ENVIRONMENT as well as allowing VS_DEBUGGER_* to use generator expressions.
* | Merge topic 'subdir_target_sources'Craig Scott2018-06-191-0/+8
|\ \ | |/ |/| | | | | | | | | 316815e1f4 target_sources: Interpret relative paths as relative to the calling directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2128
| * target_sources: Interpret relative paths as relative to the calling directoryPatrick Stotko2018-06-181-0/+8
| | | | | | | | | | | | | | | | | | | | Previously the command considered non-absolute source file paths relative to the associated target on the LHS. This causes problems in incremental builds where files are added from subdirectories and forces users to workaround by manually converting to absolute paths. Change this to enable more intuitive usage by projects. Fixes #17981
* | LINK_OPTIONS: Add support of "LINKER:" prefixMarc Chevrier2018-06-061-0/+2
| |
* | LINK_OPTIONS: Add new family of propertiesMarc Chevrier2018-06-062-0/+5
|/ | | | | | | | | | | | | | This family enable to manage link flags Three new properties: * directory property: LINK_OPTIONS * target properties: LINK_OPTIONS and INTERFACE_LINK_OPTIONS Two new commands * add_link_options(): to populate directory property * target_link_options(): to populate target properties Fixes: #16543
* TI: Add support for C language standardsArnaud Gelas2018-06-041-0/+1
| | | | | | Set C90 and C99 compile options for TI compiler. Fixes: #18061
* Merge topic 'vs-toolset-version'Brad King2018-05-301-0/+1
|\ | | | | | | | | | | | | | | 5f13168419 VS: Add option to select the version of the toolset used by VS 2017 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Francisco Facioni <fran6co@gmail.com> Merge-request: !2093
| * VS: Add option to select the version of the toolset used by VS 2017Basil Fierz2018-05-291-0/+1
| | | | | | | | | | | | | | | | Add new `version=` parameter in the toolset setting to select the version. Add variable `CMAKE_VS_PLATFORM_TOOLSET_VERSION` to hold the version, if one is set (blank indicates default). Fixes: #17549
* | Merge topic 'parallel_build_option'Brad King2018-05-292-0/+8
|\ \ | |/ |/| | | | | | | | | | | 1ab3881ec9 cmake: Add options for parallel builds to --build mode Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Henry Schreiner <henryschreineriii@gmail.com> Merge-request: !1962
| * cmake: Add options for parallel builds to --build modeFlorian Maushart2018-05-252-0/+8
| | | | | | | | | | | | | | While we already support `cmake --build . -- -j`, the options after `--` are specific to the native build tool. Add new options `--parallel [<N>]` and `-j [<N>]` to abstract this and map to the proper option for the native build tool.
* | Merge topic 'cmake-D-option-help'Craig Scott2018-05-271-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 42738e5075 Help: Update description of the -D option to CMake Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2105
| * | Help: Update description of the -D option to CMakeRaul Laasner2018-05-241-1/+1
| | | | | | | | | | | | Fixes #18021
* | | FindODBC: Add module to search for ODBC libraryMateusz Loskot2018-05-221-0/+1
|/ / | | | | | | Add tests for FindODBC module.
* | Eclipse: Add property to include additional contents in .cproject fileMelanie Cappelaere2018-05-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Similar to ECLIPSE_EXTRA_NATURES which can be used to add a third party nature to the .project, this property offers the possibility to inject third party contents into the .cproject. An example of where this is useful is MCUXpresso. This is an IDE based on Eclipse. Compiling through CMake generated Eclipse projects works fine by using a custom toolchain. However, in order to be able to debug using such a project, an extra storageModule specific to the target board is needed in the cproject.
* | added CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION variableMichael Stürmer2018-05-152-0/+2
| | | | | | | | Fixes: #17955
* | CPack: Add NuGet supportAlex Turbov2018-05-111-0/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | Create a CPack generator that uses `nuget.exe` to create packages: https://docs.microsoft.com/en-us/nuget/what-is-nuget NuGet packages could be easily produced from a `*.nuspec` file (running `nuget pack` in the directory w/ the spec file). The spec filename does not affect the result `*.nupkg` name -- only `id` and `version` elements of the spec are used (by NuGet). Some implementation details: * Minimize C++ code -- use CMake script do to the job. It just let the base class (`cmCPackGenerator`) to preinstall everything to a temp directory, render the spec file and run `nuget pack` in it, harvesting `*.nupkg` files...; * Ignore package name (and use default paths) prepared by the base class (only `CPACK_TEMPORARY_DIRECTORY` is important) -- final package filename is a responsibility of NuGet, so after generation just scan the temp directory for the result `*.nupkg` file(s) and update `packageFileNames` data-member of the generator; * The generator supports _all-in-one_ (default), _one-group-per-package_ and _one-component-per-package_ modes.
* Merge topic 'feature/cpack-default-package-version'Craig Scott2018-05-031-0/+5
|\ | | | | | | | | | | | | | | af1c48871c CPack: Use project version as default for `CPACK_PACKAGE_VERSION` Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Harry Mallon <hjmallon@gmail.com> Merge-request: !2020
| * CPack: Use project version as default for `CPACK_PACKAGE_VERSION`Alex Turbov2018-05-021-0/+5
| | | | | | | | | | | | | | | | | | | | * Introduce `CMAKE_PROJECT_VERSION` and the corresponsing components: `CMAKE_PROJECT_VERSION_MAJOR`, `CMAKE_PROJECT_VERSION_MINOR`, `CMAKE_PROJECT_VERSION_PATCH` and `CMAKE_PROJECT_VERSION_TWEAK`. * `CPack` module use `CMAKE_PROJECT_VERSION_MAJOR`, `CMAKE_PROJECT_VERSION_MINOR` and `CMAKE_PROJECT_VERSION_PATCH` to initialize corresponsing CPack variables.
* | Help: Fix and clarify server mode --pipe= option docsIsrael Blancas2018-05-021-2/+4
| | | | | | | | | | | | Document the `=` in the option name. Clarify the term "named pipe" as an abstraction of local domain sockets on Unix and named pipes on Windows.
* | Help: Improve accuracy, readability and cross-referencing of cpack docsCraig Scott2018-04-271-65/+58
|/ | | | | | This is primarily a cleanup of the cpack(1) page. The cpack.cxx file and CPack module were also updated to make the docs relating to the generator specification and option names consistent in all three places.
* Merge topic 'vs-hlsl-object-name'Brad King2018-04-251-0/+1
|\ | | | | | | | | | | | | 8d1ccbc693 VS: Add VS_SHADER_OBJECT_FILE_NAME source file property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1997
| * VS: Add VS_SHADER_OBJECT_FILE_NAME source file propertyJeremiah van Oosten2018-04-241-0/+1
| |
* | Merge topic 'Genex-TARGET_GENEX_PROPERTY'Brad King2018-04-241-0/+39
|\ \ | | | | | | | | | | | | | | | | | | 4d15046edd Genex: Add $<TARGET_GENEX_EVAL:...> and $<GENEX_EVAL:...> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1984
| * | Genex: Add $<TARGET_GENEX_EVAL:...> and $<GENEX_EVAL:...>Marc Chevrier2018-04-231-0/+39
| |/ | | | | | | Fixes: #17884
* | Merge topic 'cmake-install-doc'Brad King2018-04-231-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | a4f71b4ba8 Help: Document existence of cmake_install.cmake fcf64866da Help: move DESTDIR into a separate page Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1979
| * | Help: move DESTDIR into a separate pageKyle Edwards2018-04-201-0/+1
| |/
* | Merge topic 'add_compile_definitions'Brad King2018-04-232-1/+2
|\ \ | |/ |/| | | | | | | | | cb83314e65 add_compile_definitions: add new command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1988
| * add_compile_definitions: add new commandMarc Chevrier2018-04-202-1/+2
| | | | | | | | | | | | | | This command manages preprocessor definitions at directory level and supports generator expressions. Fixes: #15374
* | Merge topic 'vs-sdk-dirs'Brad King2018-04-201-0/+7
|\ \ | | | | | | | | | | | | | | | | | | 6ec3e880e7 VS: Add variables to set SDK directories in vcxproj files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1965
| * | VS: Add variables to set SDK directories in vcxproj filesBastien Schatt2018-04-191-0/+7
| | | | | | | | | | | | | | | | | | | | | Create `CMAKE_VS_SDK_*_DIRECTORIES` variables to tell the VS generator how to populate fields in `.vcxproj` files that specify SDK directories. Fixes: #17908
* | | Help: Drop direct link to Wiki/FAQ pageBrad King2018-04-191-7/+3
| |/ |/| | | | | | | Instead mention that community resources are available on the general documentation landing page.
* | Merge topic 'CheckIncludeFile-required-libs'Brad King2018-04-191-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | a61ae3fb80 CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIES 391a5837ee cmake_policy: Add undocumented PARENT_SCOPE option to GET 3c47ac5b25 OpenWatcom: Add workaround for lack of error on missing library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1978
| * | CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIESBrad King2018-04-181-0/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Other check modules honor this variable, so include file checks should too. Add policy `CMP0075` to enable the behavior in a compatible way. This change was originally made by commit v3.11.0-rc1~108^2 (CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIES, 2017-12-24) but it was reverted by commit v3.11.1~9^2 (Revert "CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIES", 2018-04-04) because the behavior change could affect checks in existing projects in an incompatible way. Fixes: #9514
* | Help: Fix command-line synopsis markup syntaxBrad King2018-04-184-5/+5
|/ | | | | | Use `{}` to surround required parts instead of `()`. Fixes: #17917
* Merge topic 'add_support_for_clr_targets'Brad King2018-04-121-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | 312527de47 document COMMON_LANGUAGE_RUNTIME target properties 4b7a82b4ed cmVisualStudio10TargetGenerator: set /clr compiler flag from property 20e31fb4c9 cmExportFileGenerator: add target property for managed targets 411a22706a cmGeneratorTarget: add handling of managed assemblies to HasImportLibrary() fb433ff283 cmGeneratorTarget: Make import library checks config-aware 4c1f33961f cmGeneratorTarget: add GetManagedType() and CheckManagedType() methods 6c517a9f8d cmGeneratorTarget: add HasLanguage() as wrapper for GetLanguages() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1916
| * document COMMON_LANGUAGE_RUNTIME target propertiesMichael Stürmer2018-04-091-0/+2
| |
* | MSVC: Add MSVC_TOOLSET_VERSION variableArkady Shapkin2018-04-041-0/+1
|/ | | | | | Provide the MSVC toolset version number based on the compiler version. Fixes: #16923
* Merge topic 'variable-CMAKE_FOLDER'Brad King2018-04-021-0/+1
|\ | | | | | | | | | | | | df535ad846 Add CMAKE_FOLDER variable to initialize FOLDER target property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1896
| * Add CMAKE_FOLDER variable to initialize FOLDER target propertyMarc B2018-03-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can be used for example to organize all following targets into one Visual Studio folder: set(CMAKE_FOLDER Libraries) add_subdirectory(libA) add_subdirectory(libB) set(CMAKE_FOLDER Executables) add_subdirectory(progA) Another possibility is using the current directory name for all following targets in subdirectories: get_filename_component(dirname "${CMAKE_CURRENT_SOURCE_DIR}" NAME) string(APPEND CMAKE_FOLDER "/${dirname}")
* | Merge topic 'features-c++20'Brad King2018-04-021-5/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8570dc7f64 Help: Update compiler versions in cmake-compile-features.7.rst 874d3d2948 Help: Add release note for C++ 20 support 7f295b1bd3 Features: Activate C++ 20 support for Clang 5.0+ 71cb8ce3a1 Features: Activate C++ 20 support for GNU 8.0+ 8f146c4508 Features: Activate C++ 20 support for MSVC 19.12.25835+ 7fe580a362 Features: Add infrastructure for C++ 20 language standard 1b328e09a3 Features: Use -std=c++17 for C++ 17 on Clang 5.0+ 0bc3e5788a Features: Use -std=c++17 for C++ 17 on GNU 8.0+ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1892
| * | Help: Update compiler versions in cmake-compile-features.7.rstBrad King2018-03-271-5/+5
| |/