summaryrefslogtreecommitdiffstats
path: root/Help/manual
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'vs-global-props-for-all-targets'Brad King2018-09-281-0/+1
|\ | | | | | | | | | | | | | | 36489b85aa VS: Add test for CMAKE_VS_GLOBALS 22e670a306 VS: Add option to set VS_GLOBAL_* for all targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2345
| * VS: Add option to set VS_GLOBAL_* for all targetsMikhail Korolev2018-09-251-0/+1
| | | | | | | | Fixes: #18287
* | link_directories(): enhance capabilitiesMarc Chevrier2018-09-251-0/+1
| |
* | LINK_DIRECTORIES target property: add policy for absolute paths check.Marc Chevrier2018-09-251-0/+1
| |
* | LINK_DIRECTORIES: Add new properties and commandsMarc Chevrier2018-09-252-0/+3
|/ | | | | | | | | | | | These new capabilities enable to manage link directories Two new properties: * target properties: LINK_DIRECTORIES and INTERFACE_LINK_DIRECTORIES One new command * target_link_directories(): to populate target properties Fixes: #17215
* BundleUtilities: Disallow inclusion at configure timeKyle Edwards2018-09-191-0/+1
| | | | | | This commit adds a new CMake policy, CMP0080, which prohibits the inclusion of BundleUtilities at configure time. The old behavior is to allow the inclusion.
* Merge topic 'symlink'Brad King2018-09-191-5/+0
|\ | | | | | | | | | | | | afb7f6e4ff cmake: Add '-E create_symlink' support on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2144
| * cmake: Add '-E create_symlink' support on WindowsJon Chronopoulos2018-09-181-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | The allows `-E create_symlink` to work on Windows. It utilizes `uv_fs_symlink`. I am still unsure exactly which Windows platforms will work without requiring Administrator privileges or needing a user/group with the "Create Symbolic Links" User Rights. It does work with my Windows 10 Pro with Developer Mode turned on. In the test suite check that the symlink either worked or failed with a permissions error. Use recent changes in cmSystemTools::FileExists to check that a symlink is broken.
* | Merge topic 'provide_explicit_source_and_build_command_line_options'Brad King2018-09-192-0/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 638f00117a Add release note for the -S and -B options. de962cc00d CMake: Internally uses -S instead of -H to specify source directory a10d63d578 cmake: -S and -B can be used to specify source and build directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2358
| * | cmake: -S and -B can be used to specify source and build directoriesRobert Maynard2018-09-152-0/+9
| |/ | | | | | | | | | | Document the previously internal option of '-B' and provide a matching source directory option with '-S'. Both '-B', and '-S' can be used independently of each other.
* | Merge topic 'cmake_rule_messages_doc'Brad King2018-09-171-0/+1
|\ \ | | | | | | | | | | | | | | | | | | 17e581af4c Help: Document CMAKE_RULE_MESSAGES variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2383
| * | Help: Document CMAKE_RULE_MESSAGES variableJulien Schueller2018-09-171-0/+1
| | | | | | | | | | | | Fixes: #18368
* | | Merge topic 'docs/gen-see-also'Brad King2018-09-171-0/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | e3f9ea8616 docs: add some 'see also' helper texts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2381
| * | | docs: add some 'see also' helper textsBrian Heim2018-09-131-0/+5
| |/ / | | | | | | | | | in cmake-generator-expressions
* | | Merge topic 'out-of-dir-linking'Brad King2018-09-141-0/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a1ad0a699b target_link_libraries: Allow use with targets in other directories 9bbae5ae28 cmTarget: Future-proof AddLinkLibrary target lookup scope f9cb6f618a cmExportFileGenerator: Use cmGeneratorTarget::ResolveTargetReference 18441a6269 cmGeneratorTarget: Factor target name resolution out of link item resolution 2f708f5d65 Make internal TARGET_PROPERTY generator expressions more robust 94a75801c8 Android.mk: De-duplicate link libraries logic during export 8a63b23d16 cmGlobalGenerator: Remove unused FindLocalGenerator method Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Patrick Stotko <stotko@cs.uni-bonn.de> Merge-request: !2370
| * | target_link_libraries: Allow use with targets in other directoriesBrad King2018-09-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the command did not allow naming targets on the LHS that were not created in the calling directory. Lift this restriction to enable more flexible use by projects. Targets named on the RHS will need to be looked up during generation in the scope of the call site rather than the scope of the LHS target. Introduce an internal syntax in `[INTERFACE_]LINK_LIBRARIES` properties to specify target names that need to be looked up in a directory other than that containing the target on which the property is set. Add minimal documentation of the syntax to help users that encounter it. Unfortunately CMake previously did allow such calls in the case that only `INTERFACE` libraries are specified, but those libraries would be looked up in the target's directory rather than the caller's. Add policy `CMP0079` to enable the new behavior with new lookup scope in a compatible way. Fixes: #17943
* | | Merge topic 'cmake_cpack_command-doc'Brad King2018-09-111-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 5ff7149298 Help: Document existence of CMAKE_CPACK_COMMAND Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2367
| * | | Help: Document existence of CMAKE_CPACK_COMMANDKyle Edwards2018-09-101-0/+1
| | |/ | |/| | | | | | | | | | This useful variable was previously undocumented. This commit adds brief documentation for it.
* | | Merge topic 'replace-os-x-name-with-macos'Brad King2018-09-111-1/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | ab2e35d614 Replace occurrences of "Mac OS X" with "macOS" in comments fc1602456a Help: Replace occurrences of "Mac OS X" with "macOS" Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Gregor Jasny <gjasny@googlemail.com> Reviewed-by: Clinton Stimpson <clinton@elemtech.com> Merge-request: !2351
| * | Help: Replace occurrences of "Mac OS X" with "macOS"Bartosz Kosiorek2018-09-051-1/+1
| |/ | | | | | | | | | | | | | | Apple's main Operating system changed their name from OS X to macOS: https://www.engadget.com/2016/06/13/os-x-is-now-macos/ Revise documentation accordingly.
* | Help: Formatting typo fix in cmake-generator-expressions(7)Raul Tambre2018-09-101-1/+1
|/
* Merge topic 'cmakeServerSourcesForInterfaceLibraries'Brad King2018-09-041-0/+7
|\ | | | | | | | | | | | | | | | | d74c2282ea cmake-server: Support codemodel filegroups for INTERFACE_SOURCES Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Tobias Hunger <tobias.hunger@gmail.com> Acked-by: Markus Enzenberger <markus.enzenberger@gmail.com> Merge-request: !2282
| * cmake-server: Support codemodel filegroups for INTERFACE_SOURCESJustin Goshi2018-08-301-0/+7
| | | | | | | | | | | | | | | | | | This change returns information for INTERFACE_SOURCES. We add a flag to the filegroup to indicate if the target represents interface sources. Protocol version is updated to 1.3 since this is a change to what was released in cmake version 3.12.
* | VS: Add option to tell generator that platfrom is WinRT by defaultMikhail Korolev2018-08-301-0/+1
| | | | | | | | | | | | Create a ``CMAKE_VS_WINRT_BY_DEFAULT`` variable to indicate this. Fixes: #18286
* | static library: add property STATIC_LIBRARY_OPTIONSMarc Chevrier2018-08-151-0/+1
| | | | | | | | issue: #18251
* | doc: Consistently use <PackageName> for describing the name of a packageJean-Christophe Fillion-Robin2018-08-142-28/+28
|/
* Help: Document the $CACHE{} syntaxRobert Maynard2018-08-072-0/+8
| | | | Also add a test case for the behavior.
* Xcode: Add variables and properties to configure schemesGregor Jasny2018-08-012-0/+33
| | | | | | | | | Add `XCODE_SCHEME_*` target properties and associated variables `CMAKE_XCODE_SCHEME_*` to initialize them on target creation. Map each target property value to an associated Xcode scheme entry. Co-Author: Martin Sander <mail@martin-sander.de> Fixes: #17919
* UseSWIG: add policy to manage target naming strategy.Marc Chevrier2018-07-251-0/+1
|
* Merge topic 'doc-find_package-root'Craig Scott2018-07-202-0/+2
|\ | | | | | | | | | | | | 492ade276b Help: Add explicit <PackageName>_ROOT variable documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2225
| * Help: Add explicit <PackageName>_ROOT variable documentationBrad King2018-07-202-0/+2
| | | | | | | | | | | | Add documentation for both the CMake variable and environment variable of this name pattern. Update references to these names to link to their documents. Clarify the pattern used to construct their names.
* | Merge topic 'vs-deployment-files'Brad King2018-07-101-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 3b2ea092ef Help: Add documentation for DEPLOYMENT_ADDITIONAL_FILES b771b2c300 VS: extended OutputDeploymentDebuggerTool for AdditionalFiles 2f4075fa45 VS: moved EscapeForXML function higher up and made static Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2184
| * | Help: Add documentation for DEPLOYMENT_ADDITIONAL_FILESFrank Goyens2018-07-091-0/+1
| | |
* | | Merge topic 'option-normal-variable'Brad King2018-07-091-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2a5f5c0e31 option: respect existing normal variable 12e6f83319 Option: Add a test that verifies interaction with normal variables 5bb3d40a28 cmOption: Remove VTK 4.0 workarounds Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2155
| * | | option: respect existing normal variableRobert Maynard2018-07-091-0/+1
| | | | | | | | | | | | | | | | Add policy CMP0077 to change this behavior in a compatible way.
* | | | Merge topic 'cpack-external'Brad King2018-07-031-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4c71548766 Help: Add release notes for CPack External generator 47c87cdd1f Help: Add documentation for CPack External generator 2ef966bc77 Testing: Add test for CPack External generator 80914d88da CPack: Add "CPack External" generator 3ced881db6 cmCPackGenerator: Store CPACK_INSTALL_CMAKE_PROJECTS in an internal field 4938abb600 cmCPackGenerator: Refactor InstallProjectViaInstallCMakeProjects() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2142
| * | | | Help: Add documentation for CPack External generatorKyle Edwards2018-07-021-0/+1
| | |/ / | |/| |
* | | | 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
| |