summaryrefslogtreecommitdiffstats
path: root/Help/manual
Commit message (Collapse)AuthorAgeFilesLines
* Help/manual: Avoid long lines in code blocksBrad King2014-10-224-6/+21
| | | | | | Update the wording of some examples to avoid long lines in code blocks. Otherwise the formatted documentation can exceed certain column width limitations.
* Merge topic 'doc-drop-dart'Brad King2014-10-091-8/+5
|\ | | | | | | | | b8aa0cdf Help: Replace 'Dart' with 'CDash' in ctest.1 manual
| * Help: Replace 'Dart' with 'CDash' in ctest.1 manualBrad King2014-10-081-8/+5
| | | | | | | | | | | | The modern dashboard server is CDash, not Dart, so update the manual to talk about CTest as a CDash client. Also drop documentation for a Dart2-specific option.
* | Merge topic 'ctest-memcheck-sanitizers'Brad King2014-10-072-0/+13
|\ \ | | | | | | | | | | | | | | | | | | | | | f25e431d tests: set sanitizer options properly f0661bf3 tests: fix copy/paste from tsan -> asan comments ca9cc25c ctest: add support for additional sanitizer options 0b9ffffc ctest: update documentation for CTEST_MEMORYCHECK_TYPE
| * | ctest: add support for additional sanitizer optionsBen Boeckel2014-10-032-0/+7
| | | | | | | | | | | | | | | Sanitizers receive options through their environment variable; support user-specified options here.
| * | ctest: update documentation for CTEST_MEMORYCHECK_TYPEBen Boeckel2014-10-031-0/+6
| | | | | | | | | | | | | | | | | | The AddressSanitizer value was not documented. Also fix some typos.
* | | Help: Clarify size_t usage in cmake-developer.7Robert Maynard2014-10-031-2/+2
|/ /
* | Merge topic 'vs-nsight-tegra-generator'Brad King2014-09-302-0/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | df84281d Help: Add notes for topic 'vs-nsight-tegra-generator' 69e198dc VS: Generate Nsight Tegra project revision number 5365c9ac VS: Map Nsight Tegra file types in .vcxproj files 178f56a5 VS: Fix Tegra-Android platform linking of libraries by name 7115702f Tests: Add test for VS Nsight Tegra generator support a6289499 VS: Generate ANDROID_GUI executables as app packages c12e4699 Add 'ANDROID_API' target property to set Android Target API 9a4df52a Add 'ANDROID_GUI' target property to mark Android applications 16569abf cmTarget: Track internally whether platform is Android ef0fd4f0 VS: Teach vcxproj generation about the Tegra-Android platform d09b60f5 VS: Detect compiler id of Nsight Tegra-Android toolchains 2f071466 VS: Teach VS >= 10 to recognize CMAKE_SYSTEM_NAME 'Android'
| * | Add 'ANDROID_API' target property to set Android Target APIBrad King2014-09-302-0/+2
| | | | | | | | | | | | Also add a 'CMAKE_ANDROID_API' variable to set the property default.
| * | Add 'ANDROID_GUI' target property to mark Android applicationsBrad King2014-09-292-0/+2
| | | | | | | | | | | | | | | | | | | | | Also add a 'CMAKE_ANDROID_GUI' variable to set the property default so a project can easily make all executables Android applications. An Android application executable file has the same extension as a shared library (.so).
| * | VS: Teach VS >= 10 to recognize CMAKE_SYSTEM_NAME 'Android'Brad King2014-09-291-0/+1
| | | | | | | | | | | | | | | | | | | | | When CMAKE_SYSTEM_NAME is 'Android', check for an installation of 'NVIDIA Nsight Tegra Visual Studio Edition' and generate .vcxproj files for the "Tegra-Android" platform. Also make the installed version available in a CMAKE_VS_NsightTegra_VERSION variable.
* | | Help: Add Windows Phone/Store cross-compiling to cmake-toolchains.7Brad King2014-09-191-0/+22
| | | | | | | | | | | | Show simple example toolchain files for each.
* | | Help: Add Windows CE cross-compiling to cmake-toolchains.7 manualPascal Bach2014-09-191-0/+26
| | |
* | | Help: Add Cross Compiling subsections in cmake-toolchains.7 manualPascal Bach2014-09-191-14/+30
|/ / | | | | | | | | Organize the "Cross Compiling" section into subsections by platform. This will make it easier to add more subsections for more platforms.
* | Merge topic 'vs-generator-platform'Brad King2014-09-151-0/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | be6a555d Tests: Test setting a generator platform in a toolchain file d506fee8 Tests: Use -A option to pass generator platform selection 11c9ddd6 ExternalProject: Use -A option to pass generator platform 29bd843e CTest: Use -A option to pass generator platform selection eb7d8156 cmake: Add -A option to specify a generator platform
| * | cmake: Add -A option to specify a generator platformBrad King2014-09-151-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define the 'cmake -A' option to set CMAKE_GENERATOR_PLATFORM without having to spell out the whole variable name. We choose the name '-A' for "platform" because '-P' is already taken, and in the common use case the "platform" is actually an architecture (e.g. x64). Teach the RunCMake test infrastructure to use -A to pass the generator platform. Extend the RunCMake.GeneratorPlatform test with a case to verify that the -A option cannot be repeated.
* | | Merge topic 'if-sanity'Brad King2014-09-151-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 858d5a0b Fix if() checks of CMAKE_SYSTEM_NAME on Cygwin e177e7af FPHSA: Avoid if() dereferencing of quoted variable 425acc52 cmcurl: Use if(DEFINED) to simplify conditions cede5cbd libarchive: Avoid depending on if() to dereference a quoted variable 2d97178b FindGTK2: Avoid depending on if() to dereference a quoted variable 0b12815d Modules/Test*.cmake: Use if(DEFINED) to simplify conditions 188a1f23 If: Introduce policy CMP0054 - don't dereference quoted variables in if() b900c1cc If: Extract cmConditionEvaluator from if() implementation
| * | | If: Introduce policy CMP0054 - don't dereference quoted variables in if()Nils Gladitz2014-09-111-0/+1
| | | |
* | | | Help: Document the WINCE variablePascal Bach2014-09-111-0/+1
| |/ / |/| |
* | | CTest: Add options to set generator platformBrad King2014-09-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ctest_configure command already reads the CTEST_CMAKE_GENERATOR variable to get the value for the cmake -G option. Read new variable CTEST_CMAKE_GENERATOR_PLATFORM to pass on as CMAKE_GENERATOR_PLATFORM. The "ctest --build-and-test" mode already has "--build-generator" to specify the -G option to CMake. Add a "--build-generator-platform" option to specify a value to pass on as CMAKE_GENERATOR_PLATFORM.
* | | CMake: Add CMAKE_GENERATOR_PLATFORM optionBrad King2014-09-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reject the option by default. It will be implemented on a per-generator basis. Pass the setting into try_compile project generation. Add cache entry CMAKE_GENERATOR_PLATFORM and associated variable documentation to hold the value persistently. Add a RunCMake.GeneratorPlatform test to cover basic use cases for the option. Verify that CMAKE_GENERATOR_PLATFORM is empty by default, and that it is rejected when the generator does not support a user setting.
* | | Help: Document CMAKE_VS_PLATFORM_NAME variableBrad King2014-09-051-0/+1
|/ /
* | Merge topic 'vs-windows-apps'Brad King2014-09-021-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 39fefde2 VS: Add test case for Windows Phone and Windows Store 89da8465 MSVC: Define 'WIN32' for Windows Store and Windows Phone ed7f085f Help: Add notes for topic 'vs-windows-apps' dd11ae8f VS: Do not compile C sources as WinRT (#15100) b8e40538 VS: Mark Windows Phone and Store targets as App Containers 0432f062 VS: Always ignore ole32 on Windows Phone 8.0 e6ff2f8b VS: Generate Windows Metadata for WinRT components ee48f4c7 VS: Generate Windows Phone and Windows Store projects as Unicode cb1aceed VS: Add VS_WINRT_COMPONENT property to enable CompileAsWinRT 401269e4 VS: Handle .pfx files explicitly in generator 23782171 VS: Handle AppxManifest sources explicitly in generator bc373c6d VS: Set Window Phone/Store app type in CMake-generated targets d89b2889 VS: Mark CMake-generated targets as Utility in .vcxproj files 03ad8f28 CMakeDetermineCompilerABI: Link with standard libraries on MSVC
| * | VS: Add VS_WINRT_COMPONENT property to enable CompileAsWinRTGilles Khouzam2014-08-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Deprecate VS_WINRT_EXTENSIONS and document VS_WINRT_COMPONENT as for VS generators only. Also define _WINRT_DLL in SHARED libraries in order to get a .lib produced. Inspired-by: Paul Annetts <paul@lightunobscured.com>
* | | Merge topic 'FindXerces'Brad King2014-08-221-0/+1
|\ \ \ | | | | | | | | | | | | | | | | 20407006 FindXerces: New module to find Apache Xerces-C++
| * | | FindXerces: New module to find Apache Xerces-C++Roger Leigh2014-08-211-0/+1
| |/ /
* | | FindIce: New module to find ZeroC IceRoger Leigh2014-08-211-0/+1
|/ / | | | | | | | | | | | | | | | | - autodetects Ice on all major platforms - allows building with all supported Visual Studio versions on Windows - autodetects the slice path on most platforms - separately detects the Ice programs, headers, slice files and libraries so that any Ice configuration or installation errors can be accurately reported, making diagnosis of Ice problems simpler
* | Merge topic 'vs-special-source-file-properties'Brad King2014-08-181-0/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | aa21001b Help: Add notes for topic 'vs-special-source-file-properties' 6fe770e1 VS: Add a source file property to set the hlsl shader type 9b4dc2ad VS: Add a source file property to mark content for Windows App deployment f063a914 VS: Re-arrange WriteExtraSource to support tool configuration
| * | VS: Add a source file property to set the hlsl shader typeBrad King2014-08-121-0/+1
| | | | | | | | | | | | | | | | | | Create a VS_SHADER_TYPE source file property. Inspired-by: Gilles Khouzam <gillesk@microsoft.com>
| * | VS: Add a source file property to mark content for Windows App deploymentBrad King2014-08-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Create a VS_DEPLOYMENT_CONTENT source file property, supporting generator expressions, to compute whether a source file should be marked as DeploymentContent or ExcludedFromBuild in Windows Phone and Windows Store projects. Inspired-by: Minmin Gong <minmin.gong@gmail.com>
* | | Merge topic 'ctest_update_status_only'Brad King2014-08-182-0/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | 653529ce CTest: Allow / to be in the build name, and be consistent with the build name 39b5df2f ctest_update: Add CTEST_UPDATE_VERSION_ONLY option to only note the version
| * | | ctest_update: Add CTEST_UPDATE_VERSION_ONLY option to only note the versionBill Hoffman2014-08-182-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows ctest_update to get the current version without actually changing the repository. This is useful when using Jenkins or an external project to update the source to a specific version, but you still want the current version to show up in CDash.
* | | | Merge topic 'add-CheckFortranSourceCompiles'Brad King2014-08-181-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 7386d0d6 Add CheckFortranSourceCompiles module (#14656)
| * | | | Add CheckFortranSourceCompiles module (#14656)Brad King2014-08-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Copy the CheckCSourceCompiles module and port it to Fortran. Extend the FortranOnly test to try using the new module. Suggested-by: Nicolas Bock <nicolasbock@gmail.com>
* | | | | Merge topic 'vs-windows-phone-and-store'Brad King2014-08-121-0/+2
|\ \ \ \ \ | |_|/ / / |/| | / / | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5d3d9a22 Help: Add notes for topic 'vs-windows-phone-and-store' 401a00d9 VS: Set WindowsPhone and WindowsStore min VS version required 709cebde VS: Generate WindowsPhone and WindowsStore application types 72395ab2 VS: Add .sln "Deploy" mark for WindowsPhone and WindowsStore binaries 2074f581 MSVC: Add system libs for WindowsPhone and WindowsStore c72f0887 MSVC: Add default WindowsPhone and WindowsStore compile flags 1c94558a MSVC: Disable incremental linking for WindowsPhone and WindowsStore 592098e2 Define 'WINDOWS_PHONE' and 'WINDOWS_STORE' variables aa42a78f Add WindowsPhone and WindowsStore platform information modules b94ddf6c CMakeDetermineCompilerId: Recognize WindowsPhone and WindowsStore d7938bff VS: Select WindowsPhone and WindowsStore default toolsets 3abd150c VS: Save WindowsPhone and WindowsStore system internally
| * | | Define 'WINDOWS_PHONE' and 'WINDOWS_STORE' variablesGilles Khouzam2014-07-311-0/+2
| |/ / | | | | | | | | | | | | Set one of these when CMAKE_SYSTEM_NAME is "WindowsPhone" or "WindowsStore", respectively.
* | | CPackWIX: Implement CPACK_WIX_ACL (Access Control List) propertyNils Gladitz2014-08-091-0/+1
|/ /
* | Merge topic 'pdb-genex'Brad King2014-07-311-0/+11
|\ \ | | | | | | | | | | | | | | | f86850ef Genex: Implement generator expressions for target PDB files. 028ad318 Genex: Simplify filesytem artifact code
| * | Genex: Implement generator expressions for target PDB files.Nils Gladitz2014-07-311-0/+11
| | |
* | | CPack: Add an "IFW" generator for Qt Framework InstallerKonstantin Podsvirov2014-07-281-0/+1
|/ / | | | | | | | | | | | | | | Add support for packaging with the Qt Framework Installer tools: http://qt-project.org/doc/qtinstallerframework/index.html Reviewed-by: Nils Gladitz <nilsgladitz@gmail.com>
* | Help: Document deprecated properties.Nils Gladitz2014-07-211-5/+29
| | | | | | | | | | | | Document the COMPILE_DEFINITIONS_<Config> properties as deprecated. Add new sections for deprecated properties and move POST_INSTALL_SCRIPT and PRE_INSTALL_SCRIPT there as well.
* | Make $<LINK_ONLY> available to projects (#14751)Brad King2014-07-161-0/+7
| | | | | | | | | | | | | | | | Previously this generator expression was used internally by the target_link_libraries command to honor private linking requirements of static libraries in their INTERFACE_LINK_LIBRARIES. Remove the check that limits $<LINK_ONLY> to this use case to make it available for project code to use too.
* | Merge topic 'doc-package-target-import-once'Brad King2014-07-151-11/+4
|\ \ | | | | | | | | | | | | 0fee3f47 Revert "Help: Update cmake-packages.7 examples to import targets only once"
| * | Revert "Help: Update cmake-packages.7 examples to import targets only once"Brad King2014-07-151-11/+4
| | | | | | | | | | | | | | | | | | This reverts commit cfab942e5ff8463f8053564e68179da110280b43. Since commit v2.8.11~362^2 (Generate an early-return guard in target Export files, 2012-11-30) an external include guard is not needed.
* | | Merge topic 'doc-genex-id-values'Brad King2014-07-141-1/+6
|\ \ \ | | | | | | | | | | | | | | | | 5690a963 Help: Link to variables corresponding to id and version expressions (#15012)
| * | | Help: Link to variables corresponding to id and version expressions (#15012)Brad King2014-07-141-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | In the cmake-generator-expressions(7) manual, link to the variables that correspond to the PLATFORM_ID, C_COMPILER_ID, CXX_COMPILER_ID, C_COMPILER_VERSION, and CXX_COMPILER_VERSION generator expressions.
* | | | Merge topic 'interface-sources-target-objects'Brad King2014-07-141-0/+6
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | affe9d56 Allow INTERFACE_SOURCES to specify $<TARGET_OBJECTS> (#14970)
| * | | Allow INTERFACE_SOURCES to specify $<TARGET_OBJECTS> (#14970)Brad King2014-07-141-0/+6
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix cmTarget::GetSourceFiles to set EvaluateForBuildsystem on the $<TARGET_PROPERTY:...,INTERFACE_SOURCES> generator expression so that the $<TARGET_OBJECTS> generator expression is allowed within an INTERFACE_SOURCES value. Extend the InterfaceLibrary test to cover this case. Extend the RunCMake.TargetObjects test to cover failure of $<TARGET_OBJECTS> when used through $<TARGET_PROPERTY:...,INTERFACE_SOURCES> in a non-buildsystem context.
* | | Help: Update cmake-packages.7 examples to import targets only onceBrad King2014-07-091-4/+11
|/ / | | | | | | | | | | Package configuration files should load their targets files at most once in a given scope. Update our ClimbingStats example to show how to do this.
* | ctest_memcheck: Add support for ThreadSanitizerBill Hoffman2014-07-091-0/+1
| | | | | | | | | | | | | | | | | | This commit adds support for ThreadSanitizer to ctest. ThreadSanitizer is part of the clang compiler and also gcc 4.8 and later. You have to compile the code with special flags. Then your code gets the the ThreadSanitizer ability built into it. To pass options to the ThreadSanitizer you use an environment variable. This commit teaches ctest to parse the output from ThreadSanitizer and send it to CDash.