summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Help: Add notes for topic 'generalize-LINK_ONLY'Brad King2014-07-161-0/+6
|
* 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.
* Merge topic 'thread-sanitizer'Brad King2014-07-093-0/+12
|\ | | | | | | | | | | 7c80ce6f Help: Add notes for topic 'thread-sanitizer' 49948f72 ctest_memcheck: Add support for ThreadSanitizer
| * Help: Add notes for topic 'thread-sanitizer'Brad King2014-07-091-0/+5
| |
| * ctest_memcheck: Add support for ThreadSanitizerBill Hoffman2014-07-092-0/+7
| | | | | | | | | | | | | | | | | | 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.
* | Merge topic 'allow-OBJECT-library-extra-sources'Brad King2014-07-092-1/+8
|\ \ | |/ |/| | | | | | | | | 2c470b77 add_library: Allow arbitrary non-linked sources in OBJECT libraries de4f3e2c Tests: Fix broken dependency in ObjectLibrary test 54bf5858 Tests: Resolve TODO comment left in ObjectLibrary test
| * add_library: Allow arbitrary non-linked sources in OBJECT librariesBrad King2014-07-092-1/+8
| | | | | | | | | | | | | | | | | | | | | | Loosen this restriction on OBJECT libraries to allow source files of any name to be generated by custom commands or listed for reference in IDE projects so long as they would not affect linking of a normal library. Update the rejection message to be more specific about the looser restriction. Extend the ObjectLibrary test to cover a ".cmake" file generated by a custom command in an OBJECT library.
* | Help: Add notes for topic 'export-from-obj-libs'Brad King2014-07-071-0/+5
|/
* Merge topic 'FindVTK-drop-4.0-support'Brad King2014-07-011-0/+6
|\ | | | | | | | | 117e7e11 FindVTK: Drop support for finding VTK 4.0
| * FindVTK: Drop support for finding VTK 4.0Brad King2014-07-011-0/+6
| | | | | | | | | | Convert to a simple thin-wrapper around the find_package(VTK NO_MODULE). This makes the code much simpler and improves error messages.
* | Merge topic 'vs14-generator'Brad King2014-06-306-3/+23
|\ \ | |/ |/| | | | | | | | | | | | | | | | | f0e298ad Help: Add notes for topic 'vs14-generator' 5c105140 Tests: Simplify LoadCommand tests b1cbd577 FindBoost: Add -vc140 mangling for VS 14 bdc7d9c8 VS14: Fix Cl and Link flag tables as previous versions d96b3f68 VS14: Generate flag tables from MSBuild v140 tool files 65624c39 VS14: Add Visual Studio 14 generator (#14982) 8635ac23 Tests/Preprocess: Remove unnecessary VS version tests
| * Help: Add notes for topic 'vs14-generator'Brad King2014-06-271-0/+4
| |
| * VS14: Add Visual Studio 14 generator (#14982)Brad King2014-06-255-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Call the generator "Visual Studio 14" without any year because this version of VS does not provide a year in the product name. Copy cmGlobalVisualStudio12Generator to cmGlobalVisualStudio14Generator and update version numbers accordingly. Add the VS14 enumeration value. Teach the platform module Windows-MSVC to set MSVC14 and document the variable. Teach module InstallRequiredSystemLibraries to look for the VS 14 runtime libraries. Teach tests CheckCompilerRelatedVariables, VSExternalInclude, and RunCMake.GeneratorToolset to treat VS 14 as they do VS 10, 11, and 12. Co-Author: Pawel Stopinski <diokhan@go2.pl>
* | Merge topic 'install-messages'Brad King2014-06-275-7/+65
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d19b64d6 install(DIRECTORY): Add MESSAGE_NEVER option to avoid output (#13761) c9568de5 install: Add CMAKE_INSTALL_MESSAGE variable (#13761) ec7cf7ea install: Thread message level setting through internal API abebcd23 file(INSTALL): Add undocumented options to control output verbosity 464567a5 file(INSTALL): Report existing DIRECTORY as Up-to-date f701b0b7 file(INSTALL): Do not pre-create DESTINATION for DIRECTORY f0a01962 cmInstallTargetGenerator: Drop default constructor arguments 67815894 Help: Add install() command document section headers
| * | install(DIRECTORY): Add MESSAGE_NEVER option to avoid output (#13761)Brad King2014-06-242-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Installing large directories, e.g., the output of a doxygen run, prints one line per file resulting in too much noise in the build output. Add an option to the install(DIRECTORY) command to not print anything upon make install. Extend the RunCMake.install test with cases covering MESSAGE_NEVER behavior of the install(DIRECTORY) command. Suggested-by: Stefan Eilemann <Stefan.Eilemann@epfl.ch>
| * | install: Add CMAKE_INSTALL_MESSAGE variable (#13761)Brad King2014-06-245-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | Create a variable to allow users to control which installation messages are printed. In particular, provide a "LAZY" setting that prints "Installing" messages but not "Up-to-date" messages. This is desirable for incremental re-installations. Suggested-by: J Decker <d3ck0r@gmail.com>
| * | Help: Add install() command document section headersBrad King2014-06-241-5/+17
| | | | | | | | | | | | | | | Use section headers instead of horizontal dividers so that one may link to the sections.
* | | Merge topic 'find-module-targets'Brad King2014-06-251-0/+8
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | 1d8de85d Help: Add notes for topic 'find-module-targets' 144b255b FindGLUT.cmake: Add imported targets and documentation c90c7fca FindX11: fix documentation formatting error 3d82a223 FindGLEW: Add imported target and documentation 5a7ff421 FindZLIB: Add imported target and documentation
| * | Help: Add notes for topic 'find-module-targets'Brad King2014-06-251-0/+8
| |/
* | cmake: Add '-E env' command-line toolBrad King2014-06-232-1/+5
|/ | | | | | | | | | | | | Extend the cmake command-line interface to support cmake -E env [--unset=NAME]... [NAME=VALUE]... COMMAND [ARG]... This will be useful to run processes with modified environments without using a shell or a full "cmake -P" script to wrap it. Extend the RunCMake.CommandLine test to cover success and failure cases. Inspired-by: Jonathan Bohren <jbo@jhu.edu>
* Merge topic 'features-cleanups'Brad King2014-06-161-5/+5
|\ | | | | | | | | | | | | | | f0a0f3dc WCDH: Fix compiler id test for compatibility macros. 627ad96b Project: Detect other compilers before detecting Clang. bc950169 WCDH: Remove noise from generated defines. eecd93fc Features: Escape the COMPILE_OPTIONS for dialects.
| * WCDH: Remove noise from generated defines.Stephen Kelly2014-06-131-5/+5
| | | | | | | | | | | | The DECL part is redundant, and the language part is not needed. The source language and context already determines the language, so there is no need to repeat it in the define name.
* | Help: Link to Object Library docs from add_libraryBrad King2014-06-121-2/+2
| |
* | Help: Organize add_library command documentationBrad King2014-06-121-4/+15
| | | | | | | | | | Add a section for each library type signature. Add a table of contents at the top for the html builder.
* | Help: Update style guide to use section headers for command signaturesBrad King2014-06-121-3/+4
| | | | | | | | | | In order to be able to link to specific command signatures we need to use a section header instead of a horizontal separator.
* | Help: Organize Binary Targets section of cmake-buildsystem.7Brad King2014-06-121-7/+26
| | | | | | | | | | | | Add a subsection for Binary Executables just before Binary Library Types. Divide the library section into Normal Libraries and Object Libraries.
* | Help: Mention INTERFACE_SOURCES as settable for INTERFACE libsBrad King2014-06-122-4/+6
|/ | | | | | | The add_library(INTERFACE) and Interface Libraries documentation list all the INTERFACE_* properties and target_* commands that can be used to define the interface. Add INTERFACE_SOURCES and target_sources() to these lists for completeness.
* Merge topic 'FindOpenGL-target'Brad King2014-06-091-0/+5
|\ | | | | | | | | 4883813f Help: Add notes for topic 'FindOpenGL-target'
| * Help: Add notes for topic 'FindOpenGL-target'Brad King2014-06-091-0/+5
| |
* | Help: Add notes about new OpenWatcom compiler id and versioningBrad King2014-06-052-1/+10
| |
* | Merge topic 'delay-generator-toolset'Brad King2014-06-052-0/+14
|\ \ | | | | | | | | | | | | | | | | | | 528e8af1 Allow a toolchain file to specify a generator toolset 98afb454 VS: Split user- and generator-provided PlatformToolset 3e9f6e36 Xcode: Rename internal variable {Platform => Generator}Toolset
| * | Allow a toolchain file to specify a generator toolsetBrad King2014-06-042-0/+14
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Delay use of CMAKE_GENERATOR_TOOLSET until the CMakeSystem.cmake file has been configured and loaded during the first project() or enable_language() command. This gives the toolchain file named by CMAKE_TOOLCHAIN_FILE a chance to set CMAKE_GENERATOR_TOOLSET. This point is still early enough to set the generator toolset prior to the initialization of any languages that might use the toolset. The cmake::GeneratorToolset member variable remains an indication of what was specified by the -T option or loaded from the cache. It does not need to be updated based on the toolchain file setting. The cmMakefile::TryCompile can still pass cmake::GeneratorToolset into the inner instance because the try-compiled project will do platform and language initialization using the CMakeSystem module configured for the outer project. Extend the RunCMake.GeneratorToolset test with cases that use a toolchain file to set CMAKE_GENERATOR_TOOLSET.
* | Merge topic 'minor-help-cleanup'Brad King2014-06-053-2/+4
|\ \ | | | | | | | | | | | | | | | | | | 7eef823e Help: Add comma to assist parsing of ctest_build command docs. 5fb9b16d Help: Document that file(GENERATE) re-writes only when needed. 95135ac3 Help: Add missing external link marker.
| * | Help: Add comma to assist parsing of ctest_build command docs.Stephen Kelly2014-06-051-1/+1
| | |
| * | Help: Document that file(GENERATE) re-writes only when needed.Stephen Kelly2014-06-051-0/+2
| | |
| * | Help: Add missing external link marker.Stephen Kelly2014-06-051-1/+1
| |/
* | CTest: Generalize Cobertura coverage format handlingJoseph Snyder2014-06-041-0/+55
|/ | | | | | | | | Add support for Cobertura coverage files written by Java. Add a test which uses the report from a Java run of Cobertura to calculate coverage. In the documentation of CTEST_COVERAGE_COMMAND, give a sample .sh file to merge the Cobertura .ser files and generate the XML report from the merged file.
* Help: Convert CTest Script variable references to cross-referencesBrad King2014-06-032-45/+47
| | | | | | In the ctest(1) manual and ctest_start() command documentation, convert mentions of CTest Script variables to cross-references so they will be rendered as links.
* Help: Add placeholder documents for CTest Script variablesBrad King2014-06-0345-0/+270
| | | | | | Provide a minimal explanation of each variable by simply naming the corresponding ctest(1) setting and linking to the ctest(1) manual.
* Merge topic 'doc-include-dir-props'Brad King2014-06-033-3/+35
|\ | | | | | | | | 907e422b Help: Explain build/install-tree include dirs in more places (#14946)
| * Help: Explain build/install-tree include dirs in more places (#14946)Brad King2014-06-023-3/+35
| | | | | | | | | | | | | | | | | | | | | | Explain how to use $<BUILD_INTERFACE> and $<INSTALL_INTERFACE> directly in the documentation of the target_include_directories command and INTERFACE_INCLUDE_DIRECTORIES target property. Otherwise readers need to notice the link to the cmake-buildsystem(7) manual and find the example in that to understand the need for these expressions. Also fix the explanation in cmake-buildsystem(7) to not claim that relative paths may be used inside a BUILD_INTERFACE expression.
| * Help: Add code example for INSTALL_INTERFACE to cmake-buildsystem.Stephen Kelly2014-06-021-1/+11
| |
* | Help: Document section header underline hierarchy in cmake-developer.7Brad King2014-06-021-0/+9
| | | | | | | | | | | | Explicitly specify the sequence of underline characters we use in the CMake documentation. It is the same sequence as that suggested in the Sphinx documentation, but we have our own descriptions.