summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* KWSys: Tell Git not to export .gitattributesBrad King2015-05-131-4/+0
| | | | | | | KWSys upstream added an attribute to export .gitattributes so that importing snapshots into the sources of other projects would bring along the attributes. However, we don't want to export them from CMake. Drop .gitattributes entries not relevant to CMake.
* Merge branch 'upstream-kwsys' into update-kwsysBrad King2015-05-131-1/+9
|
* CMake Nightly Date StampKitware Robot2015-05-131-1/+1
|
* Merge topic 'ctest-no-make-i'Brad King2015-05-126-4/+34
|\ | | | | | | | | | | | | 226df303 CTest: Stop telling 'make' to ignore errors with -i 28e7a135 Help: Fix build_command alternative signature docs 231601b6 build_command: Choose configuration consistently across signatures
| * CTest: Stop telling 'make' to ignore errors with -iBrad King2015-05-126-3/+33
| | | | | | | | Add policy CMP0061 to maintain compatibility for existing projects.
| * build_command: Choose configuration consistently across signaturesBrad King2015-05-121-1/+1
| | | | | | | | | | | | Teach the legacy two-argument signature to use CMAKE_CONFIG_TYPE from the environment only if it is non-empty. This makes behavior consistent with the main signature.
* | Merge topic 'find_package-no-cmake-gui-paths'Brad King2015-05-122-31/+1
|\ \ | | | | | | | | | | | | | | | 1506f9ca find_package: Drop search in recent cmake-gui locations 8d484463 FindFLTK: Drop search in recent cmake-gui locations
| * | find_package: Drop search in recent cmake-gui locationsBrad King2015-05-082-31/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The find_package command, on Windows, has always searched build trees recently visited by cmake-gui (or CMakeSetup at one time). This was done when the command was created with the intention of simplifying workflows involving building multiple dependent projects. However, this behavior depends on recent developer interaction and therefore can create different find results based on transient system states. It can lead to surprising results and user confusion. Since this behavior was first added CMake has gained many more search options, better error messages when a package is not found, and a package registry. The latter in particular allows projects to make their build trees available for dependent projects to find without user intervention. Therefore the originally intended workflow can be achieved in other, more stable ways. After the above evoluion of find_package we have now decided that the magic search-where-cmake-gui-was behavior does more harm than good. Drop it. We do not need a policy for this behavior change because it only affects interactive use.
* | | Merge topic 'detect-c++14-missing-gets'Brad King2015-05-122-0/+35
|\ \ \ | | | | | | | | | | | | | | | | 3307e10f Avoid using C++14 to build CMake if cstdio breaks
| * | | Avoid using C++14 to build CMake if cstdio breaksBrad King2015-05-082-0/+35
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | The GNU 4.8 standard library's cstdio header is not aware that C++14 honors C11's removal of "gets" from stdio.h and results in an error: /.../include/c++/4.8/cstdio:120:11: error: no member named 'gets' in the global namespace Detect this problematic case and default to using C++11 instead of C++14 for building CMake itself.
* | | Merge topic 'ninja-gcc-windows'Brad King2015-05-121-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | cf8ce7a3 RC: Do not override MinGW Makefiles generator preference ca658a45 Ninja: Use forward slashes for linking with any GCC on Windows (#15439)
| * | | Ninja: Use forward slashes for linking with any GCC on Windows (#15439)Thomas Herz2015-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | Fix a condition forgotten by commit b3de0dfe (Ninja: Use forward slashes for any GCC on Windows, 2015-05-07).
* | | | CMake Nightly Date StampKitware Robot2015-05-121-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2015-05-111-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2015-05-101-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2015-05-091-1/+1
| |/ / |/| |
* | | Merge topic 'ninja-gcc-windows'Brad King2015-05-087-57/+53
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | 20560e8d Ninja: Do not use newlines in response files with Windows GNU tools (#15439) b3de0dfe Ninja: Use forward slashes for any GCC on Windows (#15439) 378c2a0e Ninja: Refactor detection of MinGW tools on Windows 957c2aac RC: Simplify selection of resource compiler based on C/C++ toolchain
| * | Ninja: Do not use newlines in response files with Windows GNU tools (#15439)Thomas Herz2015-05-071-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | Since commit v2.8.11~213^2 (Ninja: Avoid LNK1170 linker error, 2013-02-01) we generate linker response files with "$in_newline" to support a large number of object files with the MS link.exe tool. However, the GNU linker on Windows does not understand the newline endings that Ninja puts in the response files. Switch back to "$in" for that case.
| * | Ninja: Use forward slashes for any GCC on Windows (#15439)Thomas Herz2015-05-073-7/+11
| | | | | | | | | | | | | | | Any GCC compiler on a Windows host needs forward slashes, not just those built for MinGW.
| * | Ninja: Refactor detection of MinGW tools on WindowsBrad King2015-05-073-21/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check for CMAKE_COMPILER_IS_MINGW only after enabling a language when it might actually be set. Previously this worked by accident because the check for working compiler or a second language enabled would cause the code path to be taken. Store UsingMinGW as an instance member of cmGlobalNinjaGenerator so that it is reset on each reconfigure. Otherwise cmake-gui cannot switch between build trees for MinGW or non-MinGW tools.
| * | RC: Simplify selection of resource compiler based on C/C++ toolchainBrad King2015-05-074-35/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert the refactoring by commit v2.8.11~105^2~1 (Ninja: use MinGW generator code in EnableLanguage, 2013-03-09) and move the MinGW- specific logic back to the "MinGW Makefiles" generator. Instead teach the platform information modules for GNU and MSVC on Windows to set the preferred RC compiler just before enabling the RC language. This way we choose the RC compiler based on the C/C++ toolchain that is actually enabled.
* | | Merge topic 'execute_process-merge-output'Brad King2015-05-081-5/+19
|\ \ \ | | | | | | | | | | | | | | | | f65bb82f execute_process: Improve stdout/stderr merging
| * | | execute_process: Improve stdout/stderr mergingBrad King2015-05-071-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the KWSys Process "MergeOutput" option to give the child process the same pipe (or file) for both stdout and stderr. This allows natural merging of stdout and stderr together instead of merging on arbitrary buffered read boundaries as before.
* | | | Merge topic 'update-kwsys'Brad King2015-05-083-4/+23
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | 31c218e6 Merge branch 'upstream-kwsys' into update-kwsys ac94a796 KWSys 2015-05-05 (34fceb50)
| * | | Merge branch 'upstream-kwsys' into update-kwsysBrad King2015-05-073-4/+23
| | |/ | |/|
* | | CMake Nightly Date StampKitware Robot2015-05-081-1/+1
|/ /
* | Merge topic 'update-kwsys'Brad King2015-05-075-468/+472
|\ \ | | | | | | | | | | | | | | | | | | | | | a874700f Merge branch 'upstream-kwsys' into update-kwsys 71f38d06 KWSys 2015-05-05 (8c8b2273) f6749f72 Merge branch 'upstream-kwsys' into update-kwsys 0c34ac2f KWSys 2015-05-04 (c2387a4b)
| * | Merge branch 'upstream-kwsys' into update-kwsysBrad King2015-05-052-468/+446
| | |
| * | Merge branch 'upstream-kwsys' into update-kwsysBrad King2015-05-053-0/+26
| | |
* | | Merge topic 'vs-install-in-default-build'Brad King2015-05-071-0/+18
|\ \ \ | |_|/ |/| | | | | | | | | | | a6e4e73d VS: Add option to put INSTALL target in .sln default build 562e69dd Tests: Enable devenv tests on VS >= 10
| * | VS: Add option to put INSTALL target in .sln default buildRobert Goulet2015-05-061-0/+18
| | | | | | | | | | | | | | | Add a CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD variable to control this behavior.
* | | CMake Nightly Date StampKitware Robot2015-05-071-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2015-05-061-1/+1
| | |
* | | Merge topic 'refactor-cmPolicies'Brad King2015-05-0528-789/+521
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 013ada80 cmPolicies: Implement PolicyMap in terms of bitset. be6664c2 cmPolicies: Implement abstraction for PolicyMap. de211686 Port to static cmPolicies API. 13981f20 cmPolicies: Make all API static. 23e2bcc8 cmPolicies: Remove unused DefinePolicy method. 5641ba4f cmPolicies: Remove unused cmPolicy class. 3de54497 cmPolicies: Loop over all policies using enum constants. 387aff20 cmPolicies: Trivialize GetPolicyStatus method. dbf680d6 cmPolicies: Use more-direct ID access. 8c204133 cmPolicies: Implement in terms of public API. e3a8c029 cmPolicies: Make private method file-static. cb765af0 cmPolicies: Implement short description access with XMacros. 5df267fa cmPolicies: Implement version check with XMacro. 2235cfeb cmPolicies: Implement id to version with XMacro. 05d84388 cmPolicies: Implement id to string conversion with XMacro. 6eaade8a cmPolicies: Introduce XMacro table for policy data. ...
| * | | cmPolicies: Implement PolicyMap in terms of bitset.Stephen Kelly2015-05-042-5/+42
| | | |
| * | | cmPolicies: Implement abstraction for PolicyMap.Stephen Kelly2015-05-043-7/+34
| | | | | | | | | | | | | | | | Hide the detail that it is a std::map.
| * | | Port to static cmPolicies API.Stephen Kelly2015-05-0426-157/+83
| | | |
| * | | cmPolicies: Make all API static.Stephen Kelly2015-05-042-7/+7
| | | |
| * | | cmPolicies: Remove unused DefinePolicy method.Stephen Kelly2015-05-042-19/+0
| | | | | | | | | | | | | | | | Policies are no longer defined at runtime.
| * | | cmPolicies: Remove unused cmPolicy class.Stephen Kelly2015-05-042-339/+1
| | | |
| * | | cmPolicies: Loop over all policies using enum constants.Stephen Kelly2015-05-041-8/+8
| | | |
| * | | cmPolicies: Trivialize GetPolicyStatus method.Stephen Kelly2015-05-041-18/+5
| | | | | | | | | | | | | | | | | | | | It would be possible to implement this with an XMacro and switch statement, but every codepath currently would still return WARN.
| * | | cmPolicies: Use more-direct ID access.Stephen Kelly2015-05-041-2/+2
| | | |
| * | | cmPolicies: Implement in terms of public API.Stephen Kelly2015-05-041-1/+1
| | | |
| * | | cmPolicies: Make private method file-static.Stephen Kelly2015-05-042-31/+27
| | | |
| * | | cmPolicies: Implement short description access with XMacros.Stephen Kelly2015-05-041-15/+23
| | | |
| * | | cmPolicies: Implement version check with XMacro.Stephen Kelly2015-05-041-28/+27
| | | |
| * | | cmPolicies: Implement id to version with XMacro.Stephen Kelly2015-05-041-13/+21
| | | |
| * | | cmPolicies: Implement id to string conversion with XMacro.Stephen Kelly2015-05-042-26/+25
| | | |
| * | | cmPolicies: Introduce XMacro table for policy data.Stephen Kelly2015-05-041-72/+199
| | | | | | | | | | | | | | | | Use it to populate the policy enum.