summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* VS: Fix support for rc /nologo flag in per-source COMPILE_FLAGSBrad King2017-06-225-0/+8
| | | | | | | | | | | | Since commit v3.9.0-rc1~160^2 (VS: Use tool-specific flag table for COMPILE_FLAGS parsing, 2017-05-03) we now correctly use the `rc` flag table to process the COMPILE_FLAGS flags of `.rc` source files instead of incorrectly using the `cl` flag table as before. However, our `rc` flag table is not complete. The `/nologo` flag was working before only by accident because the `cl` flag table entry for it happened to match. Add the proper entry to the `rc` flag table. Fixes: #16991
* VS: Use tool-specific flag table for COMPILE_FLAGS parsingPeter Ivanyi2017-05-031-1/+16
| | | | Fixes: #14710
* VS: Fix MASM flag tablesPeter Ivanyi2017-05-034-156/+148
| | | | | | | Remove the leading `/` characters from flag table entries. Our parser checks the table with the leading character already removed. Issue: #14710
* Merge branch 'release'Brad King2017-05-020-0/+0
|\
| * CMake 3.8.1v3.8.1Brad King2017-05-021-1/+1
| |
* | Merge branch 'release'Brad King2017-05-020-0/+0
|\ \ | |/
| * Merge branch 'FindMatlab-2017a' into releaseBrad King2017-05-011-0/+1
| |\
* | \ Merge topic 'add-language-standards-to-more-compilers'Brad King2017-05-028-1/+151
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9b97cb55 PGI: Add language standards for PGI daae564d Cray: Add language standards for the Cray compiler 25e83ce5 CompileFeatures: Let STD compile options be a list 1de70845 Compilers: Add common macros to be used by various compilers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !784
| * | | PGI: Add language standards for PGIChuck Atkins2017-05-013-0/+34
| | | |
| * | | Cray: Add language standards for the Cray compilerChuck Atkins2017-05-013-0/+50
| | | |
| * | | CompileFeatures: Let STD compile options be a listChuck Atkins2017-05-011-1/+5
| | | |
| * | | Compilers: Add common macros to be used by various compilersChuck Atkins2017-05-011-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With numerous compilers now supporting multiple language standards in CMake, some common design patterns have begun to emerge. This is intended to be a collection of macros implementing many of those common design patterns that can be factored out and leveraged by many compilers. Currently this only contains the code to set the default language standard of not preset. More functionality will be added in the future as appropriate.
* | | | Merge topic 'doc-no-depend'Brad King2017-05-021-12/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c273906f Utilities/Sphinx: Build documentation independently by default Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !786
| * | | | Utilities/Sphinx: Build documentation independently by defaultBrad King2017-05-011-12/+14
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Previously we made the `documentation` target depend on the executable targets. There is no real reason to do this other than serializing the documentation build output in terminals. Move this dependency behind an undocumented option so that it is not on by default.
* | | | Merge topic 'excludeFixtures'Brad King2017-05-0220-29/+359
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c1b2b7c0 Add ctest options for limiting which tests fixtures add Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !778
| * | | | Add ctest options for limiting which tests fixtures addCraig Scott2017-05-0120-29/+359
| | | | | | | | | | | | | | | | | | | | | | | | | The new options allow the user to restrict the setup and cleanup tests automatically added for fixtures.
* | | | | Merge topic 'sunpro-c++11-link'Brad King2017-05-029-19/+88
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e17b1791 Features: On SunPro link with language standard compiler flag d037be12 cmLocalGenerator: Add a hook for compiler flags used at link time b115bc49 Features: Refactor <LANG>_STANDARD update Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !783
| * | | | | Features: On SunPro link with language standard compiler flagBrad King2017-05-012-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When C++ feature requirements or `CXX_STANDARD` cause us to compile on SunPro with the `-std=c++11` option, link with the option too. This is needed to make the compiler use the matching standard library.
| * | | | | cmLocalGenerator: Add a hook for compiler flags used at link timeBrad King2017-05-015-11/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using a compiler to drive linking we add compiler flags from `CMAKE_<LANG>_FLAGS` in case they affect the way the compiler invokes the linker, but we don't add flags from other places that are meant only for compiling sources. Rather than calling the `AddLanguageFlags` method (which is used to add flags for compiling sources) directly, add an intermediate method that is used when adding the flags for linking. This will give us a way to add language-specific compiler flags needed when driving the linker in the same place on the command line as other compiler flags go.
| * | | | | Features: Refactor <LANG>_STANDARD updateBrad King2017-05-015-8/+54
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to support generator expressions in target COMPILE_FEATURES we apply them at generate time. Move this step to the beginning of generation instead of doing it on demand while collecting flags. This avoids repeating the process unnecessarily, and will then allow `cmLocalGenerator::AddCompilerRequirementFlag` to be used any time during generation.
* | | | | Merge topic 'update-kwsys'Brad King2017-05-021-1/+11
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 750d58bf Merge branch 'upstream-KWSys' into update-kwsys 2dec4695 KWSys 2017-05-01 (3ec3252c) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !781
| * \ \ \ \ Merge branch 'upstream-KWSys' into update-kwsysBrad King2017-05-011-1/+11
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | * upstream-KWSys: KWSys 2017-05-01 (3ec3252c)
| | * | | | KWSys 2017-05-01 (3ec3252c)KWSys Upstream2017-05-011-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 3ec3252c4829f929fff246d0d8757ed71f9850f3 (master). Upstream Shortlog ----------------- Chuck Atkins (1): 51e95ba7 XL: Fix compatibility with newer clang-based XL on Linux Daniel Pfeifer (1): 2564822b Disable clang-tidy
* | | | | | Merge topic 'FindMatlab-2017a'Brad King2017-05-021-0/+1
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 6f04dffb FindMatlab: Add support for Matlab 2017a Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !780
| * | | | | FindMatlab: Add support for Matlab 2017aRaffi Enficiaud2017-05-011-0/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2017-05-021-1/+1
| |/ / / / |/| | | |
* | | | | Merge topic 'yacclex-clang-tidy'Brad King2017-05-0131-96/+71
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7f4eaf23 LexerParser: disable clang-tidy checks 9bad0dfc LexerParser: move to custom directory 8927e913 CMakeLists: remove option to regenerate yacc/lex Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !775
| * | | | | LexerParser: disable clang-tidy checksDaniel Pfeifer2017-04-281-0/+6
| | | | | |
| * | | | | LexerParser: move to custom directoryDaniel Pfeifer2017-04-2830-41/+65
| | | | | |
| * | | | | CMakeLists: remove option to regenerate yacc/lexDaniel Pfeifer2017-04-281-55/+0
| | | | | |
* | | | | | Merge topic 'qt-clang-tidy'Brad King2017-05-011-0/+13
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b13bc865 Disable clang-tidy checks on files generated by Qt Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !777
| * | | | | | Disable clang-tidy checks on files generated by QtDaniel Pfeifer2017-04-281-0/+13
| | | | | | |
* | | | | | | Merge topic 'ipo-clang'Brad King2017-05-016-9/+118
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7d057b27 Clang IPO (LTO) support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !717
| * | | | | | | Clang IPO (LTO) supportRuslan Baratov2017-04-286-9/+118
| | |/ / / / / | |/| | | | |
* | | | | | | Merge topic 'xl-enhancements'Brad King2017-05-013-2/+100
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6555286c XL: Add C and C++ language level flags 54a4d28d XL: Add additional regex for bogus compile options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !776
| * | | | | | | XL: Add C and C++ language level flagsChuck Atkins2017-04-282-2/+99
| | | | | | | |
| * | | | | | | XL: Add additional regex for bogus compile optionsChuck Atkins2017-04-281-0/+1
| | | | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2017-05-011-1/+1
| | | | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2017-04-301-1/+1
| | | | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2017-04-291-1/+1
| |/ / / / / / |/| | | | | |
* | | | | | | Merge topic 'refactor-ipo-flags'Brad King2017-04-289-34/+28
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 47990f9f Inline and remove AddFeatureFlags method a8667467 Add IPO compiler flags more consistently in generators Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !772
| * | | | | | Inline and remove AddFeatureFlags methodBrad King2017-04-274-17/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The method implementation is now only one call of another method, so inline it at call sites and remove it.
| * | | | | | Add IPO compiler flags more consistently in generatorsBrad King2017-04-276-19/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move addition of IPO flags into `cmLocalGenerator::AddLanguageFlags` because all call sites of that need the IPO flags, but not all were following the call with `AppendFeatureOptions`.
* | | | | | | Merge topic 'fix-qhalt-for-xl'Brad King2017-04-2814-4/+38
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f320907b XL: Fix the use of the -qhalt flag for varying OSs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !771
| * | | | | | | XL: Fix the use of the -qhalt flag for varying OSsChuck Atkins2017-04-2714-4/+38
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The valid settings to pass to the IBM XL compiler for the -qhalt flag vary widely by language and platform. Based on existing documentation, the following table shows which error levels are valid to pass to -qhalt= since -qhalt=e is not always available. OS | xlc | xlC | xlf | ---------|-------|------------------ AIX | iwes | iw s | ilwesu | BlueGene | iwes | iwes | ilwesu | OS X | iwesu | iwesu | ilwesu | Linux | w | w | ilwesu |
* | | | | | | Merge topic 'FindBoost-compile-features'Brad King2017-04-281-0/+34
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4c2ae38b Boost Fiber actually require at least C++11. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !749
| * | | | | | | Boost Fiber actually require at least C++11.Alex Turbov2017-04-231-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some boost libraries may require particular set of compler features. The very first one was `boost::fiber` introduced in Boost 1.62. One can check required compiler features of it in `${Boost_ROOT}/libs/fiber/build/Jamfile.v2`.
* | | | | | | | Merge topic 'separgs-native'Brad King2017-04-2819-52/+84
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 28d83837 separgs: Use NATIVE_COMMAND where appropriate 2a207aac separgs: Add a NATIVE_COMMAND mode 81841426 separgs: Migrate tests to RunCMake tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !753
| * | | | | | | | separgs: Use NATIVE_COMMAND where appropriateChristian Pfeiffer2017-04-265-22/+5
| | | | | | | | |
| * | | | | | | | separgs: Add a NATIVE_COMMAND modeChristian Pfeiffer2017-04-266-4/+39
| | | | | | | | |