summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'install-EXPORT-absolute-prefix'Brad King2014-12-191-0/+9
|\ | | | | | | | | dd089e08 install: Allow absolute EXPORT destination with relative targets (#15258)
| * install: Allow absolute EXPORT destination with relative targets (#15258)Brad King2014-12-151-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When install(EXPORT) is given an absolute destination we cannot compute the install prefix relative to the installed export file location. Previously we disallowed installation of targets in such exports with a relative destination, but did not enforce this for target property values besides the location of the main target file. This could lead to broken installations when the EXPORT is installed to an absolute path but usage requirements are specified relative to the install prefix. Since an EXPORT installed to an absolute destination cannot be relocated we can just hard-code the value of CMAKE_INSTALL_PREFIX as the base for relative paths. This will allow absolute install(EXPORT) destinations to work with relative destinations for targets and usage requirements. Extend the ExportImport test with a case covering this behavior.
* | Merge topic 'vs-nsight-tegra-min-api'Brad King2014-12-186-2/+22
|\ \ | | | | | | | | | | | | eeaa25e5 Add 'ANDROID_API_MIN' target property to set Android Target MIN API
| * | Add 'ANDROID_API_MIN' target property to set Android Target MIN APIDmitry Polyanitsa2014-12-176-2/+22
| |/ | | | | | | | | | | Also add a 'CMAKE_ANDROID_API_MIN' variable to set the property default. Teach the VS generator to write the MIN API value into Nsight Tegra project files.
* | Merge topic 'doc-INTERFACE-target-type'Brad King2014-12-181-1/+2
|\ \ | | | | | | | | | | | | 473446ab Help: Add INTERFACE_LIBRARY to TYPE target property documentation
| * | Help: Add INTERFACE_LIBRARY to TYPE target property documentationTim Blechmann2014-12-171-1/+2
| | |
| * | Merge branch 'doc-CMP0054-example' into releaseBrad King2014-12-121-3/+31
| |\ \
| * \ \ Merge branch 'backport-doc-find-module-no-summary' into releaseBrad King2014-12-091-11/+0
| |\ \ \
| | * | | Help: Drop FeatureSummary example in cmake-developer.7Brad King2014-12-091-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The use of FeatureSummary inside a find module is not a convention yet used by upstream CMake modules. Drop the example from the documentation about how to write find modules. If in the future we add use of FeatureSummary to many of the upstream find modules then this example can be restored as part of establishing the convention.
* | | | | Merge topic 'curl-darwinssl'Brad King2014-12-181-0/+9
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | e4563257 curl: Use OS X SSL/TLS native implementation
| * | | | | curl: Use OS X SSL/TLS native implementationBrad King2014-12-181-0/+9
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On OS X, when CMAKE_USE_OPENSSL is OFF, use the OS implementation. This will allow the OS-configured CA list to be trusted automatically. This is supported on OS X 10.6 and above using AppleClang, Clang, and GNU compilers.
* | | | | Help: Document MAIN_DEPENDENCY limitation in add_custom_commandBrad King2014-12-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Specify explicitly that at most one custom command may use a given source file as its main dependency.
* | | | | Help: Mention add_dependencies in add_custom_target DEPENDS optionBrad King2014-12-161-0/+3
|/ / / / | | | | | | | | | | | | This will direct readers looking to add target-level dependencies.
* | | | curl: Use Windows SSL/TLS native implementationBrad King2014-12-121-0/+9
| | | | | | | | | | | | | | | | | | | | On Windows, when CMAKE_USE_OPENSSL is OFF, use the OS implementation. This will allow the OS-configured CA list to be trusted automatically.
* | | | Merge topic 'doc-CMP0054-example'Brad King2014-12-121-3/+31
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | f2f1c95d Help: Extend policy CMP0054 documentation with an example
| * | | Help: Extend policy CMP0054 documentation with an exampleNils Gladitz2014-12-121-3/+31
| |/ /
| * | Merge branch 'xerces-rename' into releaseBrad King2014-12-054-2/+4
| |\ \
| * \ \ Merge branch 'doc-file-GENERATE-order' into releaseBrad King2014-12-051-1/+3
| |\ \ \
| * \ \ \ Merge branch 'vs-phone-store-deployment-location' into releaseBrad King2014-12-033-0/+13
| |\ \ \ \
| * \ \ \ \ Merge branch 'vs-hlsl-settings' into releaseBrad King2014-12-034-2/+16
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'doc-CMAKE_CXX_KNOWN_FEATURES-typo' into releaseBrad King2014-12-031-1/+1
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'doc-Nsight-Tegra-toolchain' into releaseBrad King2014-12-032-0/+21
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'FindOpenGL-revert-imported-targets' into releaseBrad King2014-12-021-3/+0
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge branch 'doc-compile-features-typo' into releaseBrad King2014-12-021-1/+1
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge branch 'doc-ctest-j-typo' into releaseBrad King2014-12-011-1/+1
| |\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ Merge branch 'target-sources-error-conditions' into releaseBrad King2014-12-012-0/+8
| |\ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ Merge branch 'doc-installed-file-property' into releaseBrad King2014-12-013-28/+69
| |\ \ \ \ \ \ \ \ \ \ \ \
* | | | | | | | | | | | | | Help: Drop FeatureSummary example in cmake-developer.7Brad King2014-12-091-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The use of FeatureSummary inside a find module is not a convention yet used by upstream CMake modules. Drop the example from the documentation about how to write find modules. If in the future we add use of FeatureSummary to many of the upstream find modules then this example can be restored as part of establishing the convention.
* | | | | | | | | | | | | | Merge topic 'ExternalProject_TEST_EXCLUDE_FROM_MAIN'Brad King2014-12-081-0/+6
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 636f0c1d ExternalProject: Add TEST_EXCLUDE_FROM_MAIN option
| * | | | | | | | | | | | | | ExternalProject: Add TEST_EXCLUDE_FROM_MAIN optionDaniele E. Domenichelli2014-12-051-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If this option is enabled, the test step is created with the EXCLUDE_FROM_MAIN option, and if TEST_BEFORE_INSTALL is enabled, the install step does not depend on the test step. This means that the test step is never executed, unless the test target is explicitly created by calling ExternalProject_Add_StepTarget, or by passing it with the STEP_TARGETS option, or with the EP_STEP_TARGETS directory property.
* | | | | | | | | | | | | | | Merge topic 'try_compile-link-flags'Brad King2014-12-084-0/+41
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 88eb5824 try_compile: Pass linker flags into test project (#14066) a4f9b6f0 CMakeDetermineCompilerABI: Use normal linker flags in ABI project
| * | | | | | | | | | | | | | | try_compile: Pass linker flags into test project (#14066)Brad King2014-12-034-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Copy CMAKE_EXE_LINKER_FLAGS into the test project generated by try_compile, just like we already copy CMAKE_<LANG>_FLAGS. Add CMake Policy CMP0056 to activate this behavior in a compatible way, but do not warn by default when the policy is not set since it will affect all try_compile calls. Extend the RunCMake.try_compile test with a case covering this behavior for each policy setting.
* | | | | | | | | | | | | | | | Merge topic 'xerces-rename'Brad King2014-12-054-2/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27141eed Modules: Rename FindXerces to FindXercesC
| * | | | | | | | | | | | | | | Modules: Rename FindXerces to FindXercesCBrad King2014-12-044-2/+4
| | |_|_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The FindXerces module was added in commit v3.1.0-rc1~155^2 (FindXerces: New module to find Apache Xerces-C++, 2014-08-17). However, there are two implementations of Xerces, one in C++: http://xerces.apache.org/xerces-c/ and one in Java: http://xerces.apache.org/xerces-j/ Rename FindXerces to FindXercesC to clarify that it is about the C++ implementation. While at it, add the missing CMake 3.1 release note about this module. Suggested-by: Erik Sjölund <erik.sjolund@gmail.com>
* | | | | | | | | | | | | | | Merge topic 'doc-file-GENERATE-order'Brad King2014-12-051-1/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fe21580b Help: Document file(GENERATE) signature option order
| * | | | | | | | | | | | | | Help: Document file(GENERATE) signature option orderBrad King2014-12-051-1/+3
| |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit v3.1.0-rc1~484^2 (Help: Format and revise file() command documentation, 2014-05-23) the signature of file(GENERATE) was accidentally simplified too much and dropped specification of the required argument ordering. Restore the signature to make the order clear.
* | | | | | | | | | | | | | Help: Document that IMPORTED targets in Find modules may be UNKNOWN.Stephen Kelly2014-12-041-0/+5
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Help: Document IMPORTED_CONFIGURATIONS target property for Find modules.Stephen Kelly2014-12-041-1/+40
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Help: Remove recommendation about checking minimum CMake version.Stephen Kelly2014-12-041-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If this file is being executed, the user has the CMake version providing it.
* | | | | | | | | | | | | | Help: Add useful links to IMPORTED targets and usage requirements.Stephen Kelly2014-12-041-4/+3
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Help: Remove disadvantage creating IMPORTED targets in Find modules.Stephen Kelly2014-12-041-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An IMPORTED target in either type of package can equally depend on an IMPORTED target in a Find module, which must be found as a dependency, which is presumably the problem being implied. This is not a distinction of creating an IMPORTED target in a Find module.
* | | | | | | | | | | | | | Help: Link to cmake-packages(7) from the Module creation documentation.Stephen Kelly2014-12-042-1/+5
| |_|/ / / / / / / / / / / |/| | | | | | | | | | | |
* | | | | | | | | | | | | Merge topic 'cached-regex-clear-fixed'Brad King2014-12-043-0/+14
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ceecd790 cmMakefile: store the number of last matches in a CMake var 7878d061 test: add a test for clearing regex results
| * | | | | | | | | | | | | cmMakefile: store the number of last matches in a CMake varBen Boeckel2014-12-033-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With PushScope and PopScope, keeping track of another bit of data for each scope isn't easy. Instead, store it as another CMake variable so it gets implicitly tracked along with everything else. This works in a revert of commit 7d674b5f0b28a610333644d417c2e8cb796cc9e4.
* | | | | | | | | | | | | | Merge topic 'vs-phone-store-deployment-location'Brad King2014-12-043-0/+13
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / / / |/| | | | | | | | | | | | / | | |_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | 352f246f VS: Add source file property to specify Windows App deployment location
| * | | | | | | | | | | | VS: Add source file property to specify Windows App deployment locationGilles Khouzam2014-12-033-0/+13
| | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a VS_DEPLOYMENT_LOCATION source file property to specify where to put files that are part of the package. For example: set_property(SOURCE ${ASSET_FILES} PROPERTY VS_DEPLOYMENT_LOCATION "assets") Without this, sources marked with VS_DEPLOYMENT_CONTENT cannot be located properly.
* | | | | | | | | | | | Merge topic 'file-LOCK-command'Brad King2014-12-032-0/+35
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 93017828 Help: Add notes for topic 'file-LOCK-command' e6db4c5a file: Add LOCK subcommand to do file and directory locking 05d6531c cmSystemTools: Add StringToInt helper
| * | | | | | | | | | | | Help: Add notes for topic 'file-LOCK-command'Brad King2014-12-031-0/+5
| | | | | | | | | | | | |
| * | | | | | | | | | | | file: Add LOCK subcommand to do file and directory lockingRuslan Baratov2014-12-031-0/+30
| | |/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide options to fail without blocking or to block up to a timeout. Provide options to specify the scope containing the lock so it can be released automatically at the end of a function, file, or process. Extend the RunCMake.file test with cases covering the file(LOCK) command usage and error cases.
* | | | | | | | | | | | Merge topic 'doc-CMAKE_CXX_KNOWN_FEATURES-typo'Brad King2014-12-031-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 37d684bd Help: Fix typo in CMAKE_CXX_KNOWN_FEATURES docs