summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'C-features-Wundef'Brad King2014-11-264-4/+18
|\ | | | | | | | | d0af0fae WCDH: Make the header -Wundef safe for the C language.
| * WCDH: Make the header -Wundef safe for the C language.Stephen Kelly2014-11-254-4/+18
| | | | | | | | | | | | | | | | | | The __STDC_VERSION__ macro may be defined or not depending on the implementation dialect of C. Test that it is defined before testing its value. The CXX tests do not need such a change because they define __cplusplus in all dialects.
* | CMake Nightly Date StampKitware Robot2014-11-261-1/+1
| |
* | Merge topic 'custom-command-byproducts'Brad King2014-11-251-0/+7
|\ \ | | | | | | | | | | | | 1f4f2aab Help: Add notes for topic 'custom-command-byproducts'
| * | Help: Add notes for topic 'custom-command-byproducts'Brad King2014-11-251-0/+7
| | |
* | | Merge topic 'doc-drop-borland-workaround'Brad King2014-11-251-22/+0
|\ \ \ | | | | | | | | | | | | | | | | c2af447d Remove disallowed feature which Borland did not accept.
| * | | Remove disallowed feature which Borland did not accept.Stephen Kelly2014-11-251-22/+0
| | | |
* | | | Merge topic 'remove-ancient-msvc-workarounds'Brad King2014-11-257-57/+5
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 12cb0b86 Help: Update developer manual with some C++ features now permitted. ba74465f cmGeneratorTarget: Remove MSVC7 workaround 41363c0c VisualStudio: Remove MSVC6 compatibility macro. 4efcfe52 cmSystemTools: Remove MSVC6 compatibility define. 5f4695cd cmStandardIncludes: Remove MSVC6 condition for cmArrayBegin macro. 7a064337 cmFindCommon: Remove MSVC6 workaround for nested struct private access. fdb73547 cmTarget: Remove std::min and std::max MSVC6 compatibility code.
| * | | Help: Update developer manual with some C++ features now permitted.Stephen Kelly2014-11-201-7/+1
| | | |
| * | | cmGeneratorTarget: Remove MSVC7 workaroundStephen Kelly2014-11-201-20/+0
| | | | | | | | | | | | | | | | Use partial specialization everywhere.
| * | | VisualStudio: Remove MSVC6 compatibility macro.Stephen Kelly2014-11-201-6/+0
| | | |
| * | | cmSystemTools: Remove MSVC6 compatibility define.Stephen Kelly2014-11-201-3/+1
| | | |
| * | | cmStandardIncludes: Remove MSVC6 condition for cmArrayBegin macro.Stephen Kelly2014-11-201-2/+1
| | | |
| * | | cmFindCommon: Remove MSVC6 workaround for nested struct private access.Stephen Kelly2014-11-201-7/+0
| | | |
| * | | cmTarget: Remove std::min and std::max MSVC6 compatibility code.Stephen Kelly2014-11-201-12/+2
| | | | | | | | | | | | | | | | CMake is no longer required to build with MSVC6.
* | | | Merge branch 'release'Brad King2014-11-250-0/+0
|\ \ \ \
| * \ \ \ Merge branch 'fix-WCDH-docs' into releaseBrad King2014-11-251-1/+1
| |\ \ \ \
| * \ \ \ \ Merge branch 'fix-GNU-CXX-dialect-versions' into releaseBrad King2014-11-251-4/+3
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'default-lang-dialect' into releaseBrad King2014-11-257-47/+113
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'fix-openmp-fortran' into releaseBrad King2014-11-201-5/+5
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'backport-fix-CMP0054-MSVC' into releaseBrad King2014-11-205-12/+12
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge branch 'FindJava-no-osx-stub' into releaseBrad King2014-11-191-1/+4
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge branch 'vs-check-phone-store-tools' into releaseBrad King2014-11-177-35/+242
| |\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ Merge branch 'doc-sphinx-cmake-fixup' into releaseBrad King2014-11-171-0/+1
| |\ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ Merge branch 'doc-target_include_directories-fixup' into releaseBrad King2014-11-171-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | |
* | | | | | | | | | | | | Merge topic 'GetPrerequisites-expansion'Brad King2014-11-251-30/+16
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d1903de8 GetPrerequisites: join if() clauses c9e32b0b GetPrerequisites: remove needless variable dereferencing
| * | | | | | | | | | | | | GetPrerequisites: join if() clausesRolf Eike Beer2014-11-251-18/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These all test the same variable for different values, so only one of them can ever be true. This also allows to completely remove one variable that only flagged if one of the conditions matched.
| * | | | | | | | | | | | | GetPrerequisites: remove needless variable dereferencingRolf Eike Beer2014-11-251-15/+15
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Merge topic 'improve-INTERFACE-property-docs'Brad King2014-11-2516-75/+188
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bb1111ea Help: Warn that paths should not be used in INTERFACE_ build properties. 96691d12 Help: Fix typo in genex in documentation. f8f02451 Help: Use a property-specific command instead of the generic one. 8609a884 Help: Make remaining build property docs consistent. bcface39 Help: Link to target_link_libraries from target properies. e12926e7 Help: Format the LINK_INTERFACE_LIBRARIES target properies. c8540e94 Help: Unify the help text of INTERFACE_ build properties.
| * | | | | | | | | | | | | | Help: Warn that paths should not be used in INTERFACE_ build properties.Stephen Kelly2014-11-2510-0/+109
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Help: Fix typo in genex in documentation.Stephen Kelly2014-11-221-1/+1
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Help: Use a property-specific command instead of the generic one.Stephen Kelly2014-11-221-2/+2
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Help: Make remaining build property docs consistent.Stephen Kelly2014-11-222-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These help entries are different enough that they can not use the generic template.
| * | | | | | | | | | | | | | Help: Link to target_link_libraries from target properies.Stephen Kelly2014-11-222-2/+4
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Help: Format the LINK_INTERFACE_LIBRARIES target properies.Stephen Kelly2014-11-222-12/+15
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Help: Unify the help text of INTERFACE_ build properties.Stephen Kelly2014-11-225-51/+41
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Merge topic 'remove-c_str'Brad King2014-11-2526-59/+59
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5eb4d759 Remove some unneeded c_str calls.
| * | | | | | | | | | | | | | | Remove some unneeded c_str calls.Stephen Kelly2014-11-2326-59/+59
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Merge topic 'fix-WCDH-docs'Brad King2014-11-251-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0db3db41 WCDH: Don't imply that MSVC is supported by the module.
| * | | | | | | | | | | | | | | WCDH: Don't imply that MSVC is supported by the module.Stephen Kelly2014-11-231-1/+1
| | |_|_|/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the mention of it from the docs.
* | | | | | | | | | | | | | | Merge topic 'fortran-linker-flags'Brad King2014-11-253-5/+61
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 17b0fe03 Fix incremental linking setting for Fortran + VS
| * | | | | | | | | | | | | | | Fix incremental linking setting for Fortran + VSZack Galbreath2014-11-213-5/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes a bug where it was impossible to specify /INCREMENTAL to Fortran projects built with Visual Studio. The problem was due to the fact that .vfproj files expect the value of this flag to be "linkIncremental{No,Yes}, whereas .vcproj files expect this value to be 0, 1, or 2. The implementation of this fix adds a new data structure for Visual Studio linker flags specific to Fortran. This can easily be extended in the future if more such discrepencies between C/C++ and Fortran linking are discovered.
* | | | | | | | | | | | | | | | Merge topic 'fix-GNU-CXX-dialect-versions'Brad King2014-11-251-4/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c03c184b Features: Record C++11 dialect switch only for GNU 4.7 and later.
| * | | | | | | | | | | | | | | Features: Record C++11 dialect switch only for GNU 4.7 and later.Stephen Kelly2014-11-191-4/+3
| | |/ / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previous versions of GNU are not currently supported by this CMake feature.
* | | | | | | | | | | | | | | Merge topic 'default-lang-dialect-for-master'Brad King2014-11-257-47/+113
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f327a9fd Merge branch 'default-lang-dialect' into step2 36bb100e Fix the test for running the CxxDialog unit test. a3d0ae17 Features: Fix the default C dialect for Clang and GNU. 49e2b689 Features: Fix references to CXX compiler version in Clang-C.cmake. 7565ab2c Features: Test the CXX compiler only if it has features.
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'default-lang-dialect' into step2Stephen Kelly2014-11-207-47/+113
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|_|_|_|_|/ / / | | |/| | | | | | | | | | | / / | | |_|_|_|_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | Conflicts: Modules/Compiler/Clang-C.cmake
| | * | | | | | | | | | | | | Fix the test for running the CxxDialog unit test.Stephen Kelly2014-11-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The existing versions have been used since commit v3.1.0-rc1~635^2~8 (cmTarget: Add CXX_STANDARD and CXX_EXTENSION target properties., 2013-10-13), but further discussions since then increased the initial minimum compiler versions this feature is available for.
| | * | | | | | | | | | | | | Features: Fix the default C dialect for Clang and GNU.Stephen Kelly2014-11-206-15/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clang 3.4 uses C99 by default, and Clang 3.6 uses C11 by default: http://thread.gmane.org/gmane.comp.compilers.clang.devel/39379 GNU 4.9 uses C90 by default, and GNU 5.0 uses C11 by default: https://gcc.gnu.org/gcc-5/changes.html Test that the default compiler settings result in the expected dialect macros being defined for both C and CXX. Remove the unused main.c file from the CompileFeatures unit test.
| | * | | | | | | | | | | | | Features: Fix references to CXX compiler version in Clang-C.cmake.Stephen Kelly2014-11-181-2/+2
| | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | Features: Test the CXX compiler only if it has features.Stephen Kelly2014-11-181-28/+30
| | |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If using different C and CXX compilers, we might not have a feature-full CXX compiler at this point.