summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Explicitly enable author (dev) warnings by default.Michael Scott2015-12-018-6/+42
| | | | | | | | | Explicitly enable author warnings by default, via the cmake::GetSuppressDevWarnings method, which signals suppression is turned off unless the CMake variables are set as required. Add test cases for author and deprecated messages displayed by default.
* Make message suppression more consistent.Michael Scott2015-11-308-24/+102
| | | | | | | | | | | | | | | | Make the message suppression more consistent, by adding a check for the message related CMake variables in cmake::IssueMessage, which allows callers of IssueMessage other than the message command to behave as expected. Also added a check for CMAKE_SUPPRESS_DEVELOPER_WARNINGS in the message command to mirror the deprecated message type behaviour. Added a 'force' flag to the cmake::IssueMessage method, to make the message suppression consistent, when setting the message related CMake variables directly in a CMake file. Expand message command tests to cover the AUTHOR_WARNING message type as well.
* Tests: Revise message in RunCMake.CommandLine -Wdev caseMichael Scott2015-11-303-3/+3
| | | | Use more prose-like capitalization.
* Merge branch 'release'Brad King2015-11-300-0/+0
|\
| * Merge branch 'reduce-cmState-accumulation' into releaseBrad King2015-11-308-66/+121
| |\
| * \ Merge branch 'fix-find_package-version-file-error-stack' into releaseBrad King2015-11-2519-2/+40
| |\ \
| * \ \ Merge branch 'test-add_subdirectory-in-function' into releaseBrad King2015-11-244-0/+33
| |\ \ \
| * \ \ \ Merge branch 'revert-compiler-links-statically' into releaseBrad King2015-11-237-23/+0
| |\ \ \ \
* | \ \ \ \ Merge topic 'reduce-cmState-accumulation-for-master'Brad King2015-11-308-66/+121
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9342a4c2 Merge branch 'reduce-cmState-accumulation' into reduce-cmState-accumulation-for-master 5f860ebb cmState: Avoid accumulating snapshot storage for short-lived scopes f21dc4a8 cmState: Avoid accumulating policy stack storage for short-lived scopes bc1d3a8a cmListFileCache: Implement cmListFileBacktrace ctor/dtor out-of-line 85fe26b5 cmLinkedTree: Add Pop method 518d6b22 cmLinkedTree: Rename 'Extend' method to 'Push' 32edac6f cmState: Enforce policy scope balancing around variable scopes 0fa7f143 cmLocalGenerator: Use ScopePushPop RAII class to manage local variable scopes d85c9176 cmMakefile: Remove unused PolicyPushPop interfaces 8e1be7bf cmMakefile: Clarify purpose of method that pops a scope snapshot
| * \ \ \ \ \ Merge branch 'reduce-cmState-accumulation' into ↵Brad King2015-11-258-66/+121
| |\ \ \ \ \ \ | | | |_|_|_|/ | | |/| | | | | | | | | | | reduce-cmState-accumulation-for-master
| | * | | | | cmState: Avoid accumulating snapshot storage for short-lived scopesBrad King2015-11-253-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to keep only certain snapshot types and their ancestors. Also keep those needed for backtraces.
| | * | | | | cmState: Avoid accumulating policy stack storage for short-lived scopesBrad King2015-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We enforce policy push/pop balance around any scope that pushes/pops a snapshot. Therefore a snapshot may never reference entries of PolicyStack that were created in nested scopes. Free storage of short-lived policy stack entries when they are popped.
| | * | | | | cmListFileCache: Implement cmListFileBacktrace ctor/dtor out-of-lineBrad King2015-11-252-4/+13
| | | | | | |
| | * | | | | cmLinkedTree: Add Pop methodBrad King2015-11-251-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a method to increment an iterator (follow the "up" pointer) to the previous level in the stack of scopes and free storage of the top of the stack if possible. This will allow short-lived scopes to be created and destroyed by matching Push/Pop pairs without accumulating storage.
| | * | | | | cmLinkedTree: Rename 'Extend' method to 'Push'Brad King2015-11-252-35/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Logically the method pushes a nested scope on top of a given scope because the "up" pointer sequence forms a stack independent of any other branches of the tree.
| | * | | | | cmState: Enforce policy scope balancing around variable scopesBrad King2015-11-252-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Everywhere we use cmMakefile::ScopePushPop to manage variable scopes also expects policy scopes to be balanced. There is no place that we use cmMakefile::PolicyPushPop without also using ScopePushPop. Relieve PolicyPushPop of responsibility for policy scope balance checks by moving it to ScopePushPop.
| | * | | | | cmLocalGenerator: Use ScopePushPop RAII class to manage local variable scopesBrad King2015-11-251-4/+2
| | | | | | |
| | * | | | | cmMakefile: Remove unused PolicyPushPop interfacesBrad King2015-11-252-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The PolicyPushPop constructor arguments and Quiet method were used to pass non-default arguments to PushPolicy and PopSnapshot, but no clients use them anymore.
| | * | | | | cmMakefile: Clarify purpose of method that pops a scope snapshotBrad King2015-11-252-8/+11
| | | |_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `PopPolicyBarrier` method is actually responsible for closing any scope opened by creating a snapshot. Rename it to `PopSnapshot` and add a comment explaining the purpose of the poilcy-scope-specific part of the method.
* | | | | | CMake Nightly Date StampKitware Robot2015-11-301-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2015-11-291-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2015-11-281-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2015-11-271-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2015-11-261-1/+1
|/ / / / /
* | | | | Merge topic 'fix-find_package-version-file-error-stack'Brad King2015-11-2512-2/+26
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | 62126b67 Merge branch 'test-cmake_policy-unmatched' into fix-find_package-version-file-error-stack 2e28c619 cmState: Skip variable scope snapshots to avoid call stack duplicates b219ff94 Tests: Add case for package version file unmatched policy scope
| * | | | Merge branch 'test-cmake_policy-unmatched' into ↵Brad King2015-11-2418-0/+36
| |\ \ \ \ | | | | | | | | | | | | | | | | | | fix-find_package-version-file-error-stack
| | * | | | Tests: Add case for package version file unmatched policy scopeBrad King2015-11-2411-0/+22
| | | | | |
| * | | | | cmState: Skip variable scope snapshots to avoid call stack duplicatesBrad King2015-11-241-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.4.0-rc1~179^2~1 (cmState: Add a VariableScope snapshot type, 2015-08-23) the snapshot stack may have a VariableScopeType entry. Skip over these when constructing the call stack, just as we do for policy scopes. Otherwise we report the command causing the variable scope to be entered twice (e.g. find_package while loading a package version file).
* | | | | | Merge topic 'test-cmake_policy-unmatched'Brad King2015-11-257-0/+14
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | 378185fb Tests: Add case for unmatched cmake_policy({PUSH,POP})
| * | | | | Tests: Add case for unmatched cmake_policy({PUSH,POP})Brad King2015-11-247-0/+14
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2015-11-251-1/+1
| | | | | |
* | | | | | Merge topic 'FindCUDA-aarch64'Brad King2015-11-241-0/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | ae1003cd FindCUDA: Add paths for crosscompiling to aarch64
| * | | | | | FindCUDA: Add paths for crosscompiling to aarch64Alexander Szakaly2015-11-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Choose a CUDA_TOOLKIT_TARGET_DIR for the aarch64 architecture automatically.
* | | | | | | Merge topic 'FindXercesC-imported-targets'Brad King2015-11-246-10/+99
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5dcc833b FindXercesC: Add imported targets and unit test
| * | | | | | | FindXercesC: Add imported targets and unit testRoger Leigh2015-11-236-10/+99
| | | | | | | |
* | | | | | | | Merge topic 'doc-CLEAN_NO_CUSTOM-makefile-only'Brad King2015-11-241-4/+3
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 15c454fe Help: Document CLEAN_NO_CUSTOM as for Makefile generators only (#15856)
| * | | | | | | | Help: Document CLEAN_NO_CUSTOM as for Makefile generators only (#15856)Brad King2015-11-231-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The property cannot be implemented on other generators because the corresponding native build tools (VS IDE, Xcode, Ninja) all implement their own `clean` operations that affect all outputs. Document this limitation.
* | | | | | | | | Merge topic 'test-add_subdirectory-in-function'Brad King2015-11-244-0/+33
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | 010c5959 Tests: Add case for add_subdirectory inside a function
| * | | | | | | | Tests: Add case for add_subdirectory inside a functionBrad King2015-11-234-0/+33
| | |_|_|/ / / / | |/| | | | | |
* | | | | | | | Merge topic 'cpack-dmg-multilanguage-sla'Brad King2015-11-241-7/+7
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0c5b96bf CPack/DragNDrop: Use documented CPACK_DMG_SLA_LANGUAGES variable
| * | | | | | | | CPack/DragNDrop: Use documented CPACK_DMG_SLA_LANGUAGES variableSimon Levermann2015-11-231-7/+7
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change in commit f88533cc (CPackDMG: Add support for multilingual SLAs, 2015-10-19) accidentally used CPACK_DMG_LANGUAGES in its implementation instead of the intended CPACK_DMG_SLA_LANGUAGES added to the documentation.
* | | | | | | | Merge topic 'revert-compiler-links-statically'Brad King2015-11-247-23/+0
|\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | 9682de56 Revert "Disable shared library support when compiler links statically" (#15855)
| * | | | | | | Revert "Disable shared library support when compiler links statically" (#15855)Brad King2015-11-237-23/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit v3.4.0-rc1~18^2 (Disable shared library support when compiler links statically, 2015-09-30) we tried to detect when the compiler is not capable of linking shared libraries (possibly due to flags in use). However, the approach is not robust against flags like `-nostdlib`. Revert it for now pending another solution to the original problem.
* | | | | | | | Merge topic 'doc-ios-support'Brad King2015-11-2421-72/+102
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5d74c870 Help: Update documentation to reflect support for iOS
| * | | | | | | | Help: Update documentation to reflect support for iOSBartosz Kosiorek2015-11-2321-72/+102
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Many of our interfaces documented for OS X also work for iOS.
* | | | | | | | CMake Nightly Date StampKitware Robot2015-11-241-1/+1
| |_|_|_|/ / / |/| | | | | |
* | | | | | | Merge branch 'release'Brad King2015-11-230-0/+0
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | |
| * | | | | | Merge branch 'backport-fix-autodef-bigobj-64' into releaseBrad King2015-11-202-1/+3
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'avoid-divide-by-zero' into releaseBrad King2015-11-191-1/+7
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'fix-forced-toolchain-dialect' into releaseBrad King2015-11-197-0/+29
| |\ \ \ \ \ \ \ \