| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
dd043c3f Features: Add support for C++14 features.
|
| |
| |
| |
| | |
Record the features implemented by GNU 4.9 and Clang 3.4.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
58f7baab FindFreetype: Indent with 2 spaces instead of 4
444f8801 FindFreetype: Use lower-case name in call to FPHSA
836a28d5 FindFreetype: Move PATH_SUFFIXES argument for more consistency
4ad6dace FindFreetype: Add newlines to reduce code width
|
| | |
| | |
| | |
| | | |
This is more consistent with style elsewhere.
|
| | |
| | |
| | |
| | |
| | | |
Use 'find_package_handle_standard_args' because lower-case style is
now preferred.
|
| | | |
|
| | |
| | |
| | |
| | | |
This also makes argument lists easier to update.
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
668e571d GNUtoMS: Add support for VS 2013 (#14936)
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add to the Platform/Windows-GNU module list of VS registry entries those
for VS 2013. Also add the name "vcvars64.bat" used by VS 10 and above
for 64-bit tools.
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
Link to it from the documentation of related properties, variables
and commands.
Extend the cmake-developer(7) documentation with notes on
extending feature support for compilers.
|
|\ \
| | |
| | |
| | |
| | | |
bd32b682 OpenBSD: honor the LOCALBASE and X11BASE environment variables
|
| | | |
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
0645eedb FindQt[34]: Prefer matching versioned tool names
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
After finding qmake we search in QT_BINARY_DIR for the other Qt tools.
Try all versioned executable names before trying the plain executable name.
This makes it much more likely that if 2 different major versions are installed
in the same prefix CMake will be able to detect a proper set of tools.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
cda23319 Features: Record for Clang 3.4
|
| |/ /
| | |
| | |
| | | |
Clang 3.4 supports all features currently known to CMake.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
d4fdd9c1 GNUInstallDirs: use the proper default for info and man paths on OpenBSD
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
956b7190 OpenBSD: disable FIND_LIBRARY_USE_LIB64_PATHS
|
| |/ /
| | |
| | |
| | | |
OpenBSD has no multilib paths.
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
1890c668 Keep cmake_minimum_required calls in sync with current version
81a3f228 Do not change minimum required version in modules
|
| | |
| | |
| | |
| | |
| | |
| | | |
Update cmake_minimum_required calls in CMakeLists.txt in Modules and in
CMakeLists.txt generated by other modules, so that they are always in
sync with current CMake version.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some modules change CMake minimum required version when they are
included. For example:
cmake_minimum_required(VERSION 2.8.12)
message("${CMAKE_MINIMUM_REQUIRED_VERSION}")
include(CheckTypeSize)
message("${CMAKE_MINIMUM_REQUIRED_VERSION}")
will produce the following output:
2.8.12
2.6
This patch ensures that when you include a CMake module the minimum
required version and the policies set are left unchanged.
Fixes Issue #14864
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
e0890d03 Features: Extend concept to C language.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add properties and variables corresponding to CXX equivalents.
Add features for c_function_prototypes (C90), c_restrict (C99),
c_variadic_macros (C99) and c_static_assert (C11). This feature
set can be extended later.
Add a <PREFIX>_RESTRICT symbol define to WriteCompilerDetectionHeader
to conditionally represent the c_restrict feature.
|
|\ \ \
| | |/
| |/|
| | |
| | | |
6ad14c71 FindCUDA: Use CUDA_NVCC_FLAGS* for separable compilation
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously when linking the intermediate link file for separable compilation
the CUDA_NVCC_FLAGS* were not used. This caused tremendous confusion when
using this feature, and I consider it to be a bug. This change should fix
this.
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Clang discards the entire string if it is not used, removing
the ability to read the features from the compiled binary. That
is prevented by using the symbol.
GNU with -O3 also discards the string, so use the string in a
way which is determined by a runtime value (argc) to prevent
it being discarded.
|
| |_|/
|/| | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
62a4a67d Add the WriteCompilerDetectionHeader module.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Provide a function to write a portable header to detect compiler
features. Generate a preprocessor #error for unknown compilers
and compiler versions whose features are not yet recorded. This
error condition might be relaxed in the future, but for now it
is useful for verification of expectations.
|
| | | |
| | | |
| | | |
| | | | |
This allows to use target names as executables.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
f782417b Features: Record the oldest supported compiler.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This may be used to ensure that features are reported correctly
only if the compiler minimum version is met.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|/ / /
| | |
| | |
| | | |
Use nested variable evaluation instead.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
9cbc63e4 Features: Record for GNU 4.7.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Update the CompileFeatures test to verify that unsupported features
do not work.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
b0f277db HP aCC: record compiler flag for Ansi C++98 support for version 3.80 onwards
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
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.
|
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
| | | | | | |
|
| | | | | | |
|