summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* CMake Nightly Date StampKitware Robot2016-06-041-1/+1
|
* Merge topic 'minor-cleanups'Brad King2016-06-031-5/+1
|\ | | | | | | | | | | f6c21894 Modules: Rename internal platform-specific compiler determination modules 0c7951a9 cmLocalGenerator: Consolidate conditions in AddArchitectureFlags
| * cmLocalGenerator: Consolidate conditions in AddArchitectureFlagsBrad King2016-06-021-5/+1
| | | | | | | | Make room for possible future non-Apple architecture flags.
* | Merge topic 'fix-TARGET_PROPERTY-LOCATION-crash'Brad King2016-06-031-3/+9
|\ \ | | | | | | | | | | | | f500a784 Fix crash on $<TARGET_PROPERTY:...,LOCATION> genex (#16134)
| * | Fix crash on $<TARGET_PROPERTY:...,LOCATION> genex (#16134)Brad King2016-06-021-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Policy CMP0026 deprecated the LOCATION property, and we have long provided a $<TARGET_FILE:...> generator expression. However, if a project tries to use $<TARGET_PROPERTY:...,LOCATION> we should at least not crash. The compatibility implementation of the LOCATION property uses cmGlobalGenerator::CreateGenerationObjects to create the structures needed to evaluate the property before generation starts. The implementation assumed that accessing the property could only be done during configuration (via the typical get_property command use case). The $<TARGET_PROPERTY:...,LOCATION> genex causes the LOCATION property to be accessed during generation. Calling CreateGenerationObjects during generation blows away all the objects currently being used for generation and is not safe. Add a condition to call it only when configuration is not finished.
* | | Merge topic 'size-empty'Brad King2016-06-0316-32/+34
|\ \ \ | | | | | | | | | | | | | | | | c6220de2 Use the empty() method to check for emptyness.
| * | | Use the empty() method to check for emptyness.Daniel Pfeifer2016-06-0216-32/+34
| | |/ | |/| | | | | | | | | | Apply fix-its from clang-tidy's readability-container-size-empty checker.
* | | Merge topic 'simplify-boolean-expressions'Brad King2016-06-0337-169/+73
|\ \ \ | | | | | | | | | | | | | | | | 7f6b8d33 Simplify boolean expressions
| * | | Simplify boolean expressionsDaniel Pfeifer2016-06-0237-169/+73
| | | | | | | | | | | | | | | | | | | | | | | | Use clang-tidy's readability-simplify-boolean-expr checker. After applying the fix-its, revise all changes *very* carefully. Be aware of false positives and invalid changes.
* | | | CMake Nightly Date StampKitware Robot2016-06-031-1/+1
| |/ / |/| |
* | | Merge topic 'minor-cleanups'Brad King2016-06-024-4/+4
|\ \ \ | | | | | | | | | | | | | | | | 2175e5bf cmGlobalGenerator: Make IsMultiConfig() const
| * | | cmGlobalGenerator: Make IsMultiConfig() constTobias Hunger2016-06-014-4/+4
| |/ /
* | | Merge topic 'bin-dir-option'Brad King2016-06-025-9/+22
|\ \ \ | | | | | | | | | | | | | | | | 18bfbc97 Add option to control 'bin' directory of CMake's own installation (#16076)
| * | | Add option to control 'bin' directory of CMake's own installation (#16076)Nicolas BUNEL2016-06-015-9/+22
| |/ / | | | | | | | | | | | | Add a `CMAKE_BIN_DIR` cache entry to CMake's own build configuration. Add a `--bindir` option to the `bootstrap` script to set it.
* | | CMake Nightly Date StampKitware Robot2016-06-021-1/+1
|/ /
* | Begin post-3.6 developmentBrad King2016-06-011-2/+2
| |
* | CMake 3.6.0-rc1 version updateBrad King2016-06-011-3/+3
|/
* Merge topic 'minor-cleanups'Brad King2016-06-012-2/+2
|\ | | | | | | | | | | bd4fef64 cmSourceFileLocation: Fix typo in comment 814e774e cmSearchPath: Fix typo in comment
| * cmSourceFileLocation: Fix typo in commentTobias Hunger2016-06-011-1/+1
| |
| * cmSearchPath: Fix typo in commentTobias Hunger2016-06-011-1/+1
| |
* | CMake Nightly Date StampKitware Robot2016-06-011-1/+1
|/
* CMake Nightly Date StampKitware Robot2016-05-311-1/+1
|
* CMake Nightly Date StampKitware Robot2016-05-301-1/+1
|
* CMake Nightly Date StampKitware Robot2016-05-291-1/+1
|
* CMake Nightly Date StampKitware Robot2016-05-281-1/+1
|
* Merge topic 'remove-needless-copies'Brad King2016-05-2732-69/+62
|\ | | | | | | | | | | 27ead963 Remove unnecessary local copies. 618fb23f Pass arguments that are not modified as const&.
| * Remove unnecessary local copies.Daniel Pfeifer2016-05-269-25/+16
| | | | | | | | | | | | | | Use clang-tidy's performance-unnecessary-copy-initialization checker. After applying the fix-its (which turns the copies into const&), revise the changes and see whether the copies can be removed entirely by using the original instead.
| * Pass arguments that are not modified as const&.Daniel Pfeifer2016-05-2624-44/+46
| | | | | | | | | | | | | | Use clang-tidy's performance-unnecessary-value-param checker to find value parameter declarations of expensive to copy types that are not modified inside the function. Ignore findings in kwsys. After applying the fix-its, manually change `const T&` to `T const&`.
* | Merge topic 'remove-needless-c_str'Brad King2016-05-2717-51/+40
|\ \ | | | | | | | | | | | | 1b2bb933 Remove redundant c_str() calls.
| * | Remove redundant c_str() calls.Daniel Pfeifer2016-05-2617-51/+40
| |/ | | | | | | | | Run clang-tidy's readability-redundant-string-cstr checker. Ignore findings in kwsys.
* | CMake Nightly Date StampKitware Robot2016-05-271-1/+1
|/
* Merge topic 'try_compile-custom-variables'Brad King2016-05-261-74/+69
|\ | | | | | | | | | | d256ba07 try_compile: Optionally forward custom platform variables to test project fb4791b3 cmCoreTryCompile: Refactor forwarding of variables to test project
| * try_compile: Optionally forward custom platform variables to test projectBrad King2016-05-251-0/+9
| | | | | | | | | | | | | | | | | | Add a `CMAKE_TRY_COMPILE_PLATFORM_VARIABLES` variable to specify a list of custom variables to be forwarded to a `try_compile` test project. This will be useful for platform information modules or toolchain files to forward some platform-specific set of variables from the host project (perhaps set in its cache) to the test project so that it can build the same way.
| * cmCoreTryCompile: Refactor forwarding of variables to test projectBrad King2016-05-251-74/+60
| | | | | | | | | | | | | | De-duplicate the logic that constructs the cmake `-D` flag used to pass variables into the test project cache. Also subsume variables that were propagated by generating `set()` commands in the project and pass them as cache entries instead.
* | Merge topic 'fix-variable-watch-leak'Brad King2016-05-261-2/+4
|\ \ | | | | | | | | | | | | 75e3e0d3 cmVariableWatch: Fix potential memory leak
| * | cmVariableWatch: Fix potential memory leakBrad King2016-05-251-2/+4
| |/ | | | | | | | | Teach cmVariableWatch::AddWatch to own the Pair it allocates until it needs to pass ownership to WatchMap.
* | Merge topic 'cpack-dmg-no-app-link'Brad King2016-05-261-5/+10
|\ \ | | | | | | | | | | | | 3acc29fc CPack/DragNDrop: Optionally disable `/Applications` symlink
| * | CPack/DragNDrop: Optionally disable `/Applications` symlinkHarry Mallon2016-05-251-5/+10
| |/
* | Merge topic 'style-cmSystemTools'Brad King2016-05-261-1/+1
|\ \ | | | | | | | | | | | | 8e801eb5 cmSystemTools: Fix indentation typo
| * | cmSystemTools: Fix indentation typoBrad King2016-05-251-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2016-05-261-1/+1
| |/ |/|
* | Merge topic 'improve-character-find-and-replace'Brad King2016-05-2536-81/+78
|\ \ | | | | | | | | | | | | | | | | | | | | | 5784747d Improve string find: prefer character overloads. 5cec953e Use std::replace for replacing chars in strings. 2a1a2033 cmExtraEclipseCDT4Generator: use std::replace. 34bc6e1f cmCTestScriptHandler: don't call find repeatedly.
| * | Improve string find: prefer character overloads.Daniel Pfeifer2016-05-2419-37/+37
| | | | | | | | | | | | | | | Apply fix-its from clang-tidy's performance-faster-string-find checker. Ignore findings in kwsys.
| * | Use std::replace for replacing chars in strings.Daniel Pfeifer2016-05-2417-36/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Find uses of `cmSystemTools::ReplaceString` where both `replace` and `with` are string literals with a size of one. Automate with: git grep -l ReplaceString | xargs sed -i "s|cmSystemTools::ReplaceString(\([^,]*\), \"\(.\)\", \"\(.\)\");|std::replace(\1.begin(), \1.end(), '\2', '\3');|g" git grep -l ReplaceString | xargs sed -i "s|cmSystemTools::ReplaceString(\([^,]*\), \"\(.\)\", \"\\\\\\\\\");|std::replace(\1.begin(), \1.end(), '\2', '\\\\\\\\');|g" git grep -l ReplaceString | xargs sed -i "s|cmSystemTools::ReplaceString(\([^,]*\), \"\\\\\\\\\", \"\(.\)\");|std::replace(\1.begin(), \1.end(), '\\\\\\\\', '\2');|g"
| * | cmExtraEclipseCDT4Generator: use std::replace.Daniel Pfeifer2016-05-241-5/+1
| | |
| * | cmCTestScriptHandler: don't call find repeatedly.Daniel Pfeifer2016-05-241-3/+4
| | | | | | | | | | | | Also, prefer the character overload.
* | | Merge topic 'standard-include-directories'Brad King2016-05-254-2/+40
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c1340827 Add a variable to specify language-wide system include directories 44199097 cmMakefile: Optimize AddSystemIncludeDirectories for empty set a896043b GHS: Compute include directories consistently with other generators
| * | | Add a variable to specify language-wide system include directoriesBrad King2016-05-252-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a `CMAKE_<LANG>_STANDARD_INCLUDE_DIRECTORIES` variable to specify system include directories for for `<LANG>` compiler command lines. This plays a role for include directories as the existing `CMAKE_<LANG>_STANDARD_LIBRARIES` variable does for link libraries.
| * | | cmMakefile: Optimize AddSystemIncludeDirectories for empty setBrad King2016-05-241-0/+4
| | | | | | | | | | | | | | | | | | | | Do not bother looping over all targets if we have no system include directories to add anyway.
| * | | GHS: Compute include directories consistently with other generatorsBrad King2016-05-241-2/+4
| | | | | | | | | | | | | | | | | | | | All generators use cmLocalGenerator::GetIncludeDirectories to construct the final list of include directories for a target.