summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Make CompileFeature tests use highest standard known.Stephen Kelly2014-05-093-3/+31
| | | | | | | | Remove the use of check_cxx_source_compiles which is now just getting in the way. Blacklist the cxx_alignof feature in the test with GNU 4.7. The test file compiles, but it is documented as available first in GNU 4.8.
* CMake Nightly Date StampKitware Robot2014-05-091-1/+1
|
* Merge topic 'dev/faster-evis'Brad King2014-05-08120-42/+1246
|\ | | | | | | | | | | | | | | | | | | | | | | 90f66381 Help: Add release notes for policy CMP0053 6804cd04 Help: Add documentation on escaping changes with CMP0053 411f77d1 EVIS: Add tests for syntax corner cases and CMP0053 bc385658 EVIS: Reimplement using custom parsing code 25102efc EVIS: Add policy CMP0053 e423f1c0 Windows: Avoid () in environment variable references c179b289 Help: Add more reference targets to cmake-language.7 c3d98bd2 Utilities/Release: Use ${VAR} instead of @VAR@ syntax
| * Help: Add release notes for policy CMP0053Brad King2014-05-081-0/+6
| |
| * Help: Add documentation on escaping changes with CMP0053Ben Boeckel2014-05-081-6/+13
| |
| * EVIS: Add tests for syntax corner cases and CMP0053Ben Boeckel2014-05-08108-14/+692
| | | | | | | | | | | | | | | | | | | | Include tests for: - @ expansion during normal execution - various characters in variable names for comparison between the new and the old parser - corner cases in the parsers - correct messages when behavior is different
| * EVIS: Reimplement using custom parsing codeBen Boeckel2014-05-082-17/+469
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce a new implementation of ExpandVariablesInString and select between the old and new implementations based on policy CMP0053. Instead of cmCommandArgumentParserHelper, use a custom parser with our own stack. This is much faster and works well for our simple grammar. The new behavior of CMP0053 should expand @VAR@ syntax only in certain contexts. All existing EVIS callers use "replaceAt == true" so hard-code our call to the old implementation. Update the signature to default to "replaceAt == false" and pass "replaceAt == true" explicitly in the call sites for configure_file and string(CONFIGURE). Testing the configure (no generate) step with ParaView shows ~20% performance improvement. In terms of complete configure/generate steps, further testing with ParaView shows a 20% performance improvement over 2.8.12.2 with Unix Makefiles and minimal with Ninja. Ninja is less because it generate step is the expensive part (future work will address this) by a long shot and these changes help the configure step for the most part.
| * EVIS: Add policy CMP0053Ben Boeckel2014-05-085-0/+55
| | | | | | | | | | This policy switches between the old EVIS parser and the new, faster parser.
| * Windows: Avoid () in environment variable referencesBen Boeckel2014-05-082-3/+5
| | | | | | | | Use nested variable evaluation instead.
| * Help: Add more reference targets to cmake-language.7Brad King2014-05-081-0/+4
| |
| * Utilities/Release: Use ${VAR} instead of @VAR@ syntaxBrad King2014-05-081-2/+2
|/ | | | | The Utilities/Release/Cygwin/CMakeLists.txt is processed in the project, not configured, so we should avoid using @-replacement syntax.
* Merge branch 'release'Brad King2014-05-080-0/+0
|\
| * Merge branch 'vs-fix-MANIFESTUAC' into releaseBrad King2014-05-073-12/+3
| |\
| * \ Merge branch 'desktop-icon' into releaseBrad King2014-05-071-1/+1
| |\ \
| * \ \ Merge branch 'ctest-bad-generator' into releaseBrad King2014-05-075-0/+51
| |\ \ \
| * \ \ \ Merge branch 'ncurses-tinfo' into releaseBrad King2014-05-061-3/+15
| |\ \ \ \
* | \ \ \ \ Merge topic 'GNU-4.7-features'Brad King2014-05-083-11/+21
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9cbc63e4 Features: Record for GNU 4.7.
| * | | | | | Features: Record for GNU 4.7.Stephen Kelly2014-05-073-11/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the CompileFeatures test to verify that unsupported features do not work.
* | | | | | | Merge topic 'vs-fix-MANIFESTUAC'Brad King2014-05-083-12/+3
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | 9c7f234c VS: Fix /MANIFESTUAC:NO linker option mapping
| * | | | | | VS: Fix /MANIFESTUAC:NO linker option mappingEric Berge2014-05-073-12/+3
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are no versions of /MANIFESTUAC:NO where addition values are appended. Remove both of the MANIFESTUAC:NO entries from our flag tables and replace them with one which would set EnableUAC to false and immediately stop processing the /MANIFESTUAC:NO option.
* | | | | | Merge topic 'ctest-bad-generator'Brad King2014-05-085-0/+51
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | 54111286 ctest_build: Do not crash on bad generator name
| * | | | | ctest_build: Do not crash on bad generator nameBrad King2014-05-075-0/+51
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If creation of the global generator fails, return early with an error message instead of trying to use the generator and crashing. Add a CTestTestBadGenerator test to cover this case. Reported-by: Mathieu Malaterre <malat@debian.org> Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747306
* | | | | Merge topic 'minor-cleanups'Brad King2014-05-087-8/+8
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 47795421 Fix whitespace in docs. aa283b6b Features: Fix test for GNU 4.8.1. bbfd4cd4 Features: Include the language of the compiler in error messages.
| * | | | | Fix whitespace in docs.Stephen Kelly2014-05-071-1/+1
| | | | | |
| * | | | | Features: Fix test for GNU 4.8.1.Stephen Kelly2014-05-071-1/+1
| | | | | |
| * | | | | Features: Include the language of the compiler in error messages.Stephen Kelly2014-05-075-6/+6
| | | | | |
* | | | | | Merge topic 'hp-cpp98-tests'Brad King2014-05-086-1/+67
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | b0f277db HP aCC: record compiler flag for Ansi C++98 support for version 3.80 onwards
| * | | | | | HP aCC: record compiler flag for Ansi C++98 support for version 3.80 onwardsRolf Eike Beer2014-04-256-1/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Old versions of aCC need a special compiler flag to get full C++98 template support as e.g. CMake itself or the Complex and ComplexOneConfig tests need. The same versions need a special flag to get a proper C++ library, too.
* | | | | | | Merge topic 'decay-language-version'Brad King2014-05-0837-18/+216
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 205215fb cmTarget: Add CXX_STANDARD_REQUIRED to control decay. 1df2116b Features: Decay language flag if requested is not available. c4f4dac2 Project: Fix exit-on-error with compile feature tests. 5bb7ce72 Project: Use nullary form of main for compile feature tests. 64254e7a Project: Remove extern from static string in feature tests. 0d9c99bf Help: Fix order of help entries. dc7639bd Tests: Fix name of cache variable.
| * | | | | | | cmTarget: Add CXX_STANDARD_REQUIRED to control decay.Stephen Kelly2014-05-0734-1/+152
| | | | | | | |
| * | | | | | | Features: Decay language flag if requested is not available.Stephen Kelly2014-05-073-9/+57
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the highest standard compile flags available if requested language version is too new. This supports use-cases like set(CMAKE_CXX_STANDARD 14) # Compiled with -std=c++11 with GNU 4.7, which has no -std=c++14 # or equivalent flag add_executable(main main.cpp) This can be used in combination with preprocessor defines which communicate the availability of certain language features for optional use.
| * | | | | | Project: Fix exit-on-error with compile feature tests.Stephen Kelly2014-05-071-4/+3
| | | | | | |
| * | | | | | Project: Use nullary form of main for compile feature tests.Stephen Kelly2014-05-071-1/+1
| | | | | | |
| * | | | | | Project: Remove extern from static string in feature tests.Stephen Kelly2014-05-071-1/+1
| | | | | | |
| * | | | | | Help: Fix order of help entries.Stephen Kelly2014-05-072-2/+2
| | | | | | |
| * | | | | | Tests: Fix name of cache variable.Stephen Kelly2014-05-071-2/+2
| | |_|/ / / | |/| | | |
* | | | | | Merge topic 'compiler-id-refactor'Brad King2014-05-0839-442/+448
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3b59f8b7 Project: Refactor C compiler determination into multiple files. 8896501b CompilerId: Allow specifying a prefix for preprocessor defines. 23f451bb CompilerId: Guard the platform-default compiler code with a parameter. 30a99f5c CompilerId: Add option to generate compiler-id-specific defines. 36ed5894 CompilerId: Allow specifying the compiler-specific components to generate. 9a083bce Project: Split the compiler id detection into a separate function. 9d285600 Project: Generate the CXX compiler Id test from multiple files.
| * | | | | | Project: Refactor C compiler determination into multiple files.Stephen Kelly2014-05-0711-233/+94
| | | | | | |
| * | | | | | CompilerId: Allow specifying a prefix for preprocessor defines.Stephen Kelly2014-05-0721-79/+82
| | | | | | |
| * | | | | | CompilerId: Guard the platform-default compiler code with a parameter.Stephen Kelly2014-05-072-6/+7
| | | | | | |
| * | | | | | CompilerId: Add option to generate compiler-id-specific defines.Stephen Kelly2014-05-071-2/+12
| | | | | | |
| * | | | | | CompilerId: Allow specifying the compiler-specific components to generate.Stephen Kelly2014-05-072-3/+22
| | | | | | |
| * | | | | | Project: Split the compiler id detection into a separate function.Stephen Kelly2014-05-072-74/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can be extended with parameters to control the output and re-used in other contexts.
| * | | | | | Project: Generate the CXX compiler Id test from multiple files.Stephen Kelly2014-05-0728-218/+303
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow sharing of the logic of the order to test compilers in and the preprocessor macros used to do that and to determine the version components.
* | | | | | | Merge topic 'ncurses-tinfo'Brad King2014-05-081-3/+15
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | 1f646c6c FindCurses: Detect and satisfy ncurses dependency on tinfo 0e4a2c7e FindCurses: Honor CURSES_NEED_NCURSES when curses is found
| * | | | | | FindCurses: Detect and satisfy ncurses dependency on tinfoMark Wright2014-05-061-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When ncurses is built with USE=tinfo we need to find "tinfo" as a dependency of the main library. Otherwise 'cbreak' is missing: ld: ...: undefined reference to symbol 'cbreak' ld: note: 'cbreak' is defined in DSO /lib/libtinfo.so.5 so try adding it to the linker command line See https://bugs.gentoo.org/show_bug.cgi?id=468622 for more information. Applied-by: Rolf Eike Beer <eike@sf-mail.de>
| * | | | | | FindCurses: Honor CURSES_NEED_NCURSES when curses is foundMark Wright2014-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Take our CURSES_USE_NCURSES code path when CURSES_NEED_NCURSES is enabled even if CURSES_CURSES_LIBRARY also happens to be found. Applied-by: Rolf Eike Beer <eike@sf-mail.de>
* | | | | | | Merge topic 'desktop-icon'Brad King2014-05-081-1/+1
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | 0c4c29ed cmake-gui: Fix desktop file icon configuration
| * | | | | | cmake-gui: Fix desktop file icon configurationJohannes Huber2014-05-071-1/+1
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop the icon file extension. This fixes the desktop file validation message: "CMakeSetup32.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path Applied-by: Rolf Eike Beer <eike@sf-mail.de>
* | | | | | CMake Nightly Date StampKitware Robot2014-05-081-1/+1
| | | | | |