summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Ninja: Add policy to require explicit custom command byproductsBrad King2015-03-2025-6/+279
| | | | | | | | | | | | Add policy CMP0058 to avoid generating 'phony' ninja rules for unknown custom command dependencies. This requires projects to specify their custom command byproducts explicitly. With this requirement we no longer have to assume that unknown custom command dependencies are generated and can instead simply assume they are source files expected to exist when the build starts. This is particularly important in in-source builds. It is also helpful for out-of-source builds to allow Ninja to diagnose missing files before running custom command rules that depend on them.
* cmGlobalNinjaGenerator: Optimize handling of known build outputsBrad King2015-03-201-10/+7
| | | | | | | Teach WriteUnknownExplicitDependencies to take ownership of the set of WriteBuild outputs immediately since no other methods need the data. This avoids re-inserting the whole set into another already populated set.
* cmGlobalNinjaGenerator: Fix spelling of "unknown"Brad King2015-03-201-4/+4
|
* cmGlobalNinjaGenerator: Drop unused memberBrad King2015-03-181-2/+0
|
* Ninja: Do not generate circular phony rules (#15454)Brad King2015-03-181-1/+1
| | | | | | | | | | | | | | | | | The phony rules added by commit v2.8.12~248^2 (Ninja: Custom Command file depends don't need to exist before building, 2013-06-07) are circular, e.g. build side-effect: phony side-effect This is not diagnosed by Ninja as of version 1.5, but the dependency does not make sense. Simply drop it and use phony rules of the form build side-effect: phony instead. Reported-by: Daniel Dunbar
* CMake Nightly Date StampKitware Robot2015-03-181-1/+1
|
* Merge topic 'wix-installer-theme'Brad King2015-03-173-0/+8
|\ | | | | | | | | 1bda8f1f CPackWIX: Customize CMake installer theme.
| * CPackWIX: Customize CMake installer theme.Nils Gladitz2015-03-123-0/+8
| |
* | Merge topic 'cpack_rpm_old_version_tests'Brad King2015-03-171-10/+31
|\ \ | | | | | | | | | | | | | | | 140a53a8 CPack/RPM architecture test fixup 4552bc88 CPack/RPM relocation paths test fixup
| * | CPack/RPM architecture test fixupDomen Vrankar2015-03-151-6/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed architecture test that was missing architecture in regular expressions - bug was detected on older rpm versions where the check failed. Extended architecture test that takes into account older versions of rpm. This patch is related to 15442.
| * | CPack/RPM relocation paths test fixupDomen Vrankar2015-03-151-4/+6
| | | | | | | | | | | | | | | | | | | | | Patch fixes bug in test reported with id 15442 - older versions of rpm print out package info a bit differently so we should ignore white spaces
* | | Merge topic 'FindMatlab-rewrite'Brad King2015-03-1720-87/+1791
|\ \ \ | | | | | | | | | | | | | | | | 49c8dcf7 FindMatlab: Rewrite module and provide a usage API
| * | | FindMatlab: Rewrite module and provide a usage APIRaffi Enficiaud2015-03-1720-87/+1791
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement a brand new FindMatlab module: - Add support for versions and components. - Find Matlab and its version in a more precise and multiplatform way. - Add API to create a new mex extension with documentation. - Add API to add matlab unit tests (with or without the unit test framework). - Find as much as possible based on a single Matlab_ROOT_DIR cache entry and allow the user to change it to re-find everything.
* | | | Merge topic 'output-ctest-env-vars'Brad King2015-03-176-0/+68
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 874fdd91 CTest: Output test-specific env vars in verbose mode (#15446)
| * | | | CTest: Output test-specific env vars in verbose mode (#15446)Zach Mullen2015-03-176-0/+68
| | |/ / | |/| | | | | | | | | | | | | | | | | | Any environment vars that were configured for a test via the ENVIRONMENT property will now be output when the test is run with verbose logging enabled.
* | | | CMake Nightly Date StampKitware Robot2015-03-171-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2015-03-161-1/+1
|/ / /
* | | CMake Nightly Date StampKitware Robot2015-03-151-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2015-03-141-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2015-03-131-1/+1
|/ /
* | Merge topic 'refactor-cmGeneratorExpression'Brad King2015-03-1211-1935/+2059
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | ec428faf Genex: Extend cmGeneratorExpressionContext constructor. 082b6a9d Genex: Split cmGeneratorExpressionContext into own file. 9df1f0fc Genex: Split cmGeneratorExpressionNode into own file. 80b9f0cb Genex: Extract an evaluateWithContext method. 642048ce Help: Move docs of $<0:...> and $<1:...> to output section.
| * | Genex: Extend cmGeneratorExpressionContext constructor.Stephen Kelly2015-03-103-16/+29
| | | | | | | | | | | | Initialize the members in the appropriate place.
| * | Genex: Split cmGeneratorExpressionContext into own file.Stephen Kelly2015-03-105-28/+70
| | |
| * | Genex: Split cmGeneratorExpressionNode into own file.Stephen Kelly2015-03-105-1889/+1946
| | |
| * | Genex: Extract an evaluateWithContext method.Stephen Kelly2015-03-102-12/+24
| | | | | | | | | | | | | | | Make it easier to make modifications to the context before evaluating with it.
| * | Help: Move docs of $<0:...> and $<1:...> to output section.Stephen Kelly2015-03-101-4/+4
| | | | | | | | | | | | | | | These are not 'logical' expressions. They create output and are often used together with the logical expressions.
* | | Merge topic 'update-kwsys'Brad King2015-03-121-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | e433223d Merge branch 'upstream-kwsys' into update-kwsys 9a427f86 KWSys 2015-03-10 (4a698414)
| * \ \ Merge branch 'upstream-kwsys' into update-kwsysBrad King2015-03-111-1/+1
| |\ \ \
| | * | | KWSys 2015-03-10 (4a698414)KWSys Robot2015-03-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ 4a698414 | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' 4890f30c..4a698414 Brad King (1): 4a698414 hashtable: Give prime number table functions internal linkage Change-Id: I9f06cdf8c8b5fbe7e1f07afbcc77457f5ee6445f
* | | | | Merge topic 'vs-express-build-output'Brad King2015-03-121-4/+13
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 94887cb6 cmake: Teach --build to get VCExpress output (#15437)
| * | | | | cmake: Teach --build to get VCExpress output (#15437)Brad King2015-03-101-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VCExpress does not produce output if its pipes are connected to an interactive terminal. Add a special case to 'cmake --build' to capture the output through a pipe and re-print it instead of sharing output pipes with VCExpress.
* | | | | | Merge topic 'cmRemoveDuplicates-improvement'Brad King2015-03-121-6/+36
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8701a3f4 cmRemoveDuplicates: Partially specialize the API for pointer types. eec7091d cmRemoveDuplicates: Type-parameterize all uniq-operations 7cbafa8c cmRemoveDuplicates: Store unique iterators instead of values.
| * | | | | | cmRemoveDuplicates: Partially specialize the API for pointer types.Stephen Kelly2015-03-101-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If de-duplicating a container of pointers, there is no need to store iterators to them, as that is just more 'pointer chasing'. Store the pointers themselves and use API which compares the pointers in the specialization.
| * | | | | | cmRemoveDuplicates: Type-parameterize all uniq-operationsStephen Kelly2015-03-101-11/+22
| | | | | | |
| * | | | | | cmRemoveDuplicates: Store unique iterators instead of values.Stephen Kelly2015-03-101-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no need to copy all of the values in the container in order to determine uniqueness. Iterators can be stored instead and can be used with standard algorithms with custom comparison methods. This also means that we use less space in case the value_type size is greater than sizeof(iterator). That is common for std::string which may require up to 32 bytes (libstdc++ 5.0 and MSVC at least). With libstdc++ 4.9 and older, std::string is 8 bytes, so we likely don't gain anything here. Inspired-by: Daniel Pfeifer <daniel@pfeifer-mail.de>
* | | | | | | Merge topic 'cmAlgorithms-cleanup'Brad King2015-03-1247-11/+62
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 95dd238f cmRemoveDuplicates: Fix iterator -> const_iterator. 4448f175 cmInstalledFile: Move Property implementation out of line. 7916d7ba Include cmAlgorithms where it is used.
| * | | | | | cmRemoveDuplicates: Fix iterator -> const_iterator.Stephen Kelly2015-03-101-1/+1
| | | | | | |
| * | | | | | cmInstalledFile: Move Property implementation out of line.Stephen Kelly2015-03-102-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't require re-building the world when changing cmAlgorithms.h.
| * | | | | | Include cmAlgorithms where it is used.Stephen Kelly2015-03-1044-0/+48
| | |_|_|/ / | |/| | | |
* | | | | | Merge topic 'cmAlgorithms-early-return'Brad King2015-03-121-1/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3ff95f3b cmAlgorithms: Add early return in cmRemoveIndices.
| * | | | | | cmAlgorithms: Add early return in cmRemoveIndices.Stephen Kelly2015-03-101-1/+5
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Avoid derefencing the iterator and segfaulting if the range is empty.
* | | | | | Merge topic 'allow-no-language-standard'Brad King2015-03-121-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 77534e84 Add options to build CMake without any language dialects
| * | | | | | Add options to build CMake without any language dialectsBrad King2015-03-101-2/+2
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If CMake_NO_<LANG>_STANDARD is set, do not set CMAKE_<LANG>_STANDARD. This will allow users to build with their own -std= flags without CMake adding any itself.
* | | | | | Merge topic 'vs-Intel-Fortran-map-more-flags'Brad King2015-03-121-0/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 18d5a4bc VS: Add more Fortran compiler flags to flag table (#15381)
| * | | | | | VS: Add more Fortran compiler flags to flag table (#15381)Oyvind Jensen2015-03-101-0/+7
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to a difference in how AdditionalOptions are implemented in the Fortran component of VS and the C/C++ component, flags that are not listed in the flag table are at risk of being overwritten.
* | | | | | Merge topic 'main_dependency_diagnostic'Brad King2015-03-1217-0/+132
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 242c3966 add_custom_command: Diagnose MAIN_DEPENDENCY limitation.
| * | | | | | add_custom_command: Diagnose MAIN_DEPENDENCY limitation.Nils Gladitz2015-03-0917-0/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new policy CMP0057 diagnoses reuse of the same MAIN_DEPENDENCY across multiple custom commands.
* | | | | | | Merge topic 'fix_jacoco_coverage_process'Brad King2015-03-123-1/+6
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | c771f9d9 CTest: Fix Jacoco Coverage
| * | | | | | CTest: Fix Jacoco CoverageJoseph Snyder2015-03-063-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename the example jacoco.xml file to be jacoco.xml.in to stop CMake from apptempting to calculate Jacoco Coverage when running over itself. Enclose a push of -1 to the coverage vector to only happen if there is a fin to calculate for. This prevents a crash if the target file doesn't exist.
* | | | | | | CMake Nightly Date StampKitware Robot2015-03-121-1/+1
| |_|_|_|/ / |/| | | | |