summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'drop-ancient-workarounds'Brad King2015-01-12135-930/+615
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0f7bdd61 Remove VS 6 special case. 5e92c826 Remove some obsolete stuff. 15e42bb2 cmStandardIncludes: Remove obsolete cmOStringStream. 931e055d Port all cmOStringStream to std::ostringstream. f194a009 Remove unused cmIStringStream class. 3ec1bb15 cmStandardIncludes: Remove std namespace hack. bb3bce70 cmStandardIncludes: Remove ANSI_FOR_SCOPE hack. 28fa4923 cmStandardIncludes: Remove iostreams workaround for obsolete Compaq compiler. 837a8a63 cmStandardIncludes: Drop Comeau-related workaround. 4030ddfd Remove Borland-related undef. 17d6a6fd cmStandardIncludes: Remove comment about Borland. 26fb5011 Drop SGI as a CMake host compiler.
| * Remove VS 6 special case.Stephen Kelly2015-01-111-3/+0
| |
| * Remove some obsolete stuff.Stephen Kelly2015-01-113-35/+0
| | | | | | | | | | We don't need to run compiler tests for ansi-for etc anymore. All supported compilers support the features tested here.
| * cmStandardIncludes: Remove obsolete cmOStringStream.Stephen Kelly2015-01-114-79/+4
| |
| * Port all cmOStringStream to std::ostringstream.Stephen Kelly2015-01-11127-612/+613
| | | | | | | | All compilers hosting CMake support the std class.
| * Remove unused cmIStringStream class.Stephen Kelly2015-01-081-31/+0
| |
| * cmStandardIncludes: Remove std namespace hack.Stephen Kelly2015-01-081-5/+0
| |
| * cmStandardIncludes: Remove ANSI_FOR_SCOPE hack.Stephen Kelly2015-01-081-7/+0
| | | | | | | | All compilers hosting CMake support proper for scoping.
| * cmStandardIncludes: Remove iostreams workaround for obsolete Compaq compiler.Stephen Kelly2015-01-081-49/+0
| | | | | | | | It is no longer tested on the dashboard.
| * cmStandardIncludes: Drop Comeau-related workaround.Stephen Kelly2015-01-081-13/+0
| | | | | | | | | | The compiler is not tested on the dashboard, and on Windows there are more-natural compilers to use to build CMake.
| * Remove Borland-related undef.Stephen Kelly2015-01-081-1/+0
| |
| * cmStandardIncludes: Remove comment about Borland.Stephen Kelly2015-01-081-11/+0
| | | | | | | | | | The code the comment refers to was removed in commit 2db55ffa (Remove borland workarounds., 2014-08-06)
| * Drop SGI as a CMake host compiler.Stephen Kelly2015-01-086-87/+1
| | | | | | | | | | It has not been tested since commit v3.1.0-rc1~584^2 (Utilities/Release: Drop IRIX binary generation on ferrari, 2014-04-30).
* | Merge topic 'sun-better-stdlib'Brad King2015-01-1240-433/+137
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3660d063 cmTarget: Use insert instead of std::copy. 5c28495f Help: Remove documented restriction on template use. ac3d3829 Help: Remove documented restriction on find in conditions. 36b8de56 Help: Remove documented restriction on insert APIs. 6162c919 Use two-iterator std::set::insert where appropriate. 238dd2fb Use insert instead of a loop in some cases. 2f7ef7e3 Revert "Misc. fixes for the Oracle / Sun compiler." 4c69ec6f SolarisStudio: Use alternative standard library to build CMake.
| * | cmTarget: Use insert instead of std::copy.Stephen Kelly2015-01-111-2/+2
| | | | | | | | | | | | | | | insert can reserve() memory in the container, and this is more-consistent with the rest of CMake now.
| * | Help: Remove documented restriction on template use.Stephen Kelly2015-01-111-6/+0
| | |
| * | Help: Remove documented restriction on find in conditions.Stephen Kelly2015-01-112-29/+1
| | | | | | | | | | | | The necessary conversion is supported by all CMake host compilers.
| * | Help: Remove documented restriction on insert APIs.Stephen Kelly2015-01-111-47/+0
| | |
| * | Use two-iterator std::set::insert where appropriate.Stephen Kelly2015-01-1118-168/+41
| | |
| * | Use insert instead of a loop in some cases.Stephen Kelly2015-01-1121-169/+48
| | | | | | | | | | | | | | | | | | Limit this change to inserting into a vector from a vector. A follow up change can use insert for inserting into a set.
| * | Revert "Misc. fixes for the Oracle / Sun compiler."Stephen Kelly2015-01-112-12/+8
| | | | | | | | | | | | This reverts commit 97b65f8156734db2adc367b27c822a5fe332d740.
| * | SolarisStudio: Use alternative standard library to build CMake.Stephen Kelly2015-01-112-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SolarisStudio ships a very old RogueWave standard library implementation (libCstd) and uses it by default for backward compatibility. The macros defined when building the system libCstd need to be the same as the macros defined when using it for binary compatibility reasons etc. The SolarisStudio compiler driver adds macros such as _RWSTD_NO_MEMBER_TEMPLATES and _RWSTD_NO_CLASS_PARTIAL_SPEC etc. These macros disable certain APIs in the standard library headers. Although the compiler supports the features 'member templates' and 'partial template specialization', the standard library does not provide APIs which rely on those features. This means that std::vector::insert in libCStd does not accept a pair of iterators from a different type of container, because that requires member templates, and reverse_iterator<const T> can not be constructed from a reverse_iterator<T> because that requires partial specialization (or at least the _RWSTD_NO_CLASS_PARTIAL_SPEC define) and member templates. This causes many problems while building CMake using SolarisStudio, which have not been well understood until now. The problems are usually attributed to compiler limitations, while actually the problem is in the standard library, as in commit v3.0.0-rc1~99^2~1 (Help: Document non-use of std::set::insert., 2014-01-24) and commit 107dcac3 (Fix compilation with the Oracle / Sun compiler (#15318), 2014-12-12). SolarisStudio 12.3 and earlier also ships a version of stlport which may be used instead of libCstd by specifying -library=stlport4 https://docs.oracle.com/cd/E18659_01/html/821-1383/bkakg.html SolarisStudio 12.4 ships a version of libstdc++ from GCC 4.8.2 which may be used by specifying -std=c++03 or -std=c++11 etc http://docs.oracle.com/cd/E37069_01/html/E37075/bkamw.html#OSSCPgnaof Use these more-capable standard library implementations when building cmake. This will allow more use of 'normal' C++ (such as std::vector::insert), and cause fewer surprises resulting from dashboards using SolarisStudio. Because cmake is not a library linked against by 3rd parties and does not have external dependencies, issues related to mixing code using libCStd and libstdc++ do not apply.
* | | CMake Nightly Date StampKitware Robot2015-01-121-1/+1
| | |
* | | Merge topic 'linux-XL-fortran'Brad King2015-01-113-0/+3
|\ \ \ | | | | | | | | | | | | | | | | 4729547a XL: Fix link flags for executables on Linux with XL compilers
| * | | XL: Fix link flags for executables on Linux with XL compilersBrad King2015-01-103-0/+3
| | | | | | | | | | | | | | | | | | | | Use "-Wl,-export-dynamic" with XL to match the "-rdynamic" flag used with GNU-like compilers.
* | | | Merge branch 'release'Brad King2015-01-110-0/+0
|\ \ \ \
| * \ \ \ Merge branch 'fix-empty-target-property-queries' into releaseBrad King2015-01-1120-6/+170
| |\ \ \ \
| * \ \ \ \ Merge branch 'FindSDL-quoting' into releaseBrad King2015-01-081-1/+1
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'FindCUDA-cross' into releaseBrad King2015-01-081-2/+2
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'FindIce-CMP0054' into releaseBrad King2015-01-081-5/+5
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'doc-CXX_STANDARD-14' into releaseBrad King2015-01-081-1/+1
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge branch 'doc-if-variable-not-defined' into releaseBrad King2015-01-081-4/+5
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge branch 'kwsys-Terminal-xterm-termite' into releaseBrad King2015-01-081-0/+1
| |\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ Merge branch 'doc-octothorpe-escaping' into releaseBrad King2014-12-241-0/+22
| |\ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ Merge branch 'ninja-fix-subdir-objlib-languages' into releaseBrad King2014-12-246-2/+25
| |\ \ \ \ \ \ \ \ \ \ \ \
* | \ \ \ \ \ \ \ \ \ \ \ \ Merge topic 'tests-encoding'Brad King2015-01-119-46/+49
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9a8ab866 Encoding: Modify tests to work using non-ascii paths.
| * | | | | | | | | | | | | | Encoding: Modify tests to work using non-ascii paths.Clinton Stimpson2015-01-099-46/+49
| | |_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For complex*, CustomCommand and OutDir tests, non-ascii paths are avoided in test code by using relative paths, and setting the working when running the test. This also avoids the need to internationalize the test code. For RunCMake.GeneratorExpression, use a UTF-8 encoding in file(STRINGS) to retrieve the compiled absolute path correctly.
* | | | | | | | | | | | | | Merge topic 'FindCUDA.cmake/UseCMAKE_CXX_FLAGS_separableCompilation'Brad King2015-01-111-1/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b4e54f9b FindCUDA: Add relevant CMAKE_{C,CXX}_FLAGS for separable compilation
| * | | | | | | | | | | | | | FindCUDA: Add relevant CMAKE_{C,CXX}_FLAGS for separable compilationJames Bigler2015-01-061-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously only the CMAKE_{C,CXX}_FLAGS_<CONFIG> flags were inspected for relevant flags when compiling the intermediate link file. We need to also consider the configuration agnostic flags, CMAKE_{C,CXX}_FLAGS as well.
* | | | | | | | | | | | | | | Merge topic 'sln-bom'Brad King2015-01-112-0/+10
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 61cf781a Encoding: Write Visual Studio solution file with BOM.
| * | | | | | | | | | | | | | | Encoding: Write Visual Studio solution file with BOM.Clinton Stimpson2014-12-272-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When configured to use UTF-8 internally, add a UTF-8 BOM to generated .sln files for Visual Studio to correctly handle them. Otherwise, some versions of Visual Studio will read them as ANSI encoded files.
* | | | | | | | | | | | | | | | Merge topic 'feature_record_msvc'Brad King2015-01-1110-7/+185
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2d738ce3 Help: Add notes for topic 'feature_record_msvc' f73718c9 Features: Enable writing of MSVC compiler feature header. 64c30bdc Features: Record for MSVC C++ 2015 and MSVC C 2010-2015. 225c0ef8 Features: Record for MSVC 2010-2013.
| * | | | | | | | | | | | | | | | Help: Add notes for topic 'feature_record_msvc'Brad King2015-01-111-0/+6
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Features: Enable writing of MSVC compiler feature header.Robert Maynard2015-01-115-7/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: VS2015 and above are the only MSVC versions to support cxx_final, so remove usages from the tests, and instead only test for cxx_override. VS2012 and above to conform to cxx_decltype_incomplete_return_types proposal, but without support for auto return types the dcl.type.simple example in the proposal doesn't compile. VS2013 and above to conform to the updated cxx_contextual_conversions proposal, but VS2010 and above pass the test. Compilers such as MSVC have no explicit flags to enable C++11 mode, it just is always on. So only run the link tests with compilers that require a flag to specify the language version.
| * | | | | | | | | | | | | | | | Features: Record for MSVC C++ 2015 and MSVC C 2010-2015.Robert Maynard2015-01-114-16/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initializer lists are only properly supported in 2015 and above. Previous Visual Studio releases said they supported initializer lists but silently produced bad code.
| * | | | | | | | | | | | | | | | Features: Record for MSVC 2010-2013.Stephen Kelly2015-01-112-0/+69
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Merge topic 'refactor-CompileFeatures-test'Brad King2015-01-114-19/+45
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a15675ef Features: Quote all compiler names when comparing with COMPILER_ID 07d1f6fc Features: Properly evaluate if the compiler supports cxx_final. 6296192d Features: Add a comment explaining part of test. c13656e7 Features: Test nullptr as a side-effect activation of static_assert. 3e34e833 Features: Test feature propagation with more-common features. b3e86f4e Features: Test an expectation of whether OVERRIDE_CONTROL is expected
| * | | | | | | | | | | | | | | | Features: Quote all compiler names when comparing with COMPILER_IDRobert Maynard2015-01-112-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In preparation of adding MSVC support we need to quote all compiler names, as MSVC is also a CMake variable.
| * | | | | | | | | | | | | | | | Features: Properly evaluate if the compiler supports cxx_final.Robert Maynard2015-01-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we expanded HAVE_FINAL to determine what the copied_file number would be, but when we don't have cxx_final than HAVE_FINAL is not defined. What we really want is to use expected_result.
| * | | | | | | | | | | | | | | | Features: Add a comment explaining part of test.Stephen Kelly2015-01-031-0/+2
| | | | | | | | | | | | | | | | |