summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* VS14: Add Visual Studio 14 generator (#14982)Brad King2014-06-256-1/+170
| | | | | | | | | | | | | | | | 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 'gfortran-compressed-modules'Brad King2014-06-241-14/+27
|\ | | | | | | | | d90be200 Fortran: Add support for GNU >= 4.9 compressed modules (#14975)
| * Fortran: Add support for GNU >= 4.9 compressed modules (#14975)Brad King2014-06-231-14/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | From the GCC 4.9 release notes for Fortran: https://gcc.gnu.org/gcc-4.9/changes.html "Module files: The version of the module files (.mod) has been incremented; additionally, module files are now compressed." Teach cmDependsFortran::ModulesDiffer to look for the gzip magic numbers at the beginning of the module file. If found, assume the module was produced by gfortran >= 4.9. The modules do not appear to contain the date as earlier versions did so we can compare the content directly and do not actually need to decompress.
* | Merge topic 'stringapi-crash-cleanup'Brad King2014-06-243-3/+3
|\ \ | | | | | | | | | | | | c491cb1e Fix some generator crashes on undefined CMAKE_BUILD_TYPE
| * | Fix some generator crashes on undefined CMAKE_BUILD_TYPEBrad King2014-06-233-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 84fdc9921 (stringapi: Pass configuration names as strings, 2014-02-09), it is not safe to use GetDefinition("CMAKE_BUILD_TYPE") without checking the return value. Use GetSafeDefinition instead so that a missing definition is treated as an empty string like code paths did prior to the above commit. Reported-by: Richard Wirth <richard@califax.de>
* | | Merge topic 'cmake-E-env'Brad King2014-06-241-0/+51
|\ \ \ | | | | | | | | | | | | | | | | 7abd5747 cmake: Add '-E env' command-line tool
| * | | cmake: Add '-E env' command-line toolBrad King2014-06-231-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | CMake Nightly Date StampKitware Robot2014-06-241-1/+1
|/ / /
* | | 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.
* | | | 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-161-2/+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.
| * | | 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.
| * | | CMake 3.0.0v3.0.0Brad King2014-06-091-1/+1
| | | |
| * | | Merge branch 'fix-ctest-option-summary' into releaseBrad King2014-06-051-1/+2
| |\ \ \
| * \ \ \ Merge branch 'fix-build-crash-on-bad-generator' into releaseBrad King2014-06-031-1/+7
| |\ \ \ \
| * \ \ \ \ Merge branch 'cmake-credits' into releaseBrad King2014-06-031-1/+1
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'cmake-credits' into releaseBrad King2014-06-031-1/+1
| |\ \ \ \ \ \
* | \ \ \ \ \ \ Merge topic 'vs-subdir-sln-depends'Brad King2014-06-165-44/+28
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-122-30/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | | | | 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 'add_jacoco_coverage_parsing'Brad King2014-06-135-1/+271
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 558c2190 CTest: Add Jacoco Coverage functionality
| * | | | | | | | | CTest: Add Jacoco Coverage functionalityJoseph Snyder2014-06-125-1/+271
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the ability to parse the XML output of the Jacoco tool. Jacoco (www.eclemma.org/jacoco) is a Java coverage tool. Add and integrate a class for the parser and include a test which utilizes the new parser.
* | | | | | | | | | Merge topic 'setlocale'Brad King2014-06-134-4/+4
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | c746b00e Encoding: Change to only set LC_CTYPE to fix encoding issues with libarchive.
| * | | | | | | | | Encoding: Change to only set LC_CTYPE to fix encoding issues with libarchive.Clinton Stimpson2014-06-124-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changing all categories with LC_ALL causes test failures in some locales. For example, in some locales, the decimal characer could be a comma instead of period.
* | | | | | | | | | CMake Nightly Date StampKitware Robot2014-06-131-1/+1
| |_|_|/ / / / / / |/| | | | | | | |
* | | | | | | | | Merge topic 'dev/variable-lookup'Brad King2014-06-123-22/+35
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e17a69bc cmDefinitions: Use a hashmap for faster checks 3b21705d cmDefinitions: Avoid a find-then-insert when setting variables 5abfde6c cmDefinitions: Don't store parent lookups
| * | | | | | | | cmDefinitions: Use a hashmap for faster checksBen Boeckel2014-06-092-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The hash map is much faster at checking that the map won't have what we're looking for so that we can just go to the parent scope instead.
| * | | | | | | | cmDefinitions: Avoid a find-then-insert when setting variablesBen Boeckel2014-06-091-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Searching the map is not necessary.
| * | | | | | | | cmDefinitions: Don't store parent lookupsBen Boeckel2014-06-093-10/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When looking up scopes, it is faster to not store the lookup locally to keep the maps smaller and avoid extra allocations and rebalancing.
* | | | | | | | | CMake Nightly Date StampKitware Robot2014-06-121-1/+1
| | | | | | | | |