summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Explicitly enable author (dev) warnings by default.Michael Scott2015-12-013-6/+28
| | | | | | | | | 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-305-21/+84
| | | | | | | | | | | | | | | | 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.
* 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-251-2/+4
|\ \ | |/ | | | | | | | | | | 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
| * 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).
* | CMake Nightly Date StampKitware Robot2015-11-251-1/+1
| |
* | 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.
* | | CMake Nightly Date StampKitware Robot2015-11-241-1/+1
| | |
* | | Merge topic 'expand_cobertura_search'Brad King2015-11-231-3/+18
|\ \ \ | |/ / |/| | | | | | | | 32268810 CTest: Expand directories for Cobertura search
| * | CTest: Expand directories for Cobertura searchJoseph Snyder2015-11-231-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the Cobertura handler to look for an environment variable called "COBERTURADIR" which contains the directory where the coverage.xml file is found. If that variable doesn't exist, continue to use the default of the binary directory. Update the test to use an appropriate value in the environment variables.
* | | CMake Nightly Date StampKitware Robot2015-11-231-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2015-11-221-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2015-11-211-1/+1
| | |
* | | Merge topic 'ninja-symbolic-custom-command'Brad King2015-11-204-1/+20
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 3477b26f Ninja: Always re-run custom commands that have symbolic dependencies 7d64a059 Ninja: Add 'restat' parameter to custom command generation method 866c75de Ninja: Refactor generation of 'restat' on custom commands
| * | | Ninja: Always re-run custom commands that have symbolic dependenciesBrad King2015-11-191-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a custom command has a SYMBOLIC output (that is never actually created) then do not mark the custom command build statement as 'restat'. Otherwise other custom commands that depend on the symbolic output may not always re-run because after running the first custom command Ninja 'restat' will detect that the output timestamp did not change and skip its dependents. This was observed with the ExternalProject BUILD_ALWAYS option where Ninja would not re-run the 'install' step each time 'build' re-runs.
| * | | Ninja: Add 'restat' parameter to custom command generation methodBrad King2015-11-194-1/+9
| | | | | | | | | | | | | | | | Pass 'true' from all call sites to preserve existing behavior.
| * | | Ninja: Refactor generation of 'restat' on custom commandsBrad King2015-11-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Move generation of 'restat = 1' from the CUSTOM_COMMAND rule to every build statement using it. This will allow future selection of this option on a per-custom-command basis.
* | | | Merge topic 'fix-autodef-bigobj-64'Brad King2015-11-201-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65b86612 Merge branch 'backport-fix-autodef-bigobj-64' into fix-autodef-bigobj-64 c7ddc5f4 Fix auto export symbols for Dlls containing /bigobj for 64bit builds. 75004280 Fix auto export symbols for Dlls containing /bigobj for 64bit builds.
| * | | | Fix auto export symbols for Dlls containing /bigobj for 64bit builds.Bill Hoffman2015-11-191-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | This fixes a bug where 64 bit builds with /bigobj incorrectly determined that the object files were not 64 bit. This manifested itself with printf type functions showing up as undefined because the leading underscore was being removed and should not be removed.
* | | | Merge topic 'avoid-divide-by-zero'Brad King2015-11-201-1/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | f5cd92a8 cmELF: Avoid divide by zero if there are no dynamic section entries
| * | | | cmELF: Avoid divide by zero if there are no dynamic section entriesTy Smith2015-11-191-1/+7
| | |_|/ | |/| |
* | | | Merge topic 'restore-android-no-versioned-soname'Brad King2015-11-201-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cdff176f Merge branch 'backport-android-no-versioned-soname' into restore-android-no-versioned-soname 4ba76026 Android: Restore generation of non-versioned soname (#15851) 3aec561a Android: Restore generation of non-versioned soname (#15851)
| * | | | Android: Restore generation of non-versioned soname (#15851)Brad King2015-11-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our check of CMAKE_PLATFORM_NO_VERSIONED_SONAME, originally added by commit v3.1.0-rc1~416^2 (Add basic Android platform module, 2014-06-06), was dropped accidentally by commit v3.4.0-rc1~250^2~21 (cmGeneratorTarget: Move GetLibraryNames from cmTarget, 2015-08-04). Restore the check in the new location of the GetLibraryNames method.
* | | | | CMake Nightly Date StampKitware Robot2015-11-201-1/+1
| |_|/ / |/| | |
* | | | Merge topic 'fix-ms-manifest-no-linker'Brad King2015-11-191-1/+3
|\ \ \ \ | |/ / / |/| | | | | | | | | | | ca263d1d MSVC: Fix linking with /MANIFEST:NO option
| * | | MSVC: Fix linking with /MANIFEST:NO optionBrad King2015-11-181-1/+3
| |/ / | | | | | | | | | | | | | | | Refactoring in commit v3.4.0-rc1~74^2~1 (MSVC: Rewrite manifest file handling with Makefile and Ninja, 2015-09-15) broke handling of this option. Fix it and add a test case.
| * | CMake 3.4.0v3.4.0Brad King2015-11-121-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2015-11-191-1/+1
| | |
* | | Merge topic 'unique_def_symbols'Brad King2015-11-183-23/+75
|\ \ \ | | | | | | | | | | | | | | | | 1c1ace2d De-duplicate symbols listed in generated module definition files
| * | | De-duplicate symbols listed in generated module definition filesBill Hoffman2015-11-183-23/+75
| | |/ | |/| | | | | | | | | | | | | | | | MS tools have a limit on the number of symbols that can be listed in a `.def` file. If multiple `.obj` files provide a symbol then avoid listing it more than once in the generated `.def` file to avoid counting toward the limit.
* | | Merge topic 'cmake-gui-select-toolset'Brad King2015-11-1820-26/+197
|\ \ \ | | | | | | | | | | | | | | | | 2b958a20 cmake-gui: Add option to specify generator toolset
| * | | cmake-gui: Add option to specify generator toolsetRobert Dailey2015-11-1720-26/+197
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | The -T parameter to CMake may now be specified through cmake-gui via a new text field in the first-time configure wizard (below the generator chooser). The generator factories specify whether or not they support toolsets. This information is propagated to the Qt code and used to determine if the selected generator should also display the optional Toolset widgets.
* | | CMake Nightly Date StampKitware Robot2015-11-181-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2015-11-171-1/+1
|/ /