summaryrefslogtreecommitdiffstats
path: root/Help/manual
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'add-FindXalanC'Brad King2016-01-211-0/+1
|\ | | | | | | | | f9e45ab9 FindXalanC: New module to find the Apache Xalan-C++ library
| * FindXalanC: New module to find the Apache Xalan-C++ libraryRoger Leigh2016-01-201-0/+1
| |
* | Help: Document the CMAKE_EXPORT_COMPILE_COMMANDS variableSebastian Schuberth2016-01-151-0/+1
|/
* Add -Werror and -Wno-error command-line optionsMichael Scott2016-01-121-0/+24
| | | | | | | | | Expand the -W set of cmake options to include support for the -Werror and -Wno-error format, which is used to control upgrading and downgrading warning and error messages. Implement support for these new formats for the dev and deprecated message types. Add tests and updated documentation for new options.
* CMakeParseArguments: replace by native cmake_parse_arguments commandMatthias Maennich2015-12-171-0/+1
| | | | | | | Implement a native `cmake_parse_arguments` command that is fully compatible with the documented behaviour of the previous implementation. Leave the CMakeParseArguments module empty but existing for compatibility.
* Merge topic 'ios-universal'Brad King2015-12-112-0/+2
|\ | | | | | | | | | | 565d080a Xcode: Add support for combined install on iOS 34f5ef56 iOS: Fix App Bundle layout
| * Xcode: Add support for combined install on iOSRuslan Baratov2015-12-102-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | This patch solves the problem of installing both: Device and Simulator libraries on iOS. Before only one of them was installed. If the IOS_INSTALL_COMBINED property is set on a target, a special install hook will be activated which builds the corresponding target and combines both at the install location. The original patch was contributed by Ruslan Baratov, and polished by Gregor Jasny.
* | cmake: Teach -E make_directory to support multiple input directoriesBartosz Kosiorek2015-12-101-4/+6
|/
* cmake: Teach -E copy_directory to support multiple input directoriesBartosz Kosiorek2015-12-071-2/+3
|
* cmake: Refine -E copy[_if_different] documentationBartosz Kosiorek2015-12-071-2/+7
|
* cmake: Teach -E copy[_if_different] to support multiple files (#15703)Bartosz Kosiorek2015-12-041-4/+4
| | | | | | If multiple input files are provided then the destination must be a directory. If only one input file is provided then destination may be either a file or directory.
* cmake: Improve '-E' help message formattingBartosz Kosiorek2015-12-041-2/+2
|
* Modify dev warning options to affect deprecated warnings.Michael Scott2015-12-011-2/+3
| | | | | | | | | | | Change the '-Wdev' and '-Wno-dev' options to also enable and suppress the deprecated warnings output, via the 'CMAKE_WARN_DEPRECATED' CMake variable, by default. This action does not happen if the user specifies a deprecated warning message option. Add tests and update the documentation for the new functionality.
* Add -W options to control deprecated warning messages.Michael Scott2015-12-011-0/+12
| | | | | | | | Add 'deprecated' warning options type, to allow setting CMAKE_WARN_DEPRECATED via the -W '-Wdeprecated' and '-Wno-deprecated' options. Add tests for new options and updated documentation.
* Help: Update documentation to reflect support for iOSBartosz Kosiorek2015-11-231-3/+6
| | | | Many of our interfaces documented for OS X also work for iOS.
* Cray: Added documentation for cross compiling on a CrayChuck Atkins2015-11-141-0/+30
|
* Merge topic 'doc-clarify-shared-lib'Brad King2015-10-121-1/+6
|\ | | | | | | | | 6556481e Help: Document that SHARED libraries must export a symbol (#15775)
| * Help: Document that SHARED libraries must export a symbol (#15775)James Johnston2015-10-081-1/+6
| | | | | | | | | | | | | | CMake assumes that a SHARED library compiled on Windows will export a LIB file. This is not actually the case on Visual C++ if the library does not export any symbols, and causes incremental builds to break if the user specifies SHARED anyway. (Users should use MODULE libraries instead.)
* | Merge topic 'revert-compiler-features-solaris'Brad King2015-10-121-1/+1
|\ \ | |/ |/| | | | | 340d0897 Revert topic 'compiler-features-solaris'
| * Revert topic 'compiler-features-solaris'Brad King2015-10-081-1/+1
| | | | | | | | | | | | | | | | Revert commit v3.4.0-rc1~10^2~2 (Features: Disable support for Oracle SolarisStudio on non-Linux, 2015-09-29) and two follow-up commits. The support of compile features and language standards on Orcale SolarisStudio needs more investigation so for CMake 3.4 we should just act as 3.3 did.
* | Merge topic 'vs-win10-store'Brad King2015-10-052-0/+22
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 2402bb8c Help: Document Windows 10 Universal Applications in cmake-toolchains(7) 1be2f12c VS: Add support for Windows 10 Universal (Store) Applications 2798dbda VS: Refactor indentation of LinkLibraryDependencies 8c426183 MSVC: Add system libs for WindowsStore on VS 2015 d1b87d72 VS: Select Windows 10 Store SDK and toolset for VS 2015
| * | Help: Document Windows 10 Universal Applications in cmake-toolchains(7)Brad King2015-10-051-0/+17
| | |
| * | VS: Add support for Windows 10 Universal (Store) ApplicationsGilles Khouzam2015-10-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach the VS 2015 generator to support WindowsStore 10.0 applications. Add target properties to customize them: * VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION: Specifies the minimum version of the OS that the project can target. * VS_DESKTOP_EXTENSIONS_VERSION, VS_MOBILE_EXTENSIONS_VERSIONS, VS_IOT_EXTENSIONS_VERSION: Add a reference to the version of the SDK specified to the target allowing to target the extended functionality in a universal project. * VS_IOT_STARTUP_TASK: Specifies that the target should be built as an IOT continuous background task.
* | | Merge topic 'compiler-features-solaris'Brad King2015-10-021-1/+1
|\ \ \ | |/ / |/| / | |/ | | | | | | 5fdf7594 Tests: Suppress WriteCompilerDetectionHeader failure on SunPro c824b23d Features: Fix C++98 flags on Oracle SolarisStudio 12.4 on Linux 61bc0f73 Features: Disable support for Oracle SolarisStudio on non-Linux
| * Features: Disable support for Oracle SolarisStudio on non-LinuxBrad King2015-09-291-1/+1
| | | | | | | | | | | | On SunOS the -std=c++11 flag must be used for linking as well as compiling. Until we implement support for this we cannot support the CXX_STANDARD property except on Linux (where it was tested).
* | VS: Add support for selecting the Windows 10 SDK (#15670)Gilles Khouzam2015-10-021-0/+1
|/ | | | | | | | | Teach the VS 2015 generator to produce a WindowsTargetPlatformVersion value. Use the CMAKE_SYSTEM_VERSION to specify the version and if not set choose a default based on available SDKs. Activate this behavior when targeting Windows 10. Co-Author: Brad King <brad.king@kitware.com>
* Merge topic 'link-https-cmake.org'Brad King2015-09-291-5/+5
|\ | | | | | | | | da7276cf Replace http://www.cmake.org URLs with https://cmake.org
| * Replace http://www.cmake.org URLs with https://cmake.orgBrad King2015-09-251-5/+5
| | | | | | | | | | | | | | The latter is now the preferred URL for visiting cmake.org with a browser. Convert using the shell code: git ls-files -z | xargs -0 sed -i 's|http://www\.cmake|https://cmake|g'
* | Merge topic 'genex-SHELL_PATH'Brad King2015-09-281-0/+4
|\ \ | | | | | | | | | | | | | | | ca6ba3fe Genex: Add a SHELL_PATH expression 7de868c4 Tests: Simplify GeneratorExpression check implementation
| * | Genex: Add a SHELL_PATH expressionStefan Kislinskiy2015-09-281-0/+4
| |/ | | | | | | | | | | | | | | | | Some commands on Windows do not understand forward slash paths and require backslashes. In order to help projects generate shell invocations of such commands, provide a generator expression to convert paths to the shell-preferred path format for the current generator. This will allow custom commands to generate paths the same way CMake does for compiler command invocations.
* | Merge topic 'revert-cmake-W-options'Brad King2015-09-251-41/+2
|\ \ | |/ |/| | | | | | | 2e606306 Merge branch 'improve-variable-help-formatting' into revert-cmake-W-options 81739e92 Revert topic 'cmake-W-options' (#15747)
| * Merge branch 'improve-variable-help-formatting' into revert-cmake-W-optionsBrad King2015-09-223-0/+5
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Resolve conflicts in Help/variable/CMAKE_ERROR_DEPRECATED.rst Help/variable/CMAKE_WARN_DEPRECATED.rst by integrating changes from both sides.
| * | Revert topic 'cmake-W-options' (#15747)Brad King2015-09-221-41/+2
| | | | | | | | | | | | | | | | | | | | | | | | The changes in commit c96fe0b4 (cmake: Add -W options to control deprecation warnings and errors, 2015-07-28) fail to account for -Wdev warnings produced by places in CMake other than message(). This causes a regression in which -Wno-dev fails to suppress such warnings. Revert the feature until it can be revised accordingly.
* | | Merge topic 'ctest-variable-docs'Brad King2015-09-221-0/+16
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4da5a227 Help: document CTEST_CUSTOM_* variables 70c0cc72 ctest_read_custom_files: mention that ctest does this automatically 71c67e83 CTEST_CUSTOM_*: treat variables as lists 936a95d4 CTestCoverageCollectGCOV: replace tabulators
| * | | Help: document CTEST_CUSTOM_* variablesBen Boeckel2015-09-221-0/+16
| | | |
* | | | CMP0065: Restrict the use of CMAKE_SHARED_LIBRARY_LINK_<LANG>_FLAGSChuck Atkins2015-09-212-0/+2
|/ / / | | | | | | | | | | | | This new policy restricts the addition of the shared library link flags to executables only when the ENABLE_EXPORTS property is set to True.
* | | Merge topic 'ctest-custom-output-size'Brad King2015-09-212-0/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | fd47df45 CTest: Add options to limit output of passed and failed tests 6e3151f6 CTest: Document and test custom output size settings
| * | | CTest: Add options to limit output of passed and failed testsRoman Wüger2015-09-181-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ctest command-line options: --test-output-size-passed <n> --test-output-size-failed <n> to set the amount of test output to store in Test.xml as a command-line dashboard client.
| * | | CTest: Document and test custom output size settingsBrad King2015-09-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add documentation and tests for the existing CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE CTest variables.
* | | | Project: Determine default language dialect for the compiler.Stephen Kelly2015-09-181-3/+3
|/ / / | | | | | | | | | | | | | | | Use the __cplusplus and __STDC_VERSION__ macros to automatically determine the default dialect for the compiler while determining its id and version.
* | | Help: Fix classification of load_command in command TOC.James Johnston2015-08-251-1/+1
| |/ |/| | | | | | | | | In CMake 3.0, the load_command command was deprecated. However, the position of load_command in the help TOC was not fixed at that time: it was still listed as a "Normal Command".
* | Help: Improve formatting of variable documentationJames Johnston2015-08-211-0/+2
| | | | | | | | | | | | | | | | Improve formatting, primarily by: * Adding links to relevant commands, properties, generators, and so on. * Converting code, symbols, paths, and so on to fixed-width fonts. * Hard wrapping lines to 80 characters or less.
* | Allow LINK_SEARCH_{START,END}_STATIC props to have default values.Chuck Atkins2015-08-131-0/+2
| | | | | | | | | | | | Use the CMAKE_LINK_SEARCH_START_STATIC and CMAKE_LINK_SEARCH_END_STATIC variables to initialize the LINK_SEARCH_START_STATIC and LINK_SEARCH_END_STATIC target properties respectively.
* | Merge topic 'if-test'Brad King2015-08-031-0/+1
|\ \ | |/ |/| | | | | | | 14e49ed1 if: Add "TEST <test>" condition 623dcc85 ExternalProject: Avoid if() auto-dereference of a "TEST" variable
| * if: Add "TEST <test>" conditionMatt McCormick2015-08-031-0/+1
| | | | | | | | | | | | | | | | if(TEST TestNameThatExists) will return true if a test with the name TestNameThatExists has been added with add_test. The syntax is similar to if(TARGET TargetName). Since use of "TEST" as an argument to if() could previously be interpreted as a non-keyword argument, add policy CMP0064 to treat it as a keyword as NEW behavior.
* | cmake: Add -W options to control deprecation warnings and errorsMichael Scott2015-07-291-2/+41
|/ | | | | | | | | | | Refactor the -Wdev and -Wno-dev to use a generic -W parser that follows the GCC pattern. Include support for setting CMAKE_ERROR_DEPRECATED and CMAKE_WARN_DEPRECATED via the deprecated warning. Add -Werror=dev and -Wno-error=dev options so that dev warning options are in line with deprecated warning options. Use a new CMAKE_SUPPRESS_DEVELOPER_ERRORS internal cache entry to store the above new dev options persistently. Add tests for new options and updated cmake documentation and release notes to list new options.
* Merge topic 'trace-expand'Brad King2015-07-271-3/+7
|\ | | | | | | | | 594bafe5 cmake: add --trace-expand option
| * cmake: add --trace-expand optionBen Boeckel2015-07-231-3/+7
| | | | | | | | | | | | | | | | The --trace option is helpful, but sometimes, what you're looking for is deep under many layers of function calls and figuring out what instance of the function call you're looking at is tedious to determine (usually involving patching and message()). Instead, add a --trace-expand option to trace while expanding commands into what CMake actually sees.
* | Add SOURCE_DIR and BINARY_DIR target propertiesClifford Yapp2015-07-211-0/+2
|/ | | | | This will allow project code to recover the directory information about where a target was created.
* Merge topic 'ctest-change-id'Brad King2015-07-171-0/+1
|\ | | | | | | | | 601ff0ec CTest: Optionally add a ChangeId attribute on XML Site tags