summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Drop Visual Studio 6 generatorBrad King2016-03-0915-42/+19
| | | | | | 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-092-3/+9
|\ | | | | | | | | d929c35f CMakeForceCompiler: Deprecate this module and its macros
| * CMakeForceCompiler: Deprecate this module and its macrosBrad King2016-03-082-3/+9
| | | | | | | | | | | | | | | | | | | | 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-073-0/+7
|/ | | | | | | 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>
* Merge topic 'vs-vcxproj-ConfigurationType'Brad King2016-03-073-0/+17
|\ | | | | | | | | 6122909c VS: Add option to set `ConfigurationType` of a .vcxproj file
| * VS: Add option to set `ConfigurationType` of a .vcxproj fileFabian Otto2016-02-263-0/+17
| | | | | | | | | | | | Add a VS_CONFIGURATION_TYPE target property to set this value explicitly. This is useful to build a Windows Kernel Mode Driver, for example.
* | Automatically use OpenSSL by default on Linux and FreeBSD if availableBrad King2016-02-291-0/+8
|/ | | | | | | | | | | | | | Since https is almost ubiquitous nowadays we should support it by default whenever possible. When building our own curl, we already automatically enable SSL/TLS support on Windows and OS X by using the OS-native APIs. On UNIX platforms we need to use OpenSSL but have not done so by default before, leading to possible user confusion when https transfers fail later. Fix this by searching for OpenSSL quietly and enabling use of it automatically if it is found. Do this only on Linux and FreeBSD for now because on other UNIX platforms (e.g. AIX, HP-UX, SunOS) it seems too easy to find an OpenSSL that is not compatible with the target compiler.
* Merge topic 'try_compile-target-type'Brad King2016-02-264-0/+27
|\ | | | | | | | | 7f1bd9fe try_compile: Add option to control type of target
| * try_compile: Add option to control type of targetBrad King2016-02-194-0/+27
| | | | | | | | | | | | | | 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
| * | Help: Fix typos in cmake-packages.7 manualAshley Whetter2016-02-241-5/+5
| | |
* | | Merge topic 'doc-cmake-E-details'Brad King2016-02-241-4/+8
|\ \ \ | |_|/ |/| | | | | | | | b3475030 Help: Clarify `cmake -E` command behavior with respect to file existence
| * | Help: Clarify `cmake -E` command behavior with respect to file existenceBartosz Kosiorek2016-02-191-4/+8
| |/
* | Merge topic 'cpack-deb-autodep-ORIGIN-RPATH'Brad King2016-02-191-0/+6
|\ \ | | | | | | | | | | | | | | | e8daee5b CPack/Deb $ORIGIN handling in rpath b8263a2f CPack/Deb Create DEBIAN directory for dpkg-shlibdeps
| * | CPack/Deb $ORIGIN handling in rpathDomen Vrankar2016-02-191-0/+6
| | | | | | | | | | | | Release not for fix of bug 12431
* | | Merge topic 'unix-timestamps'Brad King2016-02-192-0/+7
|\ \ \ | |/ / |/| | | | | | | | 6727270b CMake: Extend TIMESTAMP sub-commands with new unix time format specifier
| * | CMake: Extend TIMESTAMP sub-commands with new unix time format specifierJose-Luis Blanco-Claraco2016-02-182-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | The new `%s` format specifier is substituted by file()/string() `TIMESTAMP` sub-commands with the number of seconds since unix-epoch (1970-01-01 00:00:00 UTC). Co-Author: Nils Gladitz <nilsgladitz@gmail.com>
* | | Merge topic 'doc-install-component-association'Brad King2016-02-181-7/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | d7c6b710 Merge branch 'backport-doc-install-component-association' into doc-install-component-association c978223c Help: Clarify install(TARGETS) INCLUDES DESTINATION option 70f2708f Help: Clarify install(TARGETS) INCLUDES DESTINATION option
| * | | Help: Clarify install(TARGETS) INCLUDES DESTINATION optionBrad King2016-02-171-7/+12
| |/ / | | | | | | | | | | | | | | | | | | | | | The option does not actually participate in argument groups like the others because it does not actually install anything. Fix the order in the documentation accordingly. Reported-by: Daniel Wirtz <daniel.wirtz@simtech.uni-stuttgart.de>
* | | Merge topic 'de-deprecate-CMakeForceCompiler'Brad King2016-02-181-3/+0
|\ \ \ | | | | | | | | | | | | | | | | beaa4fa5 CMakeForceCompiler: De-deprecate until more use cases have alternatives
| * | | CMakeForceCompiler: De-deprecate until more use cases have alternativesBrad King2016-02-171-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We deprecated this module in commit v3.5.0-rc1~295^2 (CMakeForceCompiler: Deprecate this module and its macros, 2015-10-19) in order to determine whether anyone still has use cases that require it. Indeed we still need to provide a way to work with toolchains that cannot link binaries without special flags. Remove the deprecation warnings until we can provide an alternative to the module for this use case.
| * | | Merge branch 'doc-xcode-escaping-fix' into releaseBrad King2016-02-111-0/+6
| |\ \ \
| * \ \ \ Merge branch 'fix-doc-typos' into releaseBrad King2016-02-082-2/+2
| |\ \ \ \
* | | | | | FindProtobuf: check versionAntonio Perez Barrero2016-02-161-0/+6
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check found libraries version to match user required version. Protobuf compiler executable version is checked to be aligned with found libraries, raising a warning message otherwise.
* | | | | CPack/RPM support for upper cased component variablesDomen Vrankar2016-02-131-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CPACK_* variables expect component name in upper case. CPACK_RPM_* variables expected component name to be in same case as component name. This patch adds support for CPACK_RPM_* variables with upper case component names to match the convention with CPACK_* variables and also preserves same case component names for back compatibility.
* | | | | Merge topic 'doc-xcode-escaping-fix'Brad King2016-02-111-0/+6
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | 878632c9 Help: Add release note about Xcode escaping fix (#15969)
| * | | | Help: Add release note about Xcode escaping fix (#15969)Brad King2016-02-111-0/+6
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | The fix in commit v3.5.0-rc1~84^2 (Xcode: Escape all backslashes in strings, 2015-12-27) is a change in behavior that can break existing projects that worked around the inconsistency with other generators. Add a release note to call attention to this change in behavior.
* | | | Merge topic 'install-EXCLUDE_FROM_ALL'Brad King2016-02-092-8/+20
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 586e56d0 Help: Add notes for topic 'install-EXCLUDE_FROM_ALL' d321c196 Tests: Add cases for install() command EXCLUDE_FROM_ALL option 18ce97c4 install: Add EXCLUDE_FROM_ALL option (#14921)
| * | | | Help: Add notes for topic 'install-EXCLUDE_FROM_ALL'Brad King2016-02-041-0/+5
| | | | |
| * | | | install: Add EXCLUDE_FROM_ALL option (#14921)Nick Lewis2016-02-041-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let us take an example of a project that has some tests in a component that need to be installed into a dedicated test package. The user expectation is that the result could be achieved by typing the following: make make tests make install DESTDIR=/testpkgs make install-tests However this results in test components in the default installation as well as the testpkg. Add an EXCLUDE_FROM_ALL option to the install() command to tell it that the installation rule should not be included unless its component is explicitly specified for installation.
* | | | | Merge topic 'fix-doc-typos'Brad King2016-02-082-2/+2
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | a3b91d16 Help: Fix command specification for cmake_minimum_required d8c90800 Help: Fix mistake in cmake-buildsystem(7) example
| * | | | Help: Fix command specification for cmake_minimum_requiredHorst Kronstorfer2016-02-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implementation indicates that at least two components of VERSION must be specified (see Source/cmCMakeMinimumRequired.cxx.) Therefore the minor version is not optional.
| * | | | Help: Fix mistake in cmake-buildsystem(7) examplePaul Wilkinson2016-02-081-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | The COMPATIBLE_INTERFACE_NUMBER_MAX example now sets INTERFACE_CONTAINER_SIZE_REQUIRED on lib1Version2 and lib1Version3. Previously set it on lib1Version2 twice and never on lib1Version3.
* | | | Merge topic 'error-multiple-targets'Brad King2016-02-082-1/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 497cad7c cmake: Teach --build to reject multiple --target options 886acd80 Help: Fix reference to `cmake --build` in cmake(1) manual
| * | | | cmake: Teach --build to reject multiple --target optionsSebastian Schuberth2016-02-052-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we did not clearly document that `--target` is only supported to be specified once. Even worse, specifying it multiple times would silently ignore any previously specified targets and only build the last target. Update the documentation to specify this. Update the implementation to reject multiple `--target` options to prevent user errors.
| * | | | Help: Fix reference to `cmake --build` in cmake(1) manualBrad King2016-02-051-1/+1
| | |/ / | |/| |
* | | | list: Add FILTER subcommand (#3986)Ashley Whetter2016-02-032-3/+15
|/ / / | | | | | | | | | Create a `list(FILTER)` command to filter lists by regular expression.
* | | Begin post-3.5 developmentBrad King2016-02-022-0/+9
| |/ |/|
* | Help: Drop development topic notes to prepare releaseBrad King2016-02-022-9/+0
|/ | | | | Release versions do not have the development topic section of the CMake Release Notes index page.
* Help: Organize and revise 3.5 release notesBrad King2016-02-011-77/+106
| | | | | Add section headers similar to the 3.4 release notes and move each individual bullet into an appropriate section. Revise a few bullets.
* Help: Consolidate 3.5 release notesBrad King2016-02-0135-211/+154
| | | | | | | | | | | | | | Move all development release notes into a new version-specific document: tail -q -n +3 Help/release/dev/* > Help/release/3.5.rst git rm -- Help/release/dev/* except the sample topic: git checkout HEAD -- Help/release/dev/0-sample-topic.rst Reference the new document from the release notes index document. Add a title and intro sentence to the new document by hand.
* Merge topic 'doc-cmake-developer-typo'Brad King2016-02-011-1/+1
|\ | | | | | | | | 6f83db1c Help: Fix typo in `cmake-developer(7)` manual
| * Help: Fix typo in `cmake-developer(7)` manualPrayag Verma2016-02-011-1/+1
| | | | | | | | Fix spelling mistake `sytem` => `system`.
* | Help: Clarify `add_custom_command(TARGET)` scope (#15681)Bartosz Kosiorek2016-01-281-2/+5
| |
* | Help: Clarify policy `CMP0040` documentation (#15681)Bartosz Kosiorek2016-01-281-8/+11
| | | | | | | | | | State explicitly that the target must be defined in the current directory. While at it, improve markup formatting.
* | Help: Clarify scope of `if(TARGET)` expressionBartosz Kosiorek2016-01-281-3/+4
| |
* | Help: Improve markup in `if` command documentationBartosz Kosiorek2016-01-281-1/+1
| |
* | Help: Improve markup in `get_target_property` documentationBartosz Kosiorek2016-01-281-1/+1
|/
* Merge topic 'vs-win10-sdk'Brad King2016-01-251-1/+2
|\ | | | | | | | | d7e863c1 VS: Do not fail on Windows 10 with VS 2015 if no SDK is available (#15929)
| * VS: Do not fail on Windows 10 with VS 2015 if no SDK is available (#15929)Brad King2016-01-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | Since commit v3.4.0-rc1~5^2~1 (VS: Add support for selecting the Windows 10 SDK, 2015-09-30) the VS 2015 generator requires a Windows 10 SDK to be available when CMAKE_SYSTEM_VERSION specifies Windows 10 (e.g. when building on a Windows 10 host). Howewver, it is possible to install VS 2015 without any Windows 10 SDK. Instead of failing with an error message about the lack of a Windows 10 SDK, simply tolerate this case and use the default Windows 8.1 SDK. Since building for Windows Store still requires the SDK, retain the diagnostic in that case.