summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* install(DIRECTORY): Add MESSAGE_NEVER option to avoid output (#13761)Brad King2014-06-2411-5/+54
| | | | | | | | | | | | 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-2415-8/+113
| | | | | | | | | 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>
* install: Thread message level setting through internal APIBrad King2014-06-2415-12/+49
| | | | | | | Create a cmInstallGenerator::MessageLevel enumeration for future use in specifying install message verbosity. Thread values of the type through constructors and save the value as a member of cmInstallGenerator. Use only a "MessageDefault" value for now.
* file(INSTALL): Add undocumented options to control output verbosityBrad King2014-06-247-3/+103
| | | | | | Create options "MESSAGE_ALWAYS", "MESSAGE_LAZY", and "MESSAGE_NEVER" to specify whether to print the "Installing" and "Up-to-date" messages. Extend the RunCMake.file test with cases covering these options.
* file(INSTALL): Report existing DIRECTORY as Up-to-dateBrad King2014-06-249-1/+47
| | | | | | | | | | | Teach cmFileCopier::InstallDirectory to detect whether the destination directory exists. If so, report it as "Up-to-date" instead of "Installing". This resolves message asymmetry with file installations. Extend the RunCMake.file and RunCMake.install tests to check the installation output on both the first and second run. Suggested-by: J Decker <d3ck0r@gmail.com>
* file(INSTALL): Do not pre-create DESTINATION for DIRECTORYBrad King2014-06-241-10/+13
| | | | | | When installing a DIRECTORY, do not pre-create the DESTINATION. The cmFileCopier::InstallDirectory method will create the directory anyway. Give it a chance to detect whether the directory already exists or not.
* cmInstallTargetGenerator: Drop default constructor argumentsBrad King2014-06-242-9/+22
| | | | | | They are used only in cmLocalGenerator::GenerateTargetInstallRules. Move the defaults to a local helper where the context justifies their values.
* 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 'FindOpenCL-fix-ENV'Brad King2014-06-231-21/+22
|\ | | | | | | | | d4295539 FindOpenCL: Added missing ENV for each environment variable reference
| * FindOpenCL: Added missing ENV for each environment variable referenceMatthäus G. Chajdas2014-06-231-21/+22
| | | | | | | | | | Also add an 'include' path suffix that may appear after the value of some of the environment variables.
* | Merge topic 'qthelp-context-fixes'Brad King2014-06-233-0/+43
|\ \ | | | | | | | | | | | | | | | d107949d Help: Add context to titles in QtHelp. b5002631 Help: Create proper identifiers for keywords in QtHelp.
| * | Help: Add context to titles in QtHelp.Stephen Kelly2014-06-171-0/+6
| | | | | | | | | | | | This allows disambiguation of identifiers in Qt Assistant and Creator.
| * | Help: Create proper identifiers for keywords in QtHelp.Stephen Kelly2014-06-172-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is necessary in order for the QHelpEngineCore::linksForIdentifier API to work. http://doc-snapshot.qt-project.org/qt5-5.3/qhelpenginecore.html#linksForIdentifier That API is used by QtCreator to enable contextual links to help files.
* | | Merge topic 'encoding-parse-commandline'Brad King2014-06-231-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | b6b493a4 Encoding: Fix debug asserts parsing command line options with non-ascii chars. 9dc88ee9 Merge topic 'fix-valgrind-in-path'
| * | | Encoding: Fix debug asserts parsing command line options with non-ascii chars.Clinton Stimpson2014-06-171-1/+1
| | | | | | | | | | | | | | | | With MSVC, isspace() will assert with non-ascii characters.
| * | | Merge topic 'fix-valgrind-in-path'Brad King2014-06-171-4/+5
| |\ \ \ | | | | | | | | | | | | | | | 58cc3c22 Fix ctest to allow valgrind to show up in the path name of a memcheck tool.
* | \ \ \ Merge topic 'InstallRequiredSystemLibraries-repeat'Brad King2014-06-231-0/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 15a19c31 InstallRequiredSystemLibraries: Allow repeat use per-config
| * | | | | InstallRequiredSystemLibraries: Allow repeat use per-configBjoern Thiel2014-06-161-0/+6
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | To be able to include InstallRequiredSystemLibraries more than once (e.g. to get the Debug and Release libraries separately), clear the internal library list for non-matching configuration.
* | | | | CMake Nightly Date StampKitware Robot2014-06-231-1/+1
| |_|_|/ |/| | |
* | | | CMake Nightly Date StampKitware Robot2014-06-221-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2014-06-211-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2014-06-201-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2014-06-191-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2014-06-181-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2014-06-171-1/+1
|/ / /
* | | Merge topic 'fix-valgrind-in-path'Brad King2014-06-161-4/+5
|\ \ \ | |/ / |/| / | |/ | | 58cc3c22 Fix ctest to allow valgrind to show up in the path name of a memcheck tool.
| * Fix ctest to allow valgrind to show up in the path name of a memcheck tool.Bill Hoffman2014-06-131-4/+5
| | | | | | | | | | | | | | For testing purposes CMake creates dummy memory checkers. The dummy checkers are in the CMake build tree. Before this change when the path contained the string valgrind, such as CMake-valgrind, all the checkers were thought to be valgrind, and this caused tests to fail.
* | Merge topic 'features-cleanups'Brad King2014-06-164-20/+23
|\ \ | | | | | | | | | | | | | | | | | | | | | 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: Fix compiler id test for compatibility macros.Stephen Kelly2014-06-131-4/+4
| | | | | | | | | | | | Enable the alignment features for Clang.
| * | Project: Detect other compilers before detecting Clang.Stephen Kelly2014-06-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit v2.8.10.1~5^2 (Fix PathScale compiler id for Clang-based upstream, 2012-11-05) re-ordered the detection logic for PathScale. Other compiler vendors are also producing Clang-based frontends, so detect "actual" Clang as one of the last compilers to allow for others doing the same. http://llvm.org/devmtg/2014-04/PDFs/Posters/ClangIntel.pdf http://docwiki.embarcadero.com/RADStudio/XE5/en/Clang-based_C%2B%2B_Compilers
| * | WCDH: Remove noise from generated defines.Stephen Kelly2014-06-132-12/+12
| | | | | | | | | | | | | | | | | | 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.
| * | Features: Escape the COMPILE_OPTIONS for dialects.Stephen Kelly2014-06-131-2/+5
| | | | | | | | | | | | | | | Allow for future handling as a list, not a string which may contain whitespace.
* | | Merge topic 'ninja-avoid-double-phony'Brad King2014-06-161-0/+9
|\ \ \ | | | | | | | | | | | | | | | | 04377f1b Ninja: Remove CMake includes from explicit depends (#14972)
| * | | Ninja: Remove CMake includes from explicit depends (#14972)Adam Strzelecki2014-06-161-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It may happen that CMake include is an explicit dependency for some command, while all CMake includes are set phony in WriteTargetRebuildManifest, this may lead to duplicate phony generate rules which causes ninja warnings. We need to remove implicit CMake includes in WriteUnknownExplicitDependencies. This fixes FindCUDA ninja warnings.
* | | | Merge topic 'vs-subdir-sln-depends'Brad King2014-06-168-49/+43
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cb67509b VS: Remove unused parameter of WriteTargetConfigurations 790e1677 VS: Fix subproject .sln dependencies on custom targets 5fba44cf VS: Move VS-only API out of cmGlobalGenerator
| * | | | VS: Remove unused parameter of WriteTargetConfigurationsBrad King2014-06-133-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | The cmGlobalVisualStudio7Generator::WriteTargetConfigurations 'root' parameter is no longer used, so remove it.
| * | | | VS: Fix subproject .sln dependencies on custom targetsBrad King2014-06-125-35/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Each project listed in a .sln must be marked (or not) as part of the "default build" for each configuration. For targets created by the add_custom_target() command we add them to the default build if they are not excluded in some way or if another target depends on them. In the top-level .sln, a custom target is excluded if it is not created with the ALL option to add_custom_target. In subdirectory .sln files, a target may also be excluded if it is not within the directory and is brought into the solution only due to a dependency from another target in the solution. Fix the "IsPartOfDefaultBuild" and "IsDependedOn" methods to check every target to be included in the .sln for a dependency on the custom target. Otherwise transitive dependencies through targets not in the current subdirectory will not be considered. Extend the SubProject test with a custom target to cover this case. Reported-by: William Deurwaarder <William.Deurwaarder@tomtom.com> Reported-by: Dirk Steenpass <dirk.steenpass@gmail.com>
| * | | | VS: Move VS-only API out of cmGlobalGeneratorBrad King2014-06-124-33/+32
| | | | | | | | | | | | | | | | | | | | | | | | | Move the IsDependedOn method to cmGlobalVisualStudio7Generator since that is the only caller.
* | | | | Merge topic 'cmake-no-args-output'Brad King2014-06-165-5/+52
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | de7c2882 cmake,ccmake: Produce shorter output on no arguments (#14973)
| * | | | | cmake,ccmake: Produce shorter output on no arguments (#14973)Adam Strzelecki2014-06-135-5/+52
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead printing complete help cmake/ccmake now prints only Usage section and extra information how to get more help or start your build. Implementation Details: Usage help type was renamed to Help, and new Usage was introduces that prints only command line usage information without any extra details. Commands add some extra information when no arguments are passed.
* | | | | CMake Nightly Date StampKitware Robot2014-06-161-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2014-06-151-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2014-06-141-1/+1
| | | | |
* | | | | Merge topic 'fix-read-after-free'Brad King2014-06-131-5/+13
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5b2c2d2f Merge branch 'backport-fix-read-after-free' into fix-read-after-free 23ffb72a cmake: Fix read-after-free while checking command-line arguments fe44f057 cmake: Fix read-after-free while checking command-line arguments
| * \ \ \ \ Merge branch 'backport-fix-read-after-free' into fix-read-after-freeBrad King2014-06-120-0/+0
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Resolve conflicts in Source/cmake.cxx in our favor.
| | * | | | | cmake: Fix read-after-free while checking command-line argumentsBrad King2014-06-121-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v2.8.12~300^2~1 (CLI: Suppress the unused warning if the key value pair is cached, 2013-05-16), cmake::SetCacheArgs saves a cachedValue pointer and may cause the memory to be freed (by setting the cache entry) before reading it again. Fix this by saving the old value in a separate string.
| * | | | | | cmake: Fix read-after-free while checking command-line argumentsBrad King2014-06-121-5/+13
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v2.8.12~300^2~1 (CLI: Suppress the unused warning if the key value pair is cached, 2013-05-16), cmake::SetCacheArgs saves a cachedValue pointer and may cause the memory to be freed (by setting the cache entry) before reading it again. Fix this by saving the old value in a separate string.
* | | | | | Merge topic 'buildsystem-doc-updates'Brad King2014-06-133-20/+53
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 20f54602 Help: Link to Object Library docs from add_library a8153181 Help: Organize add_library command documentation d8319f0f Help: Update style guide to use section headers for command signatures 50dca471 Help: Organize Binary Targets section of cmake-buildsystem.7 4054534c Help: Mention INTERFACE_SOURCES as settable for INTERFACE libs
| * | | | | | 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.