[Cmake-commits] CMake branch, next, updated. v3.0.0-rc3-2022-gd166f0b
Stephen Kelly
steveire at gmail.com
Mon Apr 7 10:47:51 EDT 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via d166f0baf6c5decc081aae22e13d753004bf99d3 (commit)
via 5b4da6e3b98b33a47a5aa180cbbb776e6dc174a6 (commit)
from 83aba1b7cb38557b77eeb3a72c9deb8f39d77315 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d166f0baf6c5decc081aae22e13d753004bf99d3
commit d166f0baf6c5decc081aae22e13d753004bf99d3
Merge: 83aba1b 5b4da6e
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Mon Apr 7 10:47:48 2014 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon Apr 7 10:47:48 2014 -0400
Merge topic 'MSVC-features' into next
5b4da6e3 Revert topic.
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5b4da6e3b98b33a47a5aa180cbbb776e6dc174a6
commit 5b4da6e3b98b33a47a5aa180cbbb776e6dc174a6
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Mon Apr 7 16:46:51 2014 +0200
Commit: Stephen Kelly <steveire at gmail.com>
CommitDate: Mon Apr 7 16:47:06 2014 +0200
Revert topic.
diff --git a/Help/command/target_compile_features.rst b/Help/command/target_compile_features.rst
deleted file mode 100644
index f8e5c54..0000000
--- a/Help/command/target_compile_features.rst
+++ /dev/null
@@ -1,30 +0,0 @@
-target_compile_features
------------------------
-
-Add expected compiler features to a target.
-
-::
-
- target_compile_features(<target> <PRIVATE|PUBLIC|INTERFACE> <feature> [...])
-
-Specify compiler features required when compiling a given target. If the
-feature is not listed in the :variable:`CMAKE_CXX_COMPILE_FEATURES` variable,
-then an error will be reported by CMake. If the use of the feature requires
-an additional compiler flag, such as ``-std=c++11``, the flag will be added
-automatically.
-
-The ``INTERFACE``, ``PUBLIC`` and ``PRIVATE`` keywords are required to
-specify the scope of the features. ``PRIVATE`` and ``PUBLIC`` items will
-populate the :prop_tgt:`COMPILE_FEATURES` property of ``<target>``.
-``PUBLIC`` and ``INTERFACE`` items will populate the
-:prop_tgt:`INTERFACE_COMPILE_FEATURES` property of ``<target>``. Repeated
-calls for the same ``<target>`` append items.
-
-The named ``<target>`` must have been created by a command such as
-:command:`add_executable` or :command:`add_library` and must not be
-an ``IMPORTED`` target.
-
-Arguments to ``target_compile_features`` may use "generator expressions"
-with the syntax ``$<...>``.
-See the :manual:`cmake-generator-expressions(7)` manual for available
-expressions.
diff --git a/Help/manual/cmake-commands.7.rst b/Help/manual/cmake-commands.7.rst
index 17c3236..4b1dbed 100644
--- a/Help/manual/cmake-commands.7.rst
+++ b/Help/manual/cmake-commands.7.rst
@@ -91,7 +91,6 @@ These commands may be used freely in CMake projects.
/command/source_group
/command/string
/command/target_compile_definitions
- /command/target_compile_features
/command/target_compile_options
/command/target_include_directories
/command/target_link_libraries
diff --git a/Help/manual/cmake-properties.7.rst b/Help/manual/cmake-properties.7.rst
index a82522d..fd16eb9 100644
--- a/Help/manual/cmake-properties.7.rst
+++ b/Help/manual/cmake-properties.7.rst
@@ -98,7 +98,6 @@ Properties on Targets
/prop_tgt/COMPATIBLE_INTERFACE_STRING
/prop_tgt/COMPILE_DEFINITIONS_CONFIG
/prop_tgt/COMPILE_DEFINITIONS
- /prop_tgt/COMPILE_FEATURES
/prop_tgt/COMPILE_FLAGS
/prop_tgt/COMPILE_OPTIONS
/prop_tgt/COMPILE_PDB_NAME
@@ -107,8 +106,6 @@ Properties on Targets
/prop_tgt/COMPILE_PDB_OUTPUT_DIRECTORY_CONFIG
/prop_tgt/CONFIG_OUTPUT_NAME
/prop_tgt/CONFIG_POSTFIX
- /prop_tgt/CXX_STANDARD
- /prop_tgt/CXX_EXTENSIONS
/prop_tgt/DEBUG_POSTFIX
/prop_tgt/DEFINE_SYMBOL
/prop_tgt/EchoString
@@ -151,7 +148,6 @@ Properties on Targets
/prop_tgt/INSTALL_RPATH_USE_LINK_PATH
/prop_tgt/INTERFACE_AUTOUIC_OPTIONS
/prop_tgt/INTERFACE_COMPILE_DEFINITIONS
- /prop_tgt/INTERFACE_COMPILE_FEATURES
/prop_tgt/INTERFACE_COMPILE_OPTIONS
/prop_tgt/INTERFACE_INCLUDE_DIRECTORIES
/prop_tgt/INTERFACE_LINK_LIBRARIES
diff --git a/Help/manual/cmake-variables.7.rst b/Help/manual/cmake-variables.7.rst
index dfdd09b..4fac6a5 100644
--- a/Help/manual/cmake-variables.7.rst
+++ b/Help/manual/cmake-variables.7.rst
@@ -257,10 +257,6 @@ Variables for Languages
:maxdepth: 1
/variable/CMAKE_COMPILER_IS_GNULANG
- /variable/CMAKE_CXX_COMPILE_FEATURES
- /variable/CMAKE_CXX_KNOWN_FEATURES
- /variable/CMAKE_CXX_STANDARD
- /variable/CMAKE_CXX_EXTENSIONS
/variable/CMAKE_Fortran_MODDIR_DEFAULT
/variable/CMAKE_Fortran_MODDIR_FLAG
/variable/CMAKE_Fortran_MODOUT_FLAG
diff --git a/Help/prop_tgt/COMPILE_FEATURES.rst b/Help/prop_tgt/COMPILE_FEATURES.rst
deleted file mode 100644
index dc32825..0000000
--- a/Help/prop_tgt/COMPILE_FEATURES.rst
+++ /dev/null
@@ -1,11 +0,0 @@
-COMPILE_FEATURES
-----------------
-
-Compiler features enabled for this target.
-
-The list of features in this property are a subset of the features listed
-in the :variable:`CMAKE_CXX_COMPILE_FEATURES` variable.
-
-Contents of ``COMPILE_FEATURES`` may use "generator expressions" with the
-syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)` manual for
-available expressions.
diff --git a/Help/prop_tgt/CXX_EXTENSIONS.rst b/Help/prop_tgt/CXX_EXTENSIONS.rst
deleted file mode 100644
index b9c9931..0000000
--- a/Help/prop_tgt/CXX_EXTENSIONS.rst
+++ /dev/null
@@ -1,8 +0,0 @@
-CXX_EXTENSIONS
---------------
-
-Boolean specifying whether compiler specific extensions are requested.
-
-This property specifies whether compiler specific extensions should be
-used. For some compilers, this results in adding a flag such
-as ``-std=gnu++11`` instead of ``-std=c++11`` to the compile line.
diff --git a/Help/prop_tgt/CXX_STANDARD.rst b/Help/prop_tgt/CXX_STANDARD.rst
deleted file mode 100644
index e1b6e78..0000000
--- a/Help/prop_tgt/CXX_STANDARD.rst
+++ /dev/null
@@ -1,14 +0,0 @@
-CXX_STANDARD
-------------
-
-The C++ standard whose features are required to build this target.
-
-This property specifies the C++ standard whose features are required
-to build this target. For some compilers, this results in adding a
-flag such as ``-std=c++11`` to the compile line.
-
-Supported values are ``98`` and ``11``.
-
-This property is initialized by the value of
-the :variable:`CMAKE_CXX_STANDARD` variable if it is set when a target
-is created.
diff --git a/Help/prop_tgt/INTERFACE_COMPILE_FEATURES.rst b/Help/prop_tgt/INTERFACE_COMPILE_FEATURES.rst
deleted file mode 100644
index a98e362..0000000
--- a/Help/prop_tgt/INTERFACE_COMPILE_FEATURES.rst
+++ /dev/null
@@ -1,14 +0,0 @@
-INTERFACE_COMPILE_FEATURES
---------------------------
-
-List of public compile requirements for a library.
-
-Targets may populate this property to publish the compiler features
-required to compile against the headers for the target. Consuming
-targets can add entries to their own :prop_tgt:`COMPILE_FEATURES`
-property such as ``$<TARGET_PROPERTY:foo,INTERFACE_COMPILE_FEATURES>``
-to require the features specified in the interface of ``foo``.
-
-Contents of ``INTERFACE_COMPILE_FEATURES`` may use "generator expressions"
-with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
-manual for available expressions.
diff --git a/Help/release/dev/compile-language-features.rst b/Help/release/dev/compile-language-features.rst
deleted file mode 100644
index 3c5d7ca..0000000
--- a/Help/release/dev/compile-language-features.rst
+++ /dev/null
@@ -1,18 +0,0 @@
-target-language-features
-------------------------
-
-* New :prop_tgt:`CXX_STANDARD` and :prop_tgt:`CXX_EXTENSIONS` target
- properties may specify values which CMake uses to compute required
- compile options such as ``-std=c++11`` or ``-std=gnu++11``. The
- :variable:`CMAKE_CXX_STANDARD` and :variable:`CMAKE_CXX_EXTENSIONS`
- variables may be set to initialize the target properties.
-
-* New :prop_tgt:`COMPILE_FEATURES` target property may contain a list
- of features required to compile a target. CMake uses this
- information to ensure that the compiler in use is capable of building
- the target, and to add any necessary compile flags to support language
- features.
-
-* New :command:`target_compile_features` command allows populating the
- :prop_tgt:`COMPILE_FEATURES` target property, just like any other
- build variable.
diff --git a/Help/variable/CMAKE_CXX_COMPILE_FEATURES.rst b/Help/variable/CMAKE_CXX_COMPILE_FEATURES.rst
deleted file mode 100644
index 6be0124..0000000
--- a/Help/variable/CMAKE_CXX_COMPILE_FEATURES.rst
+++ /dev/null
@@ -1,8 +0,0 @@
-CMAKE_CXX_COMPILE_FEATURES
---------------------------
-
-List of features known to the C++ compiler
-
-These features are known to be available for use with the C++ compiler. This
-list is a subset of the features listed in the :variable:`CMAKE_CXX_KNOWN_FEATURES`
-variable.
diff --git a/Help/variable/CMAKE_CXX_EXTENSIONS.rst b/Help/variable/CMAKE_CXX_EXTENSIONS.rst
deleted file mode 100644
index 734d508..0000000
--- a/Help/variable/CMAKE_CXX_EXTENSIONS.rst
+++ /dev/null
@@ -1,8 +0,0 @@
-CMAKE_CXX_EXTENSIONS
---------------------
-
-Default value for ``CXX_EXTENSIONS`` property of targets.
-
-This variable is used to initialize the :prop_tgt:`CXX_EXTENSIONS`
-property on all targets. See that target property for additional
-information.
diff --git a/Help/variable/CMAKE_CXX_KNOWN_FEATURES.rst b/Help/variable/CMAKE_CXX_KNOWN_FEATURES.rst
deleted file mode 100644
index 332e945..0000000
--- a/Help/variable/CMAKE_CXX_KNOWN_FEATURES.rst
+++ /dev/null
@@ -1,244 +0,0 @@
-CMAKE_CXX_KNOWN_FEATURES
-------------------------
-
-List of C++ features known to this version of CMake.
-
-The features listed in this variable may be known to be available to the
-C++ compiler. If the feature is available with the C++ compiler, it will
-be listed in the :variable:`CMAKE_CXX_COMPILE_FEATURES` variable.
-
-The features listed here may be used with the :command:`target_compile_features`
-command.
-
-The features known to this version of CMake are:
-
-``cxx_delegating_constructors``
- Delegating constructors, as defined in N1986_.
-
- .. _N1986: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1986.pdf
-
-``cxx_variadic_templates``
- Variadic templates, as defined in N2242_.
-
- .. _N2242: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2242.pdf
-
-``cxx_constexpr``
- Constant expressions, as defined in N2235_.
-
- .. _N2235: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2235.pdf
-
-``cxx_static_assert``
- Static assert, as defined in N1720_.
-
- .. _N1720: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1720.html
-
-``cxx_final``
- Override control ``final`` keyword, as defined in N2928_.
-
- .. _N2928: http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2928.htm
-
-``cxx_override``
- Override control ``override`` keyword, as defined in N2928_.
-
- .. _N2928: http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2928.htm
-
-``cxx_auto_function``
- Automatic function return type, as defined in N2541_.
-
- .. _N2541: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2541.htm
-
-``cxx_auto_type``
- Automatic type deduction, as defined in N1984_.
-
- .. _N1984: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1984.pdf
-
-``cxx_strong_enums``
- Strongly typed enums, as defined in N2347_.
-
- .. _N2347: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2347.pdf
-
-``cxx_decltype``
- Decltype, as defined in N2343_.
-
- .. _N2343: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2343.pdf
-
-``cxx_defaulted_functions``
- Defaulted functions, as defined in N2346_.
-
- .. _N2346: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2346.htm
-
-``cxx_deleted_functions``
- Deleted functions, as defined in N2346_.
-
- .. _N2346: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2346.htm
-
-``cxx_explicit_conversions``
- Explicit conversion operators, as defined in N2437_.
-
- .. _N2437: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2437.pdf
-
-``cxx_inheriting_constructors``
- Inheriting constructors, as defined in N2540_.
-
- .. _N2540: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2540.htm
-
-``cxx_lambdas``
- Lambda functions, as defined in N2927_.
-
- .. _N2927: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2927.pdf
-
-``cxx_nonstatic_member_init``
- Non-static data member initialization, as defined in N2756.
-
- .. _N2756: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2756.htm
-
-``cxx_noexcept``
- Exception specifications, as defined in N3050_.
-
- .. _N3050: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3050.html
-
-``cxx_nullptr``
- Null pointer, as defined in N2431_.
-
- .. _N2431: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2431.pdf
-
-``cxx_range_for``
- Range-based for, as defined in N2930_.
-
- .. _N2930: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2930.html
-
-``cxx_raw_string_literals``
- Raw string literals, as defined in N2442_.
-
- .. _N2442: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2442.htm
-
-``cxx_reference_qualified_functions``
- Reference qualified functions, as defined in N2439_.
-
- .. _N2439: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2439.htm
-
-``cxx_rvalue_references``
- R-value references, as defined in N2118_.
-
- .. _N2118: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2118.html
-
-``cxx_alias_templates``
- Template aliases, as defined in N2258_.
-
- .. _N2258: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2258.pdf
-
-``cxx_user_literals``
- User-defined literals, as defined in N2765_.
-
- .. _N2765: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2765.pdf
-
-``cxx_unicode_literals``
- Unicode string literals, as defined in N2442_.
-
- .. _N2442: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2442.htm
-
-``cxx_unrestricted_unions``
- Unrestricted unions, as defined in N2544_.
-
- .. _N2544: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2544.pdf
-
-``cxx_extern_templates``
- Extern templates, as defined in N1987_.
-
- .. _N1987: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1987.htm
-
-``cxx_alignas``
- Alignment control ``alignas``, as defined in N2341_.
-
- .. _N2341: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2341.pdf
-
-``cxx_alignof``
- Alignment control ``alignof``, as defined in N2341_.
-
- .. _N2341: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2341.pdf
-
-``cxx_attributes``
- Generic attributes, as defined in N2761_.
-
- .. _N2761: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2761.pdf
-
-``cxx_generalized_initializers``
- Initializer lists, as defined in N2672_.
-
- .. _N2672: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2672.htm
-
-``cxx_uniform_initialization``
- Uniform intialization, as defined in N2640_.
-
- .. _N2640: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2640.pdf
-
-``cxx_variadic_macros``
- Variadic macros, as defined in N1653_.
-
- .. _N1653: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1653.htm
-
-``cxx_inline_namespaces``
- Inline namespaces, as defined in N2535_.
-
- .. _N2535: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2535.htm
-
-``thread_local``
- Thread-local variables, as defined in N2659_.
-
- .. _N2659: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2659.htm
-
-``cxx_sizeof_member``
- Size of non-static data members, as defined in N2253_.
-
- .. _N2253: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2253.html
-
-``cxx_decltype_incomplete_return_types``
- Decltype on incomplete return types, as defined in N3276_.
-
- .. _N3276 : http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3276.pdf
-
-``cxx_right_angle_brackets``
- Right angle bracket parsing, as defined in N1757_.
-
- .. _N1757: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1757.html
-
-``cxx_default_function_template_args``
- Default template arguments for function templates, as defined in DR226_
-
- .. _DR226: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#226
-
-``cxx_enum_forward_declarations``
- Enum forward declarations, as defined in N2764_.
-
- .. _N2764: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2764.pdf
-
-``cxx_extended_friend_declarations``
- Extended friend declarations, as defined in N1791_.
-
- .. _N1791: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1791.pdf
-
-``cxx_local_type_template_args``
- Local and unnamed types as template arguments, as defined in N2657_.
-
- .. _N2657: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2657.htm
-
-``cxx_func_identifier``
- Predefined ``__func__`` identifier, as defined in N2340_.
-
- .. _N2340: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2340.htm
-
-``cxx_long_long_type``
- ``long long`` type, as defined in N1811_.
-
- .. _N1811: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1811.pdf
-
-``cxx_template_template_parameters``
- Template template parameters, as defined in ``ISO/IEC 14882:1998``.
-
-``gnu_cxx_typeof``
- The GNU typeof extension, as defined in the `GNU Typeof Documentation`_.
-
- .. _`GNU Typeof Documentation`: http://gcc.gnu.org/onlinedocs/gcc/Typeof.html#Typeof
-
-``msvc_cxx_sealed``
- The MSVC sealed extension
diff --git a/Help/variable/CMAKE_CXX_STANDARD.rst b/Help/variable/CMAKE_CXX_STANDARD.rst
deleted file mode 100644
index 5fd4138..0000000
--- a/Help/variable/CMAKE_CXX_STANDARD.rst
+++ /dev/null
@@ -1,8 +0,0 @@
-CMAKE_CXX_STANDARD
-------------------
-
-Default value for ``CXX_STANDARD`` property of targets.
-
-This variable is used to initialize the :prop_tgt:`CXX_STANDARD`
-property on all targets. See that target property for additional
-information.
diff --git a/Help/variable/CMAKE_DEBUG_TARGET_PROPERTIES.rst b/Help/variable/CMAKE_DEBUG_TARGET_PROPERTIES.rst
index e200b86..edd8fa1 100644
--- a/Help/variable/CMAKE_DEBUG_TARGET_PROPERTIES.rst
+++ b/Help/variable/CMAKE_DEBUG_TARGET_PROPERTIES.rst
@@ -7,7 +7,7 @@ This variable can be populated with a list of properties to generate
debug output for when evaluating target properties. Currently it can
only be used when evaluating the :prop_tgt:`INCLUDE_DIRECTORIES`,
:prop_tgt:`COMPILE_DEFINITIONS`, :prop_tgt:`COMPILE_OPTIONS`,
-:prop_tgt:`AUTOUIC_OPTIONS`, :prop_tgt:`SOURCES`, :prop_tgt:`COMPILE_FEATURES`,
+:prop_tgt:`AUTOUIC_OPTIONS`, :prop_tgt:`SOURCES`,
:prop_tgt:`POSITION_INDEPENDENT_CODE` target properties and any other property
listed in :prop_tgt:`COMPATIBLE_INTERFACE_STRING` and other ``COMPATIBLE_INTERFACE_``
properties. It outputs an origin for each entry in the target property.
diff --git a/Modules/CMakeCXXCompiler.cmake.in b/Modules/CMakeCXXCompiler.cmake.in
index 0e0b0b7..c75611a 100644
--- a/Modules/CMakeCXXCompiler.cmake.in
+++ b/Modules/CMakeCXXCompiler.cmake.in
@@ -2,11 +2,6 @@ set(CMAKE_CXX_COMPILER "@CMAKE_CXX_COMPILER@")
set(CMAKE_CXX_COMPILER_ARG1 "@CMAKE_CXX_COMPILER_ARG1@")
set(CMAKE_CXX_COMPILER_ID "@CMAKE_CXX_COMPILER_ID@")
set(CMAKE_CXX_COMPILER_VERSION "@CMAKE_CXX_COMPILER_VERSION@")
-set(CMAKE_CXX_COMPILE_FEATURES "@CMAKE_CXX_COMPILE_FEATURES@")
-set(CMAKE_CXX98_COMPILE_FEATURES "@CMAKE_CXX98_COMPILE_FEATURES@")
-set(CMAKE_CXX98_COMPILE_EXTENSIONS "@CMAKE_CXX98_COMPILE_EXTENSIONS@")
-set(CMAKE_CXX11_COMPILE_FEATURES "@CMAKE_CXX11_COMPILE_FEATURES@")
-
set(CMAKE_CXX_PLATFORM_ID "@CMAKE_CXX_PLATFORM_ID@")
set(CMAKE_CXX_SIMULATE_ID "@CMAKE_CXX_SIMULATE_ID@")
set(CMAKE_CXX_SIMULATE_VERSION "@CMAKE_CXX_SIMULATE_VERSION@")
diff --git a/Modules/CMakeDetermineCompileFeatures.cmake b/Modules/CMakeDetermineCompileFeatures.cmake
deleted file mode 100644
index 5237a04..0000000
--- a/Modules/CMakeDetermineCompileFeatures.cmake
+++ /dev/null
@@ -1,56 +0,0 @@
-
-#=============================================================================
-# Copyright 2013 Stephen Kelly <steveire at gmail.com>
-#
-# Distributed under the OSI-approved BSD License (the "License");
-# see accompanying file Copyright.txt for details.
-#
-# This software is distributed WITHOUT ANY WARRANTY; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the License for more information.
-#=============================================================================
-# (To distribute this file outside of CMake, substitute the full
-# License text for the above reference.)
-
-function(cmake_determine_compile_features lang)
-
- if(lang STREQUAL CXX AND COMMAND cmake_record_cxx_compile_features)
- message(STATUS "Detecting ${lang} compile features")
-
- set(CMAKE_CXX98_COMPILE_FEATURES)
- set(CMAKE_CXX98_COMPILE_EXTENSIONS)
- set(CMAKE_CXX11_COMPILE_FEATURES)
-
- include("${CMAKE_ROOT}/Modules/Internal/FeatureTesting.cmake")
-
- cmake_record_cxx_compile_features()
-
- if(NOT _result EQUAL 0)
- message(STATUS "Detecting ${lang} compile features - failed")
- return()
- endif()
-
- if (CMAKE_CXX98_COMPILE_EXTENSIONS)
- list(REMOVE_ITEM CMAKE_CXX11_COMPILE_FEATURES ${CMAKE_CXX98_COMPILE_EXTENSIONS})
- list(REMOVE_ITEM CMAKE_CXX98_COMPILE_EXTENSIONS ${CMAKE_CXX98_COMPILE_FEATURES})
- elseif(CMAKE_CXX98_COMPILE_FEATURES)
- list(REMOVE_ITEM CMAKE_CXX11_COMPILE_FEATURES ${CMAKE_CXX98_COMPILE_FEATURES})
- endif()
-
- if(NOT CMAKE_CXX_COMPILE_FEATURES)
- set(CMAKE_CXX_COMPILE_FEATURES
- ${CMAKE_CXX98_COMPILE_FEATURES}
- ${CMAKE_CXX98_COMPILE_EXTENSIONS}
- ${CMAKE_CXX11_COMPILE_FEATURES}
- )
- endif()
-
- set(CMAKE_CXX_COMPILE_FEATURES ${CMAKE_CXX_COMPILE_FEATURES} PARENT_SCOPE)
- set(CMAKE_CXX98_COMPILE_FEATURES ${CMAKE_CXX98_COMPILE_FEATURES} PARENT_SCOPE)
- set(CMAKE_CXX98_COMPILE_EXTENSIONS ${CMAKE_CXX98_COMPILE_EXTENSIONS} PARENT_SCOPE)
- set(CMAKE_CXX11_COMPILE_FEATURES ${CMAKE_CXX11_COMPILE_FEATURES} PARENT_SCOPE)
-
- message(STATUS "Detecting ${lang} compile features - done")
- endif()
-
-endfunction()
diff --git a/Modules/CMakeTestCXXCompiler.cmake b/Modules/CMakeTestCXXCompiler.cmake
index 81561b2..a06c92a 100644
--- a/Modules/CMakeTestCXXCompiler.cmake
+++ b/Modules/CMakeTestCXXCompiler.cmake
@@ -66,9 +66,6 @@ else()
# Try to identify the ABI and configure it into CMakeCXXCompiler.cmake
include(${CMAKE_ROOT}/Modules/CMakeDetermineCompilerABI.cmake)
CMAKE_DETERMINE_COMPILER_ABI(CXX ${CMAKE_ROOT}/Modules/CMakeCXXCompilerABI.cpp)
- # Try to identify the compiler features
- include(${CMAKE_ROOT}/Modules/CMakeDetermineCompileFeatures.cmake)
- CMAKE_DETERMINE_COMPILE_FEATURES(CXX)
# Re-configure to save learned information.
configure_file(
diff --git a/Modules/Compiler/AppleClang-CXX.cmake b/Modules/Compiler/AppleClang-CXX.cmake
index 0372e18..680f720 100644
--- a/Modules/Compiler/AppleClang-CXX.cmake
+++ b/Modules/Compiler/AppleClang-CXX.cmake
@@ -1,6 +1 @@
-include(Compiler/Clang)
-__compiler_clang(CXX)
-
-if(NOT CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC")
- set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN "-fvisibility-inlines-hidden")
-endif()
+include(Compiler/Clang-CXX)
diff --git a/Modules/Compiler/Clang-CXX-FeatureTests.cmake b/Modules/Compiler/Clang-CXX-FeatureTests.cmake
deleted file mode 100644
index 3221ee7..0000000
--- a/Modules/Compiler/Clang-CXX-FeatureTests.cmake
+++ /dev/null
@@ -1,68 +0,0 @@
-
-# Reference: http://clang.llvm.org/cxx_status.html
-# http://clang.llvm.org/docs/LanguageExtensions.html
-
-set(testable_features
- cxx_reference_qualified_functions
- cxx_decltype_incomplete_return_types
- cxx_inheriting_constructors
- cxx_alignas
- cxx_attributes
- cxx_thread_local
- cxx_delegating_constructors
- cxx_nonstatic_member_init
- cxx_noexcept
- cxx_alias_templates
- cxx_user_literals
- cxx_constexpr
- cxx_nullptr
- cxx_range_for
- cxx_unrestricted_unions
- cxx_explicit_conversions
- cxx_lambdas
- cxx_raw_string_literals
- cxx_local_type_template_args
- cxx_variadic_templates
- cxx_auto_type
- cxx_strong_enums
- cxx_defaulted_functions
- cxx_deleted_functions
- cxx_unicode_literals
- cxx_generalized_initializers
- cxx_static_assert
- cxx_decltype
- cxx_rvalue_references
- cxx_default_function_template_args
-)
-foreach(feature ${testable_features})
- set(_cmake_feature_test_${feature} "__has_feature(${feature})")
-endforeach()
-
-unset(testable_features)
-
-set(_oldestSupported "((__clang_major__ * 100) + __clang_minor__) >= 304")
-
-set(_cmake_feature_test_gnu_cxx_typeof "${_oldestSupported} && !defined(__STRICT_ANSI__)")
-set(_cmake_feature_test_cxx_alignof "__has_feature(cxx_alignas)")
-set(_cmake_feature_test_cxx_final "__has_feature(cxx_override_control)")
-set(_cmake_feature_test_cxx_override "__has_feature(cxx_override_control)")
-set(_cmake_feature_test_cxx_uniform_initialization "__has_feature(cxx_generalized_initializers)")
-set(_cmake_feature_test_cxx_auto_function "__has_feature(cxx_auto_type)")
-
-# TODO: Should be supported by Clang 3.1
-set(_cmake_feature_test_cxx_enum_forward_declarations "${_oldestSupported} && __cplusplus >= 201103L")
-set(_cmake_feature_test_cxx_sizeof_member "${_oldestSupported} && __cplusplus >= 201103L")
-# TODO: Should be supported by Clang 2.9
-set(_cmake_feature_test_cxx_extended_friend_declarations "${_oldestSupported} && __cplusplus >= 201103L")
-set(_cmake_feature_test_cxx_inline_namespaces "${_oldestSupported} && __cplusplus >= 201103L")
-set(_cmake_feature_test_cxx_right_angle_brackets "${_oldestSupported} && __cplusplus >= 201103L")
-set(_cmake_feature_test_cxx_long_long_type "${_oldestSupported} && __cplusplus >= 201103L")
-set(_cmake_feature_test_cxx_extern_templates "${_oldestSupported} && __cplusplus >= 201103L")
-set(_cmake_feature_test_cxx_variadic_macros "${_oldestSupported} && __cplusplus >= 201103L")
-set(_cmake_feature_test_cxx_func_identifier "${_oldestSupported} && __cplusplus >= 201103L")
-
-# TODO: Should be supported forever?
-set(_cmake_feature_test_cxx_template_template_parameters "${_oldestSupported} && __cplusplus >= 199711L")
-set(_cmake_feature_test_gnu_cxx_typeof "${_oldestSupported} && !defined(__STRICT_ANSI__)")
-
-set(_oldestSupported)
diff --git a/Modules/Compiler/Clang-CXX.cmake b/Modules/Compiler/Clang-CXX.cmake
index bdfefd7..0372e18 100644
--- a/Modules/Compiler/Clang-CXX.cmake
+++ b/Modules/Compiler/Clang-CXX.cmake
@@ -4,35 +4,3 @@ __compiler_clang(CXX)
if(NOT CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC")
set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN "-fvisibility-inlines-hidden")
endif()
-
-cmake_policy(GET CMP0025 appleClangPolicy)
-if(NOT appleClangPolicy STREQUAL NEW)
- return()
-endif()
-
-if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 2.1)
- set(CMAKE_CXX98_STANDARD_COMPILE_OPTION "-std=c++98")
- set(CMAKE_CXX98_EXTENSION_COMPILE_OPTION "-std=gnu++98")
-endif()
-
-if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.1)
- set(CMAKE_CXX11_STANDARD_COMPILE_OPTION "-std=c++11")
- set(CMAKE_CXX11_EXTENSION_COMPILE_OPTION "-std=gnu++11")
-elseif(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 2.1)
- set(CMAKE_CXX11_STANDARD_COMPILE_OPTION "-std=c++0x")
- set(CMAKE_CXX11_EXTENSION_COMPILE_OPTION "-std=gnu++0x")
-endif()
-
-macro(cmake_record_cxx_compile_features)
- macro(_get_clang_features std_version list)
- record_compiler_features(CXX "-std=${std_version}" ${list})
- endmacro()
-
- if (UNIX AND NOT APPLE AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.4)
- _get_clang_features(c++11 CMAKE_CXX11_COMPILE_FEATURES)
- _get_clang_features(c++98 CMAKE_CXX98_COMPILE_FEATURES)
- _get_clang_features(gnu++98 CMAKE_CXX98_COMPILE_EXTENSIONS)
- else()
- set(_result 0)
- endif()
-endmacro()
diff --git a/Modules/Compiler/GNU-CXX-FeatureTests.cmake b/Modules/Compiler/GNU-CXX-FeatureTests.cmake
deleted file mode 100644
index f91eeea..0000000
--- a/Modules/Compiler/GNU-CXX-FeatureTests.cmake
+++ /dev/null
@@ -1,80 +0,0 @@
-
-# Reference: http://gcc.gnu.org/projects/cxx0x.html
-
-set(_oldestSupported "(__GNUC__ * 100 + __GNUC_MINOR__) >= 407")
-# Introduced in GCC 4.8.1
-set(GNU481_CXX11 "((__GNUC__ * 100 + __GNUC_MINOR__) > 408 || __GNUC_PATCHLEVEL__ >= 1) && __cplusplus >= 201103L")
-set(_cmake_feature_test_cxx_reference_qualified_functions "${GNU481_CXX11}")
-set(_cmake_feature_test_cxx_decltype_incomplete_return_types "${GNU481_CXX11}")
-set(GNU48_CXX11 "(__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L")
-set(_cmake_feature_test_cxx_inheriting_constructors "${GNU48_CXX11}")
-set(_cmake_feature_test_cxx_alignas "${GNU48_CXX11}")
-set(_cmake_feature_test_cxx_alignof "${GNU48_CXX11}")
-set(_cmake_feature_test_cxx_attributes "${GNU48_CXX11}")
-set(_cmake_feature_test_cxx_thread_local "${GNU48_CXX11}")
-set(GNU47_CXX11 "(__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L")
-set(_cmake_feature_test_cxx_delegating_constructors "${GNU47_CXX11}")
-set(_cmake_feature_test_cxx_final "${GNU47_CXX11}")
-set(_cmake_feature_test_cxx_override "${GNU47_CXX11}")
-set(_cmake_feature_test_cxx_nonstatic_member_init "${GNU47_CXX11}")
-set(_cmake_feature_test_cxx_noexcept "${GNU47_CXX11}")
-set(_cmake_feature_test_cxx_alias_templates "${GNU47_CXX11}")
-set(_cmake_feature_test_cxx_user_literals "${GNU47_CXX11}")
-set(_cmake_feature_test_cxx_extended_friend_declarations "${GNU47_CXX11}")
-# NOTE: C++11 was ratified in September 2011. GNU 4.7 is the first minor
-# release following that (March 2012), and the first minor release to
-# support -std=c++11. Prior to that, support for C++11 features is technically
-# experiemental and possibly incomplete (see for example the note below about
-# cxx_variadic_template_template_parameters)
-# TODO: Should be supported by GNU 4.6
-set(GNU46_CXX11 "${_oldestSupported} && __cplusplus >= 201103L")
-set(_cmake_feature_test_cxx_constexpr "${GNU46_CXX11}")
-set(_cmake_feature_test_cxx_nullptr "${GNU46_CXX11}")
-set(_cmake_feature_test_cxx_range_for "${GNU46_CXX11}")
-set(_cmake_feature_test_cxx_unrestricted_unions "${GNU46_CXX11}")
-set(_cmake_feature_test_cxx_enum_forward_declarations "${GNU46_CXX11}")
-# TODO:GCC documents support for rvalue references (2118) in GNU 4.3, but
-# support for Defining move special member functions (N3053) in GNU 4.6.
-# Is a separate feature needed for it? How should it be tested?
-# TODO: Should be supported by GNU 4.5
-set(GNU45_CXX11 "${_oldestSupported} && __cplusplus >= 201103L")
-set(_cmake_feature_test_cxx_explicit_conversions "${GNU45_CXX11}")
-set(_cmake_feature_test_cxx_lambdas "${GNU45_CXX11}")
-set(_cmake_feature_test_cxx_raw_string_literals "${GNU45_CXX11}")
-set(_cmake_feature_test_cxx_local_type_template_args "${GNU45_CXX11}")
-# TODO: Should be supported by GNU 4.4
-set(GNU44_CXX11 "${_oldestSupported} && __cplusplus >= 201103L")
-set(_cmake_feature_test_cxx_variadic_templates "${GNU44_CXX11}")
-set(_cmake_feature_test_cxx_auto_function "${GNU44_CXX11}")
-set(_cmake_feature_test_cxx_auto_type "${GNU44_CXX11}")
-set(_cmake_feature_test_cxx_strong_enums "${GNU44_CXX11}")
-set(_cmake_feature_test_cxx_defaulted_functions "${GNU44_CXX11}")
-set(_cmake_feature_test_cxx_deleted_functions "${GNU44_CXX11}")
-set(_cmake_feature_test_cxx_unicode_literals "${GNU44_CXX11}")
-set(_cmake_feature_test_cxx_generalized_initializers "${GNU44_CXX11}")
-set(_cmake_feature_test_cxx_uniform_initialization "${GNU44_CXX11}")
-set(_cmake_feature_test_cxx_inline_namespaces "${GNU44_CXX11}")
-set(_cmake_feature_test_cxx_sizeof_member "${GNU44_CXX11}")
-# TODO: If features are ever recorded for GNU 4.3, there should possibly
-# be a new feature added like cxx_variadic_template_template_parameters,
-# which is implemented by GNU 4.4, but not 4.3. cxx_variadic_templates is
-# actually implemented by GNU 4.3, but variadic template template parameters
-# 'completes' it, so that is the version we record as having the variadic
-# templates capability in CMake. See
-# http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2555.pdf
-# TODO: Should be supported by GNU 4.3
-set(GNU43_CXX11 "${_oldestSupported} && __cplusplus >= 201103L")
-set(_cmake_feature_test_cxx_static_assert "${GNU43_CXX11}")
-set(_cmake_feature_test_cxx_decltype "${GNU43_CXX11}")
-set(_cmake_feature_test_cxx_rvalue_references "${GNU43_CXX11}")
-set(_cmake_feature_test_cxx_right_angle_brackets "${GNU43_CXX11}")
-set(_cmake_feature_test_cxx_default_function_template_args "${GNU43_CXX11}")
-set(_cmake_feature_test_cxx_long_long_type "${GNU43_CXX11}")
-# TODO: Should be supported since GNU 3.4?
-set(_cmake_feature_test_cxx_extern_templates "${_oldestSupported} && __cplusplus >= 201103L")
-# TODO: Should be supported forever?
-set(_cmake_feature_test_cxx_variadic_macros "${_oldestSupported} && __cplusplus >= 201103L")
-set(_cmake_feature_test_cxx_func_identifier "${_oldestSupported} && __cplusplus >= 201103L")
-set(_cmake_feature_test_cxx_template_template_parameters "${_oldestSupported} && __cplusplus >= 199711L")
-set(_cmake_feature_test_gnu_cxx_typeof "${_oldestSupported} && !defined(__STRICT_ANSI__)")
-set(_oldestSupported)
diff --git a/Modules/Compiler/GNU-CXX.cmake b/Modules/Compiler/GNU-CXX.cmake
index e43b709..33d6093 100644
--- a/Modules/Compiler/GNU-CXX.cmake
+++ b/Modules/Compiler/GNU-CXX.cmake
@@ -10,30 +10,3 @@ else()
set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN "-fvisibility-inlines-hidden")
endif()
endif()
-
-if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.3)
- set(CMAKE_CXX98_STANDARD_COMPILE_OPTION "-std=c++98")
- set(CMAKE_CXX98_EXTENSION_COMPILE_OPTION "-std=gnu++98")
-endif()
-
-if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.7)
- set(CMAKE_CXX11_STANDARD_COMPILE_OPTION "-std=c++11")
- set(CMAKE_CXX11_EXTENSION_COMPILE_OPTION "-std=gnu++11")
-elseif(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.3)
- set(CMAKE_CXX11_STANDARD_COMPILE_OPTION "-std=c++0x")
- set(CMAKE_CXX11_EXTENSION_COMPILE_OPTION "-std=gnu++0x")
-endif()
-
-macro(cmake_record_cxx_compile_features)
- macro(_get_gcc_features std_version list)
- record_compiler_features(CXX "-std=${std_version}" ${list})
- endmacro()
-
- if (UNIX AND NOT APPLE AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.7)
- _get_gcc_features(c++11 CMAKE_CXX11_COMPILE_FEATURES)
- _get_gcc_features(c++98 CMAKE_CXX98_COMPILE_FEATURES)
- _get_gcc_features(gnu++98 CMAKE_CXX98_COMPILE_EXTENSIONS)
- else()
- set(_result 0)
- endif()
-endmacro()
diff --git a/Modules/Compiler/MSVC-CXX-FeatureTests.cmake b/Modules/Compiler/MSVC-CXX-FeatureTests.cmake
deleted file mode 100644
index 39915d0..0000000
--- a/Modules/Compiler/MSVC-CXX-FeatureTests.cmake
+++ /dev/null
@@ -1,64 +0,0 @@
-
-# Reference: http://msdn.microsoft.com/en-us/library/vstudio/hh567368.aspx
-
-set(_oldestSupported "_MSC_VER >= 1600")
-
-set(MSVC_2013 "_MSC_VER >= 1800")
-set(_cmake_feature_test_cxx_nonstatic_member_init "${MSVC_2013}")
-set(_cmake_feature_test_cxx_variadic_templates "${MSVC_2013}")
-set(_cmake_feature_test_cxx_generalized_initializers "${MSVC_2013}")
-set(_cmake_feature_test_cxx_default_function_template_args "${MSVC_2013}")
-set(_cmake_feature_test_cxx_alias_templates "${MSVC_2013}")
-set(_cmake_feature_test_cxx_delegating_constructors "${MSVC_2013}")
-set(_cmake_feature_test_cxx_explicit_conversions "${MSVC_2013}")
-set(_cmake_feature_test_cxx_raw_string_literals "${MSVC_2013}")
-set(_cmake_feature_test_cxx_defaulted_functions "${MSVC_2013}")
-set(_cmake_feature_test_cxx_deleted_functions "${MSVC_2013}")
-set(_cmake_feature_test_cxx_uniform_initialization "${MSVC_2013}")
-
-set(MSVC_2012 "_MSC_VER >= 1700")
-set(_cmake_feature_test_cxx_strong_enums "${MSVC_2012}")
-set(_cmake_feature_test_cxx_enum_forward_declarations "${MSVC_2012}")
-set(_cmake_feature_test_cxx_range_for "${MSVC_2012}")
-set(_cmake_feature_test_cxx_final "${MSVC_2012}")
-set(_cmake_feature_test_cxx_decltype_incomplete_return_types "${MSVC_2012}")
-
-set(MSVC_2010 "_MSC_VER >= 1600")
-set(_cmake_feature_test_cxx_static_assert "${MSVC_2010}")
-set(_cmake_feature_test_cxx_auto_function "${MSVC_2010}")
-set(_cmake_feature_test_cxx_auto_type "${MSVC_2010}")
-set(_cmake_feature_test_cxx_decltype "${MSVC_2010}")
-set(_cmake_feature_test_cxx_lambdas "${MSVC_2010}")
-set(_cmake_feature_test_cxx_nullptr "${MSVC_2010}")
-set(_cmake_feature_test_cxx_rvalue_references "${MSVC_2010}")
-set(_cmake_feature_test_cxx_variadic_macros "${MSVC_2010}")
-set(_cmake_feature_test_cxx_right_angle_brackets "${MSVC_2010}")
-set(_cmake_feature_test_cxx_extended_friend_declarations "${MSVC_2010}")
-set(_cmake_feature_test_cxx_local_type_template_args "${MSVC_2010}")
-set(_cmake_feature_test_cxx_long_long_type "${MSVC_2010}")
-set(_cmake_feature_test_cxx_override "${MSVC_2010}")
-set(_cmake_feature_test_cxx_extern_templates "${MSVC_2010}")
-set(_cmake_feature_test_cxx_template_template_parameters "${MSVC_2010}")
-
-# TODO: Supported since MSVC 1400
-set(_cmake_feature_test_msvc_cxx_sealed "${MSVC_2010}")
-
-# Currently unsupported:
-# http://herbsutter.com/2013/11/18/visual-c-compiler-november-2013-ctp/
-# set(_cmake_feature_test_cxx_reference_qualified_functions )
-# set(_cmake_feature_test_cxx_inheriting_constructors )
-# set(_cmake_feature_test_cxx_alignas )
-# set(_cmake_feature_test_cxx_alignof )
-# set(_cmake_feature_test_cxx_thread_local )
-# set(_cmake_feature_test_cxx_func_identifier )
-# set(_cmake_feature_test_cxx_sizeof_member )
-
-# set(_cmake_feature_test_cxx_user_literals )
-# set(_cmake_feature_test_cxx_unrestricted_unions )
-# set(_cmake_feature_test_cxx_unicode_literals )
-# set(_cmake_feature_test_cxx_inline_namespaces )
-# set(_cmake_feature_test_cxx_constexpr )
-# set(_cmake_feature_test_cxx_noexcept )
-# set(_cmake_feature_test_cxx_attributes )
-
-set(_oldestSupported)
diff --git a/Modules/Internal/FeatureTesting.cmake b/Modules/Internal/FeatureTesting.cmake
deleted file mode 100644
index 92d262c..0000000
--- a/Modules/Internal/FeatureTesting.cmake
+++ /dev/null
@@ -1,57 +0,0 @@
-
-macro(record_compiler_features lang compile_flags feature_list)
- include("${CMAKE_ROOT}/Modules/Compiler/${CMAKE_${lang}_COMPILER_ID}-${lang}-FeatureTests.cmake" OPTIONAL)
-
- string(TOLOWER ${lang} lang_lc)
- file(REMOVE "${CMAKE_BINARY_DIR}/CMakeFiles/feature_tests.bin")
- file(WRITE "${CMAKE_BINARY_DIR}/CMakeFiles/feature_tests.${lang_lc}" "
- extern const char features[] = {\"\"\n")
- foreach(feature ${CMAKE_${lang}_KNOWN_FEATURES})
- if (_cmake_feature_test_${feature})
- if (${_cmake_feature_test_${feature}} STREQUAL 1)
- set(_feature_condition "\"1\" ")
- else()
- set(_feature_condition "#if ${_cmake_feature_test_${feature}}\n\"1\"\n#else\n\"0\"\n#endif\n")
- endif()
- file(APPEND "${CMAKE_BINARY_DIR}/CMakeFiles/feature_tests.${lang_lc}" "\"${lang}_FEATURE:\"\n${_feature_condition}\"${feature}\\n\"\n")
- endif()
- endforeach()
- file(APPEND "${CMAKE_BINARY_DIR}/CMakeFiles/feature_tests.${lang_lc}"
- "\n};\n\nint main(int, char **) { return 0; }\n")
-
- try_compile(CMAKE_${lang}_FEATURE_TEST
- ${CMAKE_BINARY_DIR} "${CMAKE_BINARY_DIR}/CMakeFiles/feature_tests.${lang_lc}"
- COMPILE_DEFINITIONS "${compile_flags}"
- OUTPUT_VARIABLE _output
- COPY_FILE "${CMAKE_BINARY_DIR}/CMakeFiles/feature_tests.bin"
- COPY_FILE_ERROR _copy_error
- )
- if(CMAKE_${lang}_FEATURE_TEST AND NOT _copy_error)
- set(_result 0)
- else()
- set(_result 255)
- endif()
- unset(CMAKE_${lang}_FEATURE_TEST CACHE)
-
- if (_result EQUAL 0)
- file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
- "\n\nDetecting ${lang} [${compile_flags}] compiler features compiled with the following output:\n${_output}\n\n")
- if(EXISTS "${CMAKE_BINARY_DIR}/CMakeFiles/feature_tests.bin")
- file(STRINGS "${CMAKE_BINARY_DIR}/CMakeFiles/feature_tests.bin"
- features REGEX "${lang}_FEATURE:.*")
- foreach(info ${features})
- file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
- " Feature record: ${info}\n")
- string(REPLACE "${lang}_FEATURE:" "" info ${info})
- string(SUBSTRING ${info} 0 1 has_feature)
- if(has_feature)
- string(REGEX REPLACE "^1" "" feature ${info})
- list(APPEND ${feature_list} ${feature})
- endif()
- endforeach()
- endif()
- else()
- file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
- "Detecting ${lang} [${compile_flags}] compiler features failed to compile with the following output:\n${_output}\n${_copy_error}\n\n")
- endif()
-endmacro()
diff --git a/Modules/Platform/Windows-MSVC-CXX.cmake b/Modules/Platform/Windows-MSVC-CXX.cmake
index 89885b8..0e85005 100644
--- a/Modules/Platform/Windows-MSVC-CXX.cmake
+++ b/Modules/Platform/Windows-MSVC-CXX.cmake
@@ -4,7 +4,3 @@ if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 18.0)
set(_FS_CXX " /FS")
endif()
__windows_compiler_msvc(CXX)
-
-macro(cmake_record_cxx_compile_features)
- record_compiler_features(CXX "" CMAKE_CXX_COMPILE_FEATURES)
-endmacro()
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 660c0c5..4c678d8 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -346,7 +346,6 @@ foreach(command_file
cmSourceGroupCommand
cmSubdirDependsCommand
cmTargetCompileDefinitionsCommand
- cmTargetCompileFeaturesCommand
cmTargetCompileOptionsCommand
cmTargetIncludeDirectoriesCommand
cmTargetSourcesCommand
diff --git a/Source/cmGeneratorExpressionDAGChecker.h b/Source/cmGeneratorExpressionDAGChecker.h
index 7217a56..b3147f7 100644
--- a/Source/cmGeneratorExpressionDAGChecker.h
+++ b/Source/cmGeneratorExpressionDAGChecker.h
@@ -26,8 +26,7 @@
SELECT(F, EvaluatingCompileDefinitions, COMPILE_DEFINITIONS) \
SELECT(F, EvaluatingCompileOptions, COMPILE_OPTIONS) \
SELECT(F, EvaluatingAutoUicOptions, AUTOUIC_OPTIONS) \
- SELECT(F, EvaluatingSources, SOURCES) \
- SELECT(F, EvaluatingCompileFeatures, COMPILE_FEATURES)
+ SELECT(F, EvaluatingSources, SOURCES)
#define CM_FOR_EACH_TRANSITIVE_PROPERTY(F) \
CM_FOR_EACH_TRANSITIVE_PROPERTY_IMPL(F, CM_SELECT_BOTH)
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 8efbd67..dcf9f97 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -1459,17 +1459,6 @@ void cmLocalGenerator::AddCompileOptions(
this->AppendFlagEscape(flags, *i);
}
}
- std::vector<std::string> features;
- target->GetCompileFeatures(features, config);
- for(std::vector<std::string>::const_iterator it = features.begin();
- it != features.end(); ++it)
- {
- if (!this->Makefile->AddRequiredTargetFeature(target, *it))
- {
- return;
- }
- }
- this->AddCompilerRequirementFlag(flags, target, lang);
}
//----------------------------------------------------------------------------
@@ -2139,34 +2128,6 @@ void cmLocalGenerator::AddSharedFlags(std::string& flags,
}
}
-//----------------------------------------------------------------------------
-void cmLocalGenerator::
-AddCompilerRequirementFlag(std::string &flags, cmTarget* target,
- const std::string& lang)
-{
- if (lang.empty())
- {
- return;
- }
- std::string stdProp = lang + "_STANDARD";
- const char *standard = target->GetProperty(stdProp);
- if (!standard)
- {
- return;
- }
- std::string extProp = lang + "_EXTENSIONS";
- bool ext = target->GetPropertyAsBool(extProp);
- std::string type = ext ? "EXTENSION" : "STANDARD";
-
- std::string compile_option =
- "CMAKE_" + lang + std::string(standard)
- + "_" + type + "_COMPILE_OPTION";
- if (const char *opt = target->GetMakefile()->GetDefinition(compile_option))
- {
- this->AppendFlags(flags, opt);
- }
-}
-
static void AddVisibilityCompileOption(std::string &flags, cmTarget* target,
cmLocalGenerator *lg,
const std::string& lang)
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index d876958..61488fe 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -149,8 +149,6 @@ public:
const std::string& lang);
void AddConfigVariableFlags(std::string& flags, const std::string& var,
const std::string& config);
- void AddCompilerRequirementFlag(std::string &flags, cmTarget* target,
- const std::string& lang);
///! Append flags to a string.
virtual void AppendFlags(std::string& flags, const char* newFlags);
virtual void AppendFlagEscape(std::string& flags,
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 996799b..b1d6fe2 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -41,55 +41,6 @@
#include <ctype.h> // for isspace
#include <assert.h>
-#define FOR_EACH_CXX_FEATURE(F) \
- F(cxx_delegating_constructors) \
- F(cxx_variadic_templates) \
- F(cxx_constexpr) \
- F(cxx_static_assert) \
- F(cxx_final) \
- F(cxx_override) \
- F(cxx_auto_function) \
- F(cxx_auto_type) \
- F(cxx_strong_enums) \
- F(cxx_decltype) \
- F(cxx_defaulted_functions) \
- F(cxx_deleted_functions) \
- F(cxx_explicit_conversions) \
- F(cxx_inheriting_constructors) \
- F(cxx_lambdas) \
- F(cxx_nonstatic_member_init) \
- F(cxx_noexcept) \
- F(cxx_nullptr) \
- F(cxx_range_for) \
- F(cxx_raw_string_literals) \
- F(cxx_reference_qualified_functions) \
- F(cxx_rvalue_references) \
- F(cxx_alias_templates) \
- F(cxx_user_literals) \
- F(cxx_unicode_literals) \
- F(cxx_unrestricted_unions) \
- F(cxx_extern_templates) \
- F(cxx_alignas) \
- F(cxx_alignof) \
- F(cxx_attributes) \
- F(cxx_generalized_initializers) \
- F(cxx_uniform_initialization) \
- F(cxx_variadic_macros) \
- F(cxx_inline_namespaces) \
- F(cxx_thread_local) \
- F(cxx_sizeof_member) \
- F(cxx_decltype_incomplete_return_types) \
- F(cxx_right_angle_brackets) \
- F(cxx_default_function_template_args) \
- F(cxx_enum_forward_declarations) \
- F(cxx_extended_friend_declarations) \
- F(cxx_local_type_template_args) \
- F(cxx_func_identifier) \
- F(cxx_long_long_type) \
- F(cxx_template_template_parameters) \
- F(gnu_cxx_typeof) \
- F(msvc_cxx_sealed)
-
class cmMakefile::Internals
{
public:
@@ -2500,12 +2451,6 @@ const char* cmMakefile::GetDefinition(const std::string& name) const
{
this->Internal->VarUsageStack.top().insert(name);
}
- if (name == "CMAKE_CXX_KNOWN_FEATURES")
- {
-#define STRING_LIST_ELEMENT(F) ";" #F
- return FOR_EACH_CXX_FEATURE(STRING_LIST_ELEMENT) + 1;
-#undef STRING_LIST_ELEMENT
- }
const char* def = this->Internal->VarStack.top().Get(name);
if(!def)
{
@@ -4550,165 +4495,3 @@ void cmMakefile::RecordPolicies(cmPolicies::PolicyMap& pm)
pm[pid] = this->GetPolicyStatus(pid);
}
}
-
-#define FEATURE_STRING(F) , #F
-
-static const char * const CXX_FEATURES[] = {
- 0
- FOR_EACH_CXX_FEATURE(FEATURE_STRING)
-};
-
-static const char * const CXX_STANDARDS[] = {
- "98"
- , "11"
-};
-
-//----------------------------------------------------------------------------
-bool cmMakefile::
-AddRequiredTargetFeature(cmTarget *target, const std::string& feature,
- std::string *error) const
-{
- if (cmGeneratorExpression::Find(feature) != std::string::npos)
- {
- target->AppendProperty("COMPILE_FEATURES", feature.c_str());
- return true;
- }
- bool isCxxFeature = std::find_if(cmArrayBegin(CXX_FEATURES) + 1,
- cmArrayEnd(CXX_FEATURES), cmStrCmp(feature))
- != cmArrayEnd(CXX_FEATURES);
- if (!isCxxFeature)
- {
- cmOStringStream e;
- if (error)
- {
- e << "specified";
- }
- else
- {
- e << "Specified";
- }
- e << " unknown feature \"" << feature << "\" for "
- "target \"" << target->GetName() << "\".";
- if (error)
- {
- *error = e.str();
- }
- else
- {
- this->IssueMessage(cmake::FATAL_ERROR, e.str());
- }
- return false;
- }
-
- std::string lang = "CXX";
-
- const char* featuresKnown =
- this->GetDefinition("CMAKE_" + lang + "_COMPILE_FEATURES");
-
- if (!featuresKnown || !*featuresKnown)
- {
- // We know of no features for the compiler at all.
- return true;
- }
-
- std::vector<std::string> availableFeatures;
- cmSystemTools::ExpandListArgument(featuresKnown, availableFeatures);
- if (std::find(availableFeatures.begin(),
- availableFeatures.end(),
- feature) == availableFeatures.end())
- {
- cmOStringStream e;
- e << "The compiler feature \"" << feature
- << "\" is not known to compiler\n\""
- << this->GetDefinition("CMAKE_" + lang + "_COMPILER_ID")
- << "\"\nversion "
- << this->GetDefinition("CMAKE_" + lang + "_COMPILER_VERSION") << ".";
- this->IssueMessage(cmake::FATAL_ERROR, e.str());
- return false;
- }
-
- target->AppendProperty("COMPILE_FEATURES", feature.c_str());
-
- bool needCxx98 = false;
- bool needCxx11 = false;
- bool needCxxExt = false;
-
- if (const char *propCxx98 =
- this->GetDefinition("CMAKE_CXX98_COMPILE_FEATURES"))
- {
- std::vector<std::string> props;
- cmSystemTools::ExpandListArgument(propCxx98, props);
- needCxx98 = std::find(props.begin(), props.end(), feature) != props.end();
- }
- if (const char *propCxx11 =
- this->GetDefinition("CMAKE_CXX11_COMPILE_FEATURES"))
- {
- std::vector<std::string> props;
- cmSystemTools::ExpandListArgument(propCxx11, props);
- needCxx11 = std::find(props.begin(), props.end(), feature) != props.end();
- }
-
- if (const char *propCxx98ext =
- this->GetDefinition("CMAKE_CXX98_COMPILE_EXTENSIONS"))
- {
- std::vector<std::string> props;
- cmSystemTools::ExpandListArgument(propCxx98ext, props);
- needCxxExt = std::find(props.begin(), props.end(), feature) != props.end();
- }
-
- const char *existingCxxStandard = target->GetProperty("CXX_STANDARD");
- if (existingCxxStandard)
- {
- if (std::find_if(cmArrayBegin(CXX_STANDARDS), cmArrayEnd(CXX_STANDARDS),
- cmStrCmp(existingCxxStandard)) == cmArrayEnd(CXX_STANDARDS))
- {
- cmOStringStream e;
- e << "The CXX_STANDARD property on target \"" << target->GetName()
- << "\" contained an invalid value: \"" << existingCxxStandard << "\".";
- this->IssueMessage(cmake::FATAL_ERROR, e.str());
- return false;
- }
- }
- const char * const *existingCxxIt = existingCxxStandard
- ? std::find_if(cmArrayBegin(CXX_STANDARDS),
- cmArrayEnd(CXX_STANDARDS),
- cmStrCmp(existingCxxStandard))
- : cmArrayEnd(CXX_STANDARDS);
-
- bool setCxx98 = needCxx98 && !existingCxxStandard;
- bool setCxx11 = needCxx11 && !existingCxxStandard;
-
- if (needCxx11 && existingCxxStandard && existingCxxIt <
- std::find_if(cmArrayBegin(CXX_STANDARDS),
- cmArrayEnd(CXX_STANDARDS),
- cmStrCmp("11")))
- {
- setCxx11 = true;
- }
- else if(needCxx98 && existingCxxStandard && existingCxxIt <
- std::find_if(cmArrayBegin(CXX_STANDARDS),
- cmArrayEnd(CXX_STANDARDS),
- cmStrCmp("98")))
- {
- setCxx98 = true;
- }
-
- if (setCxx11)
- {
- target->SetProperty("CXX_STANDARD", "11");
- }
- else if (setCxx98)
- {
- target->SetProperty("CXX_STANDARD", "98");
- }
- bool existingCxxExt = target->GetPropertyAsBool("CXX_EXTENSIONS");
- if (needCxxExt && !existingCxxExt)
- {
- target->SetProperty("CXX_EXTENSIONS", "1");
- if (!target->GetProperty("CXX_STANDARD"))
- {
- target->SetProperty("CXX_STANDARD", "98");
- }
- }
- return true;
-}
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index e18a8fb..8ff6daa 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -882,10 +882,6 @@ public:
bool PolicyOptionalWarningEnabled(std::string const& var);
- bool AddRequiredTargetFeature(cmTarget *target,
- const std::string& feature,
- std::string *error = 0) const;
-
protected:
// add link libraries and directories to the target
void AddGlobalLinkInformation(const std::string& name, cmTarget& target);
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 24d14ef..a87ec31 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -149,7 +149,6 @@ public:
};
std::vector<TargetPropertyEntry*> IncludeDirectoriesEntries;
std::vector<TargetPropertyEntry*> CompileOptionsEntries;
- std::vector<TargetPropertyEntry*> CompileFeaturesEntries;
std::vector<TargetPropertyEntry*> CompileDefinitionsEntries;
std::vector<TargetPropertyEntry*> SourceEntries;
std::vector<cmValueWithOrigin> LinkImplementationPropertyEntries;
@@ -162,14 +161,11 @@ public:
CachedLinkInterfaceCompileDefinitionsEntries;
mutable std::map<std::string, std::vector<TargetPropertyEntry*> >
CachedLinkInterfaceSourcesEntries;
- mutable std::map<std::string, std::vector<TargetPropertyEntry*> >
- CachedLinkInterfaceCompileFeaturesEntries;
mutable std::map<std::string, bool> CacheLinkInterfaceIncludeDirectoriesDone;
mutable std::map<std::string, bool> CacheLinkInterfaceCompileDefinitionsDone;
mutable std::map<std::string, bool> CacheLinkInterfaceCompileOptionsDone;
mutable std::map<std::string, bool> CacheLinkInterfaceSourcesDone;
- mutable std::map<std::string, bool> CacheLinkInterfaceCompileFeaturesDone;
};
//----------------------------------------------------------------------------
@@ -204,7 +200,6 @@ cmTargetInternals::~cmTargetInternals()
{
deleteAndClear(this->CachedLinkInterfaceIncludeDirectoriesEntries);
deleteAndClear(this->CachedLinkInterfaceCompileOptionsEntries);
- deleteAndClear(this->CachedLinkInterfaceCompileFeaturesEntries);
deleteAndClear(this->CachedLinkInterfaceCompileDefinitionsEntries);
deleteAndClear(this->CachedLinkInterfaceSourcesEntries);
}
@@ -228,7 +223,6 @@ cmTarget::cmTarget()
this->BuildInterfaceIncludesAppended = false;
this->DebugIncludesDone = false;
this->DebugCompileOptionsDone = false;
- this->DebugCompileFeaturesDone = false;
this->DebugCompileDefinitionsDone = false;
this->DebugSourcesDone = false;
}
@@ -309,8 +303,6 @@ void cmTarget::SetMakefile(cmMakefile* mf)
this->SetPropertyDefault("MACOSX_BUNDLE", 0);
this->SetPropertyDefault("MACOSX_RPATH", 0);
this->SetPropertyDefault("NO_SYSTEM_FROM_IMPORTED", 0);
- this->SetPropertyDefault("CXX_STANDARD", 0);
- this->SetPropertyDefault("CXX_EXTENSIONS", 0);
}
// Collect the set of configuration types.
@@ -1678,17 +1670,6 @@ void cmTarget::SetProperty(const std::string& prop, const char* value)
new cmTargetInternals::TargetPropertyEntry(cge));
return;
}
- if(prop == "COMPILE_FEATURES")
- {
- cmListFileBacktrace lfbt;
- this->Makefile->GetBacktrace(lfbt);
- cmGeneratorExpression ge(lfbt);
- deleteAndClear(this->Internal->CompileFeaturesEntries);
- cmsys::auto_ptr<cmCompiledGeneratorExpression> cge = ge.Parse(value);
- this->Internal->CompileFeaturesEntries.push_back(
- new cmTargetInternals::TargetPropertyEntry(cge));
- return;
- }
if(prop == "COMPILE_DEFINITIONS")
{
cmListFileBacktrace lfbt;
@@ -1778,15 +1759,6 @@ void cmTarget::AppendProperty(const std::string& prop, const char* value,
new cmTargetInternals::TargetPropertyEntry(ge.Parse(value)));
return;
}
- if(prop == "COMPILE_FEATURES")
- {
- cmListFileBacktrace lfbt;
- this->Makefile->GetBacktrace(lfbt);
- cmGeneratorExpression ge(lfbt);
- this->Internal->CompileFeaturesEntries.push_back(
- new cmTargetInternals::TargetPropertyEntry(ge.Parse(value)));
- return;
- }
if(prop == "COMPILE_DEFINITIONS")
{
cmListFileBacktrace lfbt;
@@ -2571,118 +2543,6 @@ void cmTarget::GetCompileDefinitions(std::vector<std::string> &list,
}
//----------------------------------------------------------------------------
-static void processCompileFeatures(cmTarget const* tgt,
- const std::vector<cmTargetInternals::TargetPropertyEntry*> &entries,
- std::vector<std::string> &options,
- std::set<std::string> &uniqueOptions,
- cmGeneratorExpressionDAGChecker *dagChecker,
- const std::string& config, bool debugOptions)
-{
- processCompileOptionsInternal(tgt, entries, options, uniqueOptions,
- dagChecker, config, debugOptions, "features");
-}
-
-//----------------------------------------------------------------------------
-void cmTarget::GetCompileFeatures(std::vector<std::string> &result,
- const std::string& config) const
-{
- std::set<std::string> uniqueFeatures;
- cmListFileBacktrace lfbt;
-
- cmGeneratorExpressionDAGChecker dagChecker(lfbt,
- this->GetName(),
- "COMPILE_FEATURES",
- 0, 0);
-
- std::vector<std::string> debugProperties;
- const char *debugProp =
- this->Makefile->GetDefinition("CMAKE_DEBUG_TARGET_PROPERTIES");
- if (debugProp)
- {
- cmSystemTools::ExpandListArgument(debugProp, debugProperties);
- }
-
- bool debugFeatures = !this->DebugCompileFeaturesDone
- && std::find(debugProperties.begin(),
- debugProperties.end(),
- "COMPILE_FEATURES")
- != debugProperties.end();
-
- if (this->Makefile->IsGeneratingBuildSystem())
- {
- this->DebugCompileFeaturesDone = true;
- }
-
- processCompileFeatures(this,
- this->Internal->CompileFeaturesEntries,
- result,
- uniqueFeatures,
- &dagChecker,
- config,
- debugFeatures);
-
- if (!this->Internal->CacheLinkInterfaceCompileFeaturesDone[config])
- {
- for (std::vector<cmValueWithOrigin>::const_iterator
- it = this->Internal->LinkImplementationPropertyEntries.begin(),
- end = this->Internal->LinkImplementationPropertyEntries.end();
- it != end; ++it)
- {
- if (!cmGeneratorExpression::IsValidTargetName(it->Value)
- && cmGeneratorExpression::Find(it->Value) == std::string::npos)
- {
- continue;
- }
- {
- cmGeneratorExpression ge(lfbt);
- cmsys::auto_ptr<cmCompiledGeneratorExpression> cge =
- ge.Parse(it->Value);
- std::string targetResult = cge->Evaluate(this->Makefile, config,
- false, this, 0, 0);
- if (!this->Makefile->FindTargetToUse(targetResult))
- {
- continue;
- }
- }
- std::string featureGenex = "$<TARGET_PROPERTY:" +
- it->Value + ",INTERFACE_COMPILE_FEATURES>";
- if (cmGeneratorExpression::Find(it->Value) != std::string::npos)
- {
- // Because it->Value is a generator expression, ensure that it
- // evaluates to the non-empty string before being used in the
- // TARGET_PROPERTY expression.
- featureGenex = "$<$<BOOL:" + it->Value + ">:" + featureGenex + ">";
- }
- cmGeneratorExpression ge(it->Backtrace);
- cmsys::auto_ptr<cmCompiledGeneratorExpression> cge = ge.Parse(
- featureGenex);
-
- this->Internal
- ->CachedLinkInterfaceCompileFeaturesEntries[config].push_back(
- new cmTargetInternals::TargetPropertyEntry(cge,
- it->Value));
- }
- }
-
- processCompileFeatures(this,
- this->Internal->CachedLinkInterfaceCompileFeaturesEntries[config],
- result,
- uniqueFeatures,
- &dagChecker,
- config,
- debugFeatures);
-
- if (!this->Makefile->IsGeneratingBuildSystem())
- {
- deleteAndClear(this->Internal->CachedLinkInterfaceCompileFeaturesEntries);
- }
- else
- {
- this->Internal->CacheLinkInterfaceCompileFeaturesDone[config] = true;
- }
-}
-
-//----------------------------------------------------------------------------
void cmTarget::MaybeInvalidatePropertyCache(const std::string& prop)
{
// Wipe out maps caching information affected by this property.
@@ -3198,24 +3058,6 @@ const char *cmTarget::GetProperty(const std::string& prop,
}
return output.c_str();
}
- if(prop == "COMPILE_FEATURES")
- {
- static std::string output;
- output = "";
- std::string sep;
- typedef cmTargetInternals::TargetPropertyEntry
- TargetPropertyEntry;
- for (std::vector<TargetPropertyEntry*>::const_iterator
- it = this->Internal->CompileFeaturesEntries.begin(),
- end = this->Internal->CompileFeaturesEntries.end();
- it != end; ++it)
- {
- output += sep;
- output += (*it)->ge->GetInput();
- sep = ";";
- }
- return output.c_str();
- }
if(prop == "COMPILE_DEFINITIONS")
{
static std::string output;
@@ -6993,7 +6835,6 @@ cmTargetInternalPointer::~cmTargetInternalPointer()
{
deleteAndClear(this->Pointer->IncludeDirectoriesEntries);
deleteAndClear(this->Pointer->CompileOptionsEntries);
- deleteAndClear(this->Pointer->CompileFeaturesEntries);
deleteAndClear(this->Pointer->CompileDefinitionsEntries);
deleteAndClear(this->Pointer->SourceEntries);
delete this->Pointer;
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 843638f..055e029 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -548,8 +548,6 @@ public:
const std::string& config) const;
void GetAutoUicOptions(std::vector<std::string> &result,
const std::string& config) const;
- void GetCompileFeatures(std::vector<std::string> &features,
- const std::string& config) const;
bool IsNullImpliedByLinkLibraries(const std::string &p) const;
bool IsLinkInterfaceDependentBoolProperty(const std::string &p,
@@ -713,7 +711,6 @@ private:
mutable bool DebugCompileOptionsDone;
mutable bool DebugCompileDefinitionsDone;
mutable bool DebugSourcesDone;
- mutable bool DebugCompileFeaturesDone;
mutable std::set<std::string> LinkImplicitNullProperties;
bool BuildInterfaceIncludesAppended;
diff --git a/Source/cmTargetCompileDefinitionsCommand.cxx b/Source/cmTargetCompileDefinitionsCommand.cxx
index 66d8ad3..b567252 100644
--- a/Source/cmTargetCompileDefinitionsCommand.cxx
+++ b/Source/cmTargetCompileDefinitionsCommand.cxx
@@ -58,10 +58,9 @@ std::string cmTargetCompileDefinitionsCommand
}
//----------------------------------------------------------------------------
-bool cmTargetCompileDefinitionsCommand
+void cmTargetCompileDefinitionsCommand
::HandleDirectContent(cmTarget *tgt, const std::vector<std::string> &content,
bool, bool)
{
tgt->AppendProperty("COMPILE_DEFINITIONS", this->Join(content).c_str());
- return true;
}
diff --git a/Source/cmTargetCompileDefinitionsCommand.h b/Source/cmTargetCompileDefinitionsCommand.h
index b548c70..5ba9e03 100644
--- a/Source/cmTargetCompileDefinitionsCommand.h
+++ b/Source/cmTargetCompileDefinitionsCommand.h
@@ -44,7 +44,7 @@ private:
virtual void HandleImportedTarget(const std::string &tgt);
virtual void HandleMissingTarget(const std::string &name);
- virtual bool HandleDirectContent(cmTarget *tgt,
+ virtual void HandleDirectContent(cmTarget *tgt,
const std::vector<std::string> &content,
bool prepend, bool system);
virtual std::string Join(const std::vector<std::string> &content);
diff --git a/Source/cmTargetCompileFeaturesCommand.cxx b/Source/cmTargetCompileFeaturesCommand.cxx
deleted file mode 100644
index 10daad4..0000000
--- a/Source/cmTargetCompileFeaturesCommand.cxx
+++ /dev/null
@@ -1,70 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2013 Stephen Kelly <steveire at gmail.com>
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#include "cmTargetCompileFeaturesCommand.h"
-
-bool cmTargetCompileFeaturesCommand::InitialPass(
- std::vector<std::string> const& args,
- cmExecutionStatus &)
-{
- return this->HandleArguments(args, "COMPILE_FEATURES", NO_FLAGS);
-}
-
-void cmTargetCompileFeaturesCommand
-::HandleImportedTarget(const std::string &tgt)
-{
- cmOStringStream e;
- e << "Cannot specify compile features for imported target \""
- << tgt << "\".";
- this->Makefile->IssueMessage(cmake::FATAL_ERROR, e.str());
-}
-
-void cmTargetCompileFeaturesCommand
-::HandleMissingTarget(const std::string &name)
-{
- cmOStringStream e;
- e << "Cannot specify compile features for target \"" << name << "\" "
- "which is not built by this project.";
- this->Makefile->IssueMessage(cmake::FATAL_ERROR, e.str());
-}
-
-//----------------------------------------------------------------------------
-std::string cmTargetCompileFeaturesCommand
-::Join(const std::vector<std::string> &content)
-{
- std::string defs;
- std::string sep;
- for(std::vector<std::string>::const_iterator it = content.begin();
- it != content.end(); ++it)
- {
- defs += sep + *it;
- sep = ";";
- }
- return defs;
-}
-
-//----------------------------------------------------------------------------
-bool cmTargetCompileFeaturesCommand
-::HandleDirectContent(cmTarget *tgt, const std::vector<std::string> &content,
- bool, bool)
-{
- for(std::vector<std::string>::const_iterator it = content.begin();
- it != content.end(); ++it)
- {
- std::string error;
- if(!this->Makefile->AddRequiredTargetFeature(tgt, *it, &error))
- {
- this->SetError(error);
- return false;
- }
- }
- return true;
-}
diff --git a/Source/cmTargetCompileFeaturesCommand.h b/Source/cmTargetCompileFeaturesCommand.h
deleted file mode 100644
index fa7ae8d..0000000
--- a/Source/cmTargetCompileFeaturesCommand.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2013 Stephen Kelly <steveire at gmail.com>
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
-#ifndef cmTargetCompileFeaturesCommand_h
-#define cmTargetCompileFeaturesCommand_h
-
-#include "cmTargetPropCommandBase.h"
-
-class cmTargetCompileFeaturesCommand : public cmTargetPropCommandBase
-{
- virtual cmCommand* Clone()
- {
- return new cmTargetCompileFeaturesCommand;
- }
-
- virtual bool InitialPass(std::vector<std::string> const& args,
- cmExecutionStatus &status);
-
- virtual std::string GetName() const { return "target_compile_features";}
-
- cmTypeMacro(cmTargetCompileFeaturesCommand, cmTargetPropCommandBase);
-
-private:
- virtual void HandleImportedTarget(const std::string &tgt);
- virtual void HandleMissingTarget(const std::string &name);
-
- virtual bool HandleDirectContent(cmTarget *tgt,
- const std::vector<std::string> &content,
- bool prepend, bool system);
- virtual std::string Join(const std::vector<std::string> &content);
-};
-
-#endif
diff --git a/Source/cmTargetCompileOptionsCommand.cxx b/Source/cmTargetCompileOptionsCommand.cxx
index 18499fd..254acc7 100644
--- a/Source/cmTargetCompileOptionsCommand.cxx
+++ b/Source/cmTargetCompileOptionsCommand.cxx
@@ -51,7 +51,7 @@ std::string cmTargetCompileOptionsCommand
}
//----------------------------------------------------------------------------
-bool cmTargetCompileOptionsCommand
+void cmTargetCompileOptionsCommand
::HandleDirectContent(cmTarget *tgt, const std::vector<std::string> &content,
bool, bool)
{
@@ -59,5 +59,4 @@ bool cmTargetCompileOptionsCommand
this->Makefile->GetBacktrace(lfbt);
cmValueWithOrigin entry(this->Join(content), lfbt);
tgt->InsertCompileOption(entry);
- return true;
}
diff --git a/Source/cmTargetCompileOptionsCommand.h b/Source/cmTargetCompileOptionsCommand.h
index d43534d..d58dc07 100644
--- a/Source/cmTargetCompileOptionsCommand.h
+++ b/Source/cmTargetCompileOptionsCommand.h
@@ -44,7 +44,7 @@ private:
virtual void HandleImportedTarget(const std::string &tgt);
virtual void HandleMissingTarget(const std::string &name);
- virtual bool HandleDirectContent(cmTarget *tgt,
+ virtual void HandleDirectContent(cmTarget *tgt,
const std::vector<std::string> &content,
bool prepend, bool system);
virtual std::string Join(const std::vector<std::string> &content);
diff --git a/Source/cmTargetIncludeDirectoriesCommand.cxx b/Source/cmTargetIncludeDirectoriesCommand.cxx
index caec7eb..f8e1188 100644
--- a/Source/cmTargetIncludeDirectoriesCommand.cxx
+++ b/Source/cmTargetIncludeDirectoriesCommand.cxx
@@ -66,7 +66,7 @@ std::string cmTargetIncludeDirectoriesCommand
}
//----------------------------------------------------------------------------
-bool cmTargetIncludeDirectoriesCommand
+void cmTargetIncludeDirectoriesCommand
::HandleDirectContent(cmTarget *tgt, const std::vector<std::string> &content,
bool prepend, bool system)
{
@@ -78,7 +78,6 @@ bool cmTargetIncludeDirectoriesCommand
{
tgt->AddSystemIncludeDirectories(content);
}
- return true;
}
//----------------------------------------------------------------------------
diff --git a/Source/cmTargetIncludeDirectoriesCommand.h b/Source/cmTargetIncludeDirectoriesCommand.h
index 2a7814e..c8b22fb 100644
--- a/Source/cmTargetIncludeDirectoriesCommand.h
+++ b/Source/cmTargetIncludeDirectoriesCommand.h
@@ -45,7 +45,7 @@ private:
virtual void HandleImportedTarget(const std::string &tgt);
virtual void HandleMissingTarget(const std::string &name);
- virtual bool HandleDirectContent(cmTarget *tgt,
+ virtual void HandleDirectContent(cmTarget *tgt,
const std::vector<std::string> &content,
bool prepend, bool system);
virtual void HandleInterfaceContent(cmTarget *tgt,
diff --git a/Source/cmTargetPropCommandBase.cxx b/Source/cmTargetPropCommandBase.cxx
index 4696de4..d356611 100644
--- a/Source/cmTargetPropCommandBase.cxx
+++ b/Source/cmTargetPropCommandBase.cxx
@@ -132,31 +132,29 @@ bool cmTargetPropCommandBase
|| args[i] == "PRIVATE"
|| args[i] == "INTERFACE" )
{
- return this->PopulateTargetProperies(scope, content, prepend, system);
+ this->PopulateTargetProperies(scope, content, prepend, system);
+ return true;
}
content.push_back(args[i]);
}
- return this->PopulateTargetProperies(scope, content, prepend, system);
+ this->PopulateTargetProperies(scope, content, prepend, system);
+ return true;
}
//----------------------------------------------------------------------------
-bool cmTargetPropCommandBase
+void cmTargetPropCommandBase
::PopulateTargetProperies(const std::string &scope,
const std::vector<std::string> &content,
bool prepend, bool system)
{
if (scope == "PRIVATE" || scope == "PUBLIC")
{
- if (!this->HandleDirectContent(this->Target, content, prepend, system))
- {
- return false;
- }
+ this->HandleDirectContent(this->Target, content, prepend, system);
}
if (scope == "INTERFACE" || scope == "PUBLIC")
{
this->HandleInterfaceContent(this->Target, content, prepend, system);
}
- return true;
}
//----------------------------------------------------------------------------
diff --git a/Source/cmTargetPropCommandBase.h b/Source/cmTargetPropCommandBase.h
index d42b588..555a08a 100644
--- a/Source/cmTargetPropCommandBase.h
+++ b/Source/cmTargetPropCommandBase.h
@@ -44,7 +44,7 @@ private:
virtual void HandleImportedTarget(const std::string &tgt) = 0;
virtual void HandleMissingTarget(const std::string &name) = 0;
- virtual bool HandleDirectContent(cmTarget *tgt,
+ virtual void HandleDirectContent(cmTarget *tgt,
const std::vector<std::string> &content,
bool prepend, bool system) = 0;
@@ -52,7 +52,7 @@ private:
bool ProcessContentArgs(std::vector<std::string> const& args,
unsigned int &argIndex, bool prepend, bool system);
- bool PopulateTargetProperies(const std::string &scope,
+ void PopulateTargetProperies(const std::string &scope,
const std::vector<std::string> &content,
bool prepend, bool system);
};
diff --git a/Source/cmTargetSourcesCommand.cxx b/Source/cmTargetSourcesCommand.cxx
index ce3b11e..e82b36d 100644
--- a/Source/cmTargetSourcesCommand.cxx
+++ b/Source/cmTargetSourcesCommand.cxx
@@ -56,10 +56,9 @@ std::string cmTargetSourcesCommand
}
//----------------------------------------------------------------------------
-bool cmTargetSourcesCommand
+void cmTargetSourcesCommand
::HandleDirectContent(cmTarget *tgt, const std::vector<std::string> &content,
bool, bool)
{
tgt->AppendProperty("SOURCES", this->Join(content).c_str());
- return true;
}
diff --git a/Source/cmTargetSourcesCommand.h b/Source/cmTargetSourcesCommand.h
index a170e36..dae78c4 100644
--- a/Source/cmTargetSourcesCommand.h
+++ b/Source/cmTargetSourcesCommand.h
@@ -45,7 +45,7 @@ private:
virtual void HandleImportedTarget(const std::string &tgt);
virtual void HandleMissingTarget(const std::string &name);
- virtual bool HandleDirectContent(cmTarget *tgt,
+ virtual void HandleDirectContent(cmTarget *tgt,
const std::vector<std::string> &content,
bool prepend, bool system);
diff --git a/Tests/CMakeCommands/target_compile_features/CMakeLists.txt b/Tests/CMakeCommands/target_compile_features/CMakeLists.txt
deleted file mode 100644
index ad76411..0000000
--- a/Tests/CMakeCommands/target_compile_features/CMakeLists.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-cmake_minimum_required(VERSION 3.0)
-project(target_compile_features)
-
-set(CMAKE_VERBOSE_MAKEFILE ON)
-
-add_executable(target_compile_features main.cpp)
-target_compile_features(target_compile_features
- PRIVATE cxx_auto_type
-)
-
-add_library(lib_auto_type lib_auto_type.cpp)
-target_compile_features(lib_auto_type
- PUBLIC cxx_auto_type
-)
-
-add_executable(lib_user lib_user.cpp)
-target_link_libraries(lib_user lib_auto_type)
diff --git a/Tests/CMakeCommands/target_compile_features/dummy.cpp b/Tests/CMakeCommands/target_compile_features/dummy.cpp
deleted file mode 100644
index 341aaaf..0000000
--- a/Tests/CMakeCommands/target_compile_features/dummy.cpp
+++ /dev/null
@@ -1,5 +0,0 @@
-
-int main(int, char **)
-{
- return 0;
-}
diff --git a/Tests/CMakeCommands/target_compile_features/lib_auto_type.cpp b/Tests/CMakeCommands/target_compile_features/lib_auto_type.cpp
deleted file mode 100644
index 71b2215..0000000
--- a/Tests/CMakeCommands/target_compile_features/lib_auto_type.cpp
+++ /dev/null
@@ -1,6 +0,0 @@
-
-int getAutoTypeImpl()
-{
- auto i = 0;
- return i;
-}
diff --git a/Tests/CMakeCommands/target_compile_features/lib_auto_type.h b/Tests/CMakeCommands/target_compile_features/lib_auto_type.h
deleted file mode 100644
index c825b10..0000000
--- a/Tests/CMakeCommands/target_compile_features/lib_auto_type.h
+++ /dev/null
@@ -1,8 +0,0 @@
-
-int getAutoTypeImpl();
-
-int getAutoType()
-{
- auto i = getAutoTypeImpl();
- return i;
-}
diff --git a/Tests/CMakeCommands/target_compile_features/lib_user.cpp b/Tests/CMakeCommands/target_compile_features/lib_user.cpp
deleted file mode 100644
index 976068a..0000000
--- a/Tests/CMakeCommands/target_compile_features/lib_user.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-
-#include "lib_auto_type.h"
-
-int main(int argc, char **argv)
-{
- return getAutoType();
-}
diff --git a/Tests/CMakeCommands/target_compile_features/main.cpp b/Tests/CMakeCommands/target_compile_features/main.cpp
deleted file mode 100644
index fe29b04..0000000
--- a/Tests/CMakeCommands/target_compile_features/main.cpp
+++ /dev/null
@@ -1,6 +0,0 @@
-
-int main(int, char **)
-{
- auto i = 0;
- return i;
-}
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index c436fb0..1c474ab 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -197,15 +197,6 @@ if(BUILD_TESTING)
ADD_TEST_MACRO(TarTest TarTest)
ADD_TEST_MACRO(SystemInformation SystemInformation)
ADD_TEST_MACRO(MathTest MathTest)
- if((CMAKE_CXX_COMPILER_ID STREQUAL GNU
- AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.7)
- OR (CMAKE_CXX_COMPILER_ID STREQUAL Clang
- AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.4)
- OR ("x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xMSVC"
- AND NOT MSVC_VERSION VERSION_LESS 1600))
- ADD_TEST_MACRO(CompileFeatures CompileFeatures)
- ADD_TEST_MACRO(CMakeCommands.target_compile_features target_compile_features)
- endif()
# assume no resources building to test
set(TEST_RESOURCES FALSE)
# for windows and cygwin assume we have resources
@@ -292,19 +283,6 @@ if(BUILD_TESTING)
ADD_TEST_MACRO(ConfigSources ConfigSources)
endif()
ADD_TEST_MACRO(SourcesProperty SourcesProperty)
- if(CMAKE_CXX_COMPILER_ID STREQUAL GNU
- AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.6)
- set(runCxxDialectTest 1)
- endif()
- if(CMAKE_CXX_COMPILER_ID STREQUAL Clang
- AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 2.9)
- if(NOT APPLE OR POLICY CMP0025)
- set(runCxxDialectTest 1)
- endif()
- endif()
- if(runCxxDialectTest)
- ADD_TEST_MACRO(CxxDialect CxxDialect)
- endif()
set_tests_properties(EmptyLibrary PROPERTIES
PASS_REGULAR_EXPRESSION "CMake Error: CMake can not determine linker language for target: test")
ADD_TEST_MACRO(CrossCompile CrossCompile)
diff --git a/Tests/CompileFeatures/CMakeLists.txt b/Tests/CompileFeatures/CMakeLists.txt
deleted file mode 100644
index b4b4ef9..0000000
--- a/Tests/CompileFeatures/CMakeLists.txt
+++ /dev/null
@@ -1,58 +0,0 @@
-
-cmake_minimum_required(VERSION 3.0)
-
-project(CompileFeatures)
-
-message(STATUS "CTEST_FULL_OUTPUT")
-
-if(CMAKE_CXX_COMPILER_ID STREQUAL AppleClang)
- message("Skipping for AppleClang")
- file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp"
- "int main(int,char**) { return 0; }\n"
- )
- add_executable(CompileFeatures "${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp")
- return()
-endif()
-
-macro(run_test feature)
- if (";${CMAKE_CXX_COMPILE_FEATURES};" MATCHES ${feature})
- add_library(test_${feature} OBJECT ${feature}.cpp)
- set_property(TARGET test_${feature}
- PROPERTY COMPILE_FEATURES "${feature}"
- )
- else()
- list(APPEND non_features ${feature})
- endif()
-endmacro()
-
-foreach(feature ${CMAKE_CXX_KNOWN_FEATURES})
- run_test(${feature})
-endforeach()
-
-if (CMAKE_CXX_COMPILE_FEATURES)
- include(CheckCXXSourceCompiles)
- foreach(feature ${non_features})
- check_cxx_source_compiles("#include \"${CMAKE_CURRENT_SOURCE_DIR}/${feature}.cpp\"\nint main() { return 0; }\n" ${feature}_works)
- if (${feature}_works)
- message(SEND_ERROR
- "Feature ${feature} expected not to work for ${CMAKE_CXX_COMPILER_ID}-${CMAKE_CXX_COMPILER_VERSION}. Update the supported features or blacklist it.")
- endif()
- endforeach()
-endif()
-
-add_executable(CompileFeatures main.cpp)
-set_property(TARGET CompileFeatures
- PROPERTY COMPILE_FEATURES "cxx_auto_type"
-)
-
-add_executable(GenexCompileFeatures main.cpp)
-set_property(TARGET GenexCompileFeatures
- PROPERTY COMPILE_FEATURES "$<1:cxx_auto_type>;$<0:not_a_feature>"
-)
-
-add_library(iface INTERFACE)
-set_property(TARGET iface
- PROPERTY INTERFACE_COMPILE_FEATURES "cxx_auto_type"
-)
-add_executable(IfaceCompileFeatures main.cpp)
-target_link_libraries(IfaceCompileFeatures iface)
diff --git a/Tests/CompileFeatures/cxx_alias_templates.cpp b/Tests/CompileFeatures/cxx_alias_templates.cpp
deleted file mode 100644
index a47e27d..0000000
--- a/Tests/CompileFeatures/cxx_alias_templates.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-
-template <typename T1, typename T2>
-struct A
-{
- typedef T1 MyT1;
- using MyT2 = T2;
-};
-
-using B = A<int, char>;
-template<typename T>
-using C = A<int, T>;
diff --git a/Tests/CompileFeatures/cxx_alignas.cpp b/Tests/CompileFeatures/cxx_alignas.cpp
deleted file mode 100644
index 35b7c82..0000000
--- a/Tests/CompileFeatures/cxx_alignas.cpp
+++ /dev/null
@@ -1,4 +0,0 @@
-
-struct S1 {
- alignas(8) int n;
-};
diff --git a/Tests/CompileFeatures/cxx_alignof.cpp b/Tests/CompileFeatures/cxx_alignof.cpp
deleted file mode 100644
index 63b14fe..0000000
--- a/Tests/CompileFeatures/cxx_alignof.cpp
+++ /dev/null
@@ -1,5 +0,0 @@
-
-int someFunc()
-{
- return alignof(int);
-}
diff --git a/Tests/CompileFeatures/cxx_attributes.cpp b/Tests/CompileFeatures/cxx_attributes.cpp
deleted file mode 100644
index a3c89ea..0000000
--- a/Tests/CompileFeatures/cxx_attributes.cpp
+++ /dev/null
@@ -1,2 +0,0 @@
-
-void unusedFunc [[noreturn]] () { throw 1; }
diff --git a/Tests/CompileFeatures/cxx_auto_function.cpp b/Tests/CompileFeatures/cxx_auto_function.cpp
deleted file mode 100644
index 01a76cb..0000000
--- a/Tests/CompileFeatures/cxx_auto_function.cpp
+++ /dev/null
@@ -1,5 +0,0 @@
-
-auto someFunc() -> int
-{
- return 42;
-}
diff --git a/Tests/CompileFeatures/cxx_auto_type.cpp b/Tests/CompileFeatures/cxx_auto_type.cpp
deleted file mode 100644
index 7dbf04f..0000000
--- a/Tests/CompileFeatures/cxx_auto_type.cpp
+++ /dev/null
@@ -1,5 +0,0 @@
-
-void someFunc()
-{
- auto x = 3.14;
-}
diff --git a/Tests/CompileFeatures/cxx_constexpr.cpp b/Tests/CompileFeatures/cxx_constexpr.cpp
deleted file mode 100644
index 570c10f..0000000
--- a/Tests/CompileFeatures/cxx_constexpr.cpp
+++ /dev/null
@@ -1,5 +0,0 @@
-
-constexpr int getNum()
-{
- return 42;
-}
diff --git a/Tests/CompileFeatures/cxx_decltype.cpp b/Tests/CompileFeatures/cxx_decltype.cpp
deleted file mode 100644
index 24ec51e..0000000
--- a/Tests/CompileFeatures/cxx_decltype.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-
-int someFunc()
-{
- int i = 0;
- decltype(i) other = 0;
- return other;
-}
diff --git a/Tests/CompileFeatures/cxx_decltype_incomplete_return_types.cpp b/Tests/CompileFeatures/cxx_decltype_incomplete_return_types.cpp
deleted file mode 100644
index 109d038..0000000
--- a/Tests/CompileFeatures/cxx_decltype_incomplete_return_types.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-
-template<class T>
-struct A
-{
- ~A() = delete;
-};
-
-template<class T> auto h() -> A<T>;
-template<class T> auto i(T) -> T;
-template<class T> auto f(T) -> decltype(i(h<T>()));
-template<class T> auto f(T) -> void;
-auto g() -> void {
- f(42);
-}
diff --git a/Tests/CompileFeatures/cxx_default_function_template_args.cpp b/Tests/CompileFeatures/cxx_default_function_template_args.cpp
deleted file mode 100644
index 3d14c52..0000000
--- a/Tests/CompileFeatures/cxx_default_function_template_args.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-
-template<typename T = int>
-int someFunc()
-{
- T t = 0;
- return t;
-}
-
-void otherFunc()
-{
- someFunc();
-}
diff --git a/Tests/CompileFeatures/cxx_defaulted_functions.cpp b/Tests/CompileFeatures/cxx_defaulted_functions.cpp
deleted file mode 100644
index b679a92..0000000
--- a/Tests/CompileFeatures/cxx_defaulted_functions.cpp
+++ /dev/null
@@ -1,9 +0,0 @@
-
-struct A {
- A() = default;
-};
-
-void someFunc()
-{
- A a;
-}
diff --git a/Tests/CompileFeatures/cxx_delegating_constructors.cpp b/Tests/CompileFeatures/cxx_delegating_constructors.cpp
deleted file mode 100644
index 4b41615..0000000
--- a/Tests/CompileFeatures/cxx_delegating_constructors.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
-
-class Foo
-{
-public:
- Foo(int i);
-
- Foo(double d)
- : Foo(static_cast<int>(d))
- {
-
- }
-
-private:
- int m_i;
-};
diff --git a/Tests/CompileFeatures/cxx_deleted_functions.cpp b/Tests/CompileFeatures/cxx_deleted_functions.cpp
deleted file mode 100644
index 4ecb1e9..0000000
--- a/Tests/CompileFeatures/cxx_deleted_functions.cpp
+++ /dev/null
@@ -1,6 +0,0 @@
-
-struct A
-{
- A(const A&) = delete;
- A& operator=(const A&) = delete;
-};
diff --git a/Tests/CompileFeatures/cxx_enum_forward_declarations.cpp b/Tests/CompileFeatures/cxx_enum_forward_declarations.cpp
deleted file mode 100644
index a7e1445..0000000
--- a/Tests/CompileFeatures/cxx_enum_forward_declarations.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-
-enum SomeEnum : short;
-
-void someFunc()
-{
- SomeEnum value;
- int i = value;
-}
diff --git a/Tests/CompileFeatures/cxx_explicit_conversions.cpp b/Tests/CompileFeatures/cxx_explicit_conversions.cpp
deleted file mode 100644
index 0decdcd..0000000
--- a/Tests/CompileFeatures/cxx_explicit_conversions.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
-
-class A
-{
- int m_i;
-public:
- explicit operator bool()
- {
- return m_i != 0;
- }
-};
diff --git a/Tests/CompileFeatures/cxx_extended_friend_declarations.cpp b/Tests/CompileFeatures/cxx_extended_friend_declarations.cpp
deleted file mode 100644
index 631c699..0000000
--- a/Tests/CompileFeatures/cxx_extended_friend_declarations.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-
-template <typename T>
-struct B
-{
- B() : m_i(42) {}
-private:
- int m_i;
- friend T;
-};
-
-struct A
-{
- template<typename T>
- int getBValue(B<T> b)
- {
- return b.m_i;
- }
-};
-
-void someFunc()
-{
- A a;
- B<A> b;
- a.getBValue(b);
-}
diff --git a/Tests/CompileFeatures/cxx_extern_templates.cpp b/Tests/CompileFeatures/cxx_extern_templates.cpp
deleted file mode 100644
index 9fa4aa4..0000000
--- a/Tests/CompileFeatures/cxx_extern_templates.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-
-template<typename T>
-void someFunc()
-{
-}
-
-extern template void someFunc<int>();
-
-void otherFunc()
-{
- someFunc<int>();
-}
diff --git a/Tests/CompileFeatures/cxx_final.cpp b/Tests/CompileFeatures/cxx_final.cpp
deleted file mode 100644
index 598cb94..0000000
--- a/Tests/CompileFeatures/cxx_final.cpp
+++ /dev/null
@@ -1,2 +0,0 @@
-
-struct A final {};
diff --git a/Tests/CompileFeatures/cxx_func_identifier.cpp b/Tests/CompileFeatures/cxx_func_identifier.cpp
deleted file mode 100644
index 0c3595c..0000000
--- a/Tests/CompileFeatures/cxx_func_identifier.cpp
+++ /dev/null
@@ -1,6 +0,0 @@
-
-void someFunc()
-{
- bool b = sizeof(__func__);
- (void)b;
-}
diff --git a/Tests/CompileFeatures/cxx_generalized_initializers.cpp b/Tests/CompileFeatures/cxx_generalized_initializers.cpp
deleted file mode 100644
index 8013ef5..0000000
--- a/Tests/CompileFeatures/cxx_generalized_initializers.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-
-// Dummy implementation. Test only the compiler feature.
-namespace std {
- typedef decltype(sizeof(int)) size_t;
- template <class _E>
- class initializer_list
- {
- const _E* __begin_;
- size_t __size_;
-
- };
-}
-
-template <typename T>
-struct A
-{
- A(std::initializer_list<T>) {}
-};
-
-void someFunc()
-{
- A<int> as = { 1, 2, 3, 4 };
-}
diff --git a/Tests/CompileFeatures/cxx_inheriting_constructors.cpp b/Tests/CompileFeatures/cxx_inheriting_constructors.cpp
deleted file mode 100644
index a83b624..0000000
--- a/Tests/CompileFeatures/cxx_inheriting_constructors.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-
-struct A
-{
- int m_i;
-
- A(int i) : m_i(i) {}
-};
-
-struct B : public A
-{
- using A::A;
-};
-
-void someFunc()
-{
- int i;
- B b(i);
-}
diff --git a/Tests/CompileFeatures/cxx_inline_namespaces.cpp b/Tests/CompileFeatures/cxx_inline_namespaces.cpp
deleted file mode 100644
index 59fa9c8..0000000
--- a/Tests/CompileFeatures/cxx_inline_namespaces.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-namespace Lib
-{
-inline namespace Lib_1
-{
- template <typename T> class A;
-}
-
-template <typename T> void g(T);
-}
-
-struct MyClass {
-
-};
-namespace Lib
-{
-template<>
-class A<MyClass> {
-
-};
-}
-
-void someFunc()
-{
- Lib::A<MyClass> a;
- g(a); // ok, Lib is an associated namespace of A
-}
diff --git a/Tests/CompileFeatures/cxx_lambdas.cpp b/Tests/CompileFeatures/cxx_lambdas.cpp
deleted file mode 100644
index eecaa23..0000000
--- a/Tests/CompileFeatures/cxx_lambdas.cpp
+++ /dev/null
@@ -1,5 +0,0 @@
-
-void someFunc()
-{
- [](){}();
-}
diff --git a/Tests/CompileFeatures/cxx_local_type_template_args.cpp b/Tests/CompileFeatures/cxx_local_type_template_args.cpp
deleted file mode 100644
index 802ea7a..0000000
--- a/Tests/CompileFeatures/cxx_local_type_template_args.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
-
-template <typename T>
-class X { };
-template <typename T>
-void f(T t) { }
-struct {} unnamed_obj;
-void f() {
- struct A { };
- enum { e1 };
- typedef struct {} B;
- B b;
- X<A> x1;
- X<A*> x2;
- X<B> x3;
- f(e1);
- f(unnamed_obj);
- f(b);
- (void)x1;
- (void)x2;
- (void)x3;
-}
diff --git a/Tests/CompileFeatures/cxx_long_long_type.cpp b/Tests/CompileFeatures/cxx_long_long_type.cpp
deleted file mode 100644
index 670324c..0000000
--- a/Tests/CompileFeatures/cxx_long_long_type.cpp
+++ /dev/null
@@ -1,5 +0,0 @@
-
-void someFunc()
-{
- long long ll = 9223372036854775807LL;
-}
diff --git a/Tests/CompileFeatures/cxx_noexcept.cpp b/Tests/CompileFeatures/cxx_noexcept.cpp
deleted file mode 100644
index a3c05b8..0000000
--- a/Tests/CompileFeatures/cxx_noexcept.cpp
+++ /dev/null
@@ -1,5 +0,0 @@
-
-void someFunc() noexcept
-{
-
-}
diff --git a/Tests/CompileFeatures/cxx_nonstatic_member_init.cpp b/Tests/CompileFeatures/cxx_nonstatic_member_init.cpp
deleted file mode 100644
index 6b7fa70..0000000
--- a/Tests/CompileFeatures/cxx_nonstatic_member_init.cpp
+++ /dev/null
@@ -1,4 +0,0 @@
-class A
-{
- int m_i = 42;
-};
diff --git a/Tests/CompileFeatures/cxx_nullptr.cpp b/Tests/CompileFeatures/cxx_nullptr.cpp
deleted file mode 100644
index 96307df..0000000
--- a/Tests/CompileFeatures/cxx_nullptr.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
-
-void someFunc(int*)
-{
-
-}
-
-void otherFunc()
-{
- someFunc(nullptr);
-}
diff --git a/Tests/CompileFeatures/cxx_override.cpp b/Tests/CompileFeatures/cxx_override.cpp
deleted file mode 100644
index 55bec13..0000000
--- a/Tests/CompileFeatures/cxx_override.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-
-struct A {
- virtual void doNothing() {}
-};
-struct B : A {
- void doNothing() override {}
-};
diff --git a/Tests/CompileFeatures/cxx_range_for.cpp b/Tests/CompileFeatures/cxx_range_for.cpp
deleted file mode 100644
index 892109e..0000000
--- a/Tests/CompileFeatures/cxx_range_for.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
-
-void someFunc()
-{
- int accumulated = 0;
- int numbers[] = { 1, 2, 5 };
- for (int i : numbers)
- {
- accumulated += i;
- }
-}
diff --git a/Tests/CompileFeatures/cxx_raw_string_literals.cpp b/Tests/CompileFeatures/cxx_raw_string_literals.cpp
deleted file mode 100644
index ea4d231..0000000
--- a/Tests/CompileFeatures/cxx_raw_string_literals.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-
-void someFunc()
-{
-const char p[] = R"(a\
-b
-c)";
-}
diff --git a/Tests/CompileFeatures/cxx_reference_qualified_functions.cpp b/Tests/CompileFeatures/cxx_reference_qualified_functions.cpp
deleted file mode 100644
index 83a2361..0000000
--- a/Tests/CompileFeatures/cxx_reference_qualified_functions.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-
-struct test{
- void f() & { }
- void f() && { }
-};
-
-void someFunc(){
- test t;
- t.f(); // lvalue
- test().f(); // rvalue
-}
diff --git a/Tests/CompileFeatures/cxx_right_angle_brackets.cpp b/Tests/CompileFeatures/cxx_right_angle_brackets.cpp
deleted file mode 100644
index 2713fd8..0000000
--- a/Tests/CompileFeatures/cxx_right_angle_brackets.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-
-template<typename T>
-struct A
-{
- typedef T Result;
-};
-
-void someFunc()
-{
- A<A<int>> object;
- (void)object;
-}
diff --git a/Tests/CompileFeatures/cxx_rvalue_references.cpp b/Tests/CompileFeatures/cxx_rvalue_references.cpp
deleted file mode 100644
index 787026a..0000000
--- a/Tests/CompileFeatures/cxx_rvalue_references.cpp
+++ /dev/null
@@ -1,5 +0,0 @@
-
-void someFunc(int&&)
-{
-
-}
diff --git a/Tests/CompileFeatures/cxx_sizeof_member.cpp b/Tests/CompileFeatures/cxx_sizeof_member.cpp
deleted file mode 100644
index ae143d2..0000000
--- a/Tests/CompileFeatures/cxx_sizeof_member.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
-
-struct A
-{
- int m_i;
-};
-
-int someFunc()
-{
- return sizeof(A::m_i) > 0 ? 1 : 2;
-}
diff --git a/Tests/CompileFeatures/cxx_static_assert.cpp b/Tests/CompileFeatures/cxx_static_assert.cpp
deleted file mode 100644
index 6aa8678..0000000
--- a/Tests/CompileFeatures/cxx_static_assert.cpp
+++ /dev/null
@@ -1,2 +0,0 @@
-
-static_assert(true, "static_assert test");
diff --git a/Tests/CompileFeatures/cxx_strong_enums.cpp b/Tests/CompileFeatures/cxx_strong_enums.cpp
deleted file mode 100644
index 6262456..0000000
--- a/Tests/CompileFeatures/cxx_strong_enums.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-
-enum class Colors
-{
- RedColor,
- GreenColor,
- BlueColor
-};
diff --git a/Tests/CompileFeatures/cxx_template_template_parameters.cpp b/Tests/CompileFeatures/cxx_template_template_parameters.cpp
deleted file mode 100644
index 0fdd18d..0000000
--- a/Tests/CompileFeatures/cxx_template_template_parameters.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-
-template<template <typename> class T, typename U>
-void someFunc(T<U>)
-{
-
-}
-
-template<typename T>
-struct A
-{
-
-};
-
-void otherFunc()
-{
- A<int> a;
- someFunc(a);
-}
diff --git a/Tests/CompileFeatures/cxx_thread_local.cpp b/Tests/CompileFeatures/cxx_thread_local.cpp
deleted file mode 100644
index 1fb27e2..0000000
--- a/Tests/CompileFeatures/cxx_thread_local.cpp
+++ /dev/null
@@ -1,2 +0,0 @@
-
-thread_local unsigned int rage = 1;
diff --git a/Tests/CompileFeatures/cxx_unicode_literals.cpp b/Tests/CompileFeatures/cxx_unicode_literals.cpp
deleted file mode 100644
index a7b7df0..0000000
--- a/Tests/CompileFeatures/cxx_unicode_literals.cpp
+++ /dev/null
@@ -1,3 +0,0 @@
-
-const char16_t lit_16[] = u"\u00DA";
-const char32_t lit_32[] = U"\u00DA";
diff --git a/Tests/CompileFeatures/cxx_uniform_initialization.cpp b/Tests/CompileFeatures/cxx_uniform_initialization.cpp
deleted file mode 100644
index 82c76e2..0000000
--- a/Tests/CompileFeatures/cxx_uniform_initialization.cpp
+++ /dev/null
@@ -1,9 +0,0 @@
-struct A {};
-struct B {
- B(A) {}
-};
-
-void Func()
-{
- B b{A{}};
-}
diff --git a/Tests/CompileFeatures/cxx_unrestricted_unions.cpp b/Tests/CompileFeatures/cxx_unrestricted_unions.cpp
deleted file mode 100644
index 698fd61..0000000
--- a/Tests/CompileFeatures/cxx_unrestricted_unions.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-
-struct point {
- point() {}
- point(int x, int y) : x_(x), y_(y) {}
- int x_, y_;
-};
-union u {
- point p_;
- int i_;
- const char* s_;
-};
diff --git a/Tests/CompileFeatures/cxx_user_literals.cpp b/Tests/CompileFeatures/cxx_user_literals.cpp
deleted file mode 100644
index 9e5a588..0000000
--- a/Tests/CompileFeatures/cxx_user_literals.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-
-long double operator "" _meters(long double);
-
-void someFunc()
-{
- long double i = 1.2_meters;
-}
diff --git a/Tests/CompileFeatures/cxx_variadic_macros.cpp b/Tests/CompileFeatures/cxx_variadic_macros.cpp
deleted file mode 100644
index 4d007a5..0000000
--- a/Tests/CompileFeatures/cxx_variadic_macros.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-
-int someFunc(int, char, int)
-{
- return 0;
-}
-
-#define FUNC_WRAPPER(...) someFunc(__VA_ARGS__)
-
-void otherFunc()
-{
- FUNC_WRAPPER(42, 'a', 7);
-}
diff --git a/Tests/CompileFeatures/cxx_variadic_templates.cpp b/Tests/CompileFeatures/cxx_variadic_templates.cpp
deleted file mode 100644
index 1d5a706..0000000
--- a/Tests/CompileFeatures/cxx_variadic_templates.cpp
+++ /dev/null
@@ -1,65 +0,0 @@
-template<int I, int... Is>
-struct Interface;
-
-template<int I>
-struct Interface<I>
-{
- static int accumulate()
- {
- return I;
- }
-};
-
-template<int I, int... Is>
-struct Interface
-{
- static int accumulate()
- {
- return I + Interface<Is...>::accumulate();
- }
-};
-
-// Note: split this into a separate test if a
-// cxx_variadic_template_template_parameters feature is added.
-
-template<typename T>
-struct eval {
- enum {
- Matched = 0
- };
-};
-
-template<template<typename...> class T, typename... U>
-struct eval<T<U...> > {
- enum {
- Matched = 1
- };
-};
-
-template<typename...>
-struct A {
-
-};
-template<typename T>
-struct B {
-
-};
-template<typename T, typename U>
-struct C {
-
-};
-template<typename T, typename U, typename...>
-struct D {
-
-};
-
-// Note: This test assumes that a compiler supporting this feature
-// supports static_assert. Add a workaround if that does not hold.
-static_assert(eval<A<> >::Matched, "A Matches");
-static_assert(eval<A<int> >::Matched, "A Matches");
-static_assert(eval<A<int, char> >::Matched, "A Matches");
-static_assert(eval<B<int> >::Matched, "B Matches");
-static_assert(eval<C<int, char> >::Matched, "C Matches");
-static_assert(eval<D<int, char> >::Matched, "D Matches");
-static_assert(eval<D<int, char, bool> >::Matched, "D Matches");
-static_assert(eval<D<int, char, bool, double> >::Matched, "D Matches");
diff --git a/Tests/CompileFeatures/gnu_cxx_typeof.cpp b/Tests/CompileFeatures/gnu_cxx_typeof.cpp
deleted file mode 100644
index 2290aff..0000000
--- a/Tests/CompileFeatures/gnu_cxx_typeof.cpp
+++ /dev/null
@@ -1,6 +0,0 @@
-
-int someFunc(int arg)
-{
- typeof(arg) retValue = 0;
- return retValue;
-}
diff --git a/Tests/CompileFeatures/main.cpp b/Tests/CompileFeatures/main.cpp
deleted file mode 100644
index 3a8e0fc..0000000
--- a/Tests/CompileFeatures/main.cpp
+++ /dev/null
@@ -1,6 +0,0 @@
-
-int main(int,char**)
-{
- auto value = 0;
- return value;
-}
diff --git a/Tests/CompileFeatures/msvc_cxx_sealed.cpp b/Tests/CompileFeatures/msvc_cxx_sealed.cpp
deleted file mode 100644
index 1d4ea43..0000000
--- a/Tests/CompileFeatures/msvc_cxx_sealed.cpp
+++ /dev/null
@@ -1,2 +0,0 @@
-
-struct A sealed {};
diff --git a/Tests/CxxDialect/CMakeLists.txt b/Tests/CxxDialect/CMakeLists.txt
deleted file mode 100644
index 0eb6f8f..0000000
--- a/Tests/CxxDialect/CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-cmake_minimum_required(VERSION 2.8.12)
-cmake_policy(SET CMP0025 NEW)
-project(CxxDialect)
-
-add_executable(use_typeof use_typeof.cxx)
-set_property(TARGET use_typeof PROPERTY CXX_STANDARD 98)
-set_property(TARGET use_typeof PROPERTY CXX_EXTENSIONS ON)
-
-add_executable(use_constexpr use_constexpr.cxx)
-set_property(TARGET use_constexpr PROPERTY CXX_STANDARD 11)
-
-add_executable(CxxDialect use_constexpr_and_typeof.cxx)
-set_property(TARGET CxxDialect PROPERTY CXX_STANDARD 11)
-set_property(TARGET CxxDialect PROPERTY CXX_EXTENSIONS ON)
diff --git a/Tests/CxxDialect/use_constexpr.cxx b/Tests/CxxDialect/use_constexpr.cxx
deleted file mode 100644
index 30ccc4c..0000000
--- a/Tests/CxxDialect/use_constexpr.cxx
+++ /dev/null
@@ -1,10 +0,0 @@
-
-constexpr int foo()
-{
- return 0;
-}
-
-int main(int argc, char**)
-{
- return foo();
-}
diff --git a/Tests/CxxDialect/use_constexpr_and_typeof.cxx b/Tests/CxxDialect/use_constexpr_and_typeof.cxx
deleted file mode 100644
index af217b6..0000000
--- a/Tests/CxxDialect/use_constexpr_and_typeof.cxx
+++ /dev/null
@@ -1,11 +0,0 @@
-
-constexpr int foo()
-{
- return 0;
-}
-
-int main(int argc, char**)
-{
- typeof(argc) ret = foo();
- return ret;
-}
diff --git a/Tests/CxxDialect/use_typeof.cxx b/Tests/CxxDialect/use_typeof.cxx
deleted file mode 100644
index dabb61f..0000000
--- a/Tests/CxxDialect/use_typeof.cxx
+++ /dev/null
@@ -1,6 +0,0 @@
-
-int main(int argc, char**)
-{
- typeof(argc) ret = 0;
- return ret;
-}
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt
index 5e61bfe..851de42 100644
--- a/Tests/RunCMake/CMakeLists.txt
+++ b/Tests/RunCMake/CMakeLists.txt
@@ -53,7 +53,6 @@ add_RunCMake_test(ObjectLibrary)
add_RunCMake_test(TargetObjects)
add_RunCMake_test(TargetSources)
add_RunCMake_test(find_dependency)
-add_RunCMake_test(CompileFeatures)
if(NOT WIN32)
add_RunCMake_test(PositionIndependentCode)
set(SKIP_VISIBILITY 0)
@@ -125,15 +124,6 @@ endif()
add_RunCMake_test(File_Generate)
add_RunCMake_test(ExportWithoutLanguage)
add_RunCMake_test(target_link_libraries)
-
-if((CMAKE_CXX_COMPILER_ID STREQUAL GNU
- AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.7)
- OR (CMAKE_CXX_COMPILER_ID STREQUAL Clang
- AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.4)
- OR ("x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xMSVC"
- AND NOT MSVC_VERSION VERSION_LESS 1600))
- add_RunCMake_test(target_compile_features)
-endif()
add_RunCMake_test(CheckModules)
add_RunCMake_test(CommandLine)
diff --git a/Tests/RunCMake/CompileFeatures/CMakeLists.txt b/Tests/RunCMake/CompileFeatures/CMakeLists.txt
deleted file mode 100644
index 3482e6b..0000000
--- a/Tests/RunCMake/CompileFeatures/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-cmake_minimum_required(VERSION 3.0)
-project(${RunCMake_TEST} CXX)
-include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/CompileFeatures/NotAFeature-result.txt b/Tests/RunCMake/CompileFeatures/NotAFeature-result.txt
deleted file mode 100644
index d00491f..0000000
--- a/Tests/RunCMake/CompileFeatures/NotAFeature-result.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/Tests/RunCMake/CompileFeatures/NotAFeature-stderr.txt b/Tests/RunCMake/CompileFeatures/NotAFeature-stderr.txt
deleted file mode 100644
index ff60e50..0000000
--- a/Tests/RunCMake/CompileFeatures/NotAFeature-stderr.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-CMake Error in CMakeLists.txt:
- Specified unknown feature "not_a_feature" for target "somelib".
diff --git a/Tests/RunCMake/CompileFeatures/NotAFeature.cmake b/Tests/RunCMake/CompileFeatures/NotAFeature.cmake
deleted file mode 100644
index 35246c8..0000000
--- a/Tests/RunCMake/CompileFeatures/NotAFeature.cmake
+++ /dev/null
@@ -1,3 +0,0 @@
-
-add_library(somelib STATIC empty.cpp)
-set_property(TARGET somelib PROPERTY COMPILE_FEATURES "not_a_feature")
diff --git a/Tests/RunCMake/CompileFeatures/NotAFeatureGenex-result.txt b/Tests/RunCMake/CompileFeatures/NotAFeatureGenex-result.txt
deleted file mode 100644
index d00491f..0000000
--- a/Tests/RunCMake/CompileFeatures/NotAFeatureGenex-result.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/Tests/RunCMake/CompileFeatures/NotAFeatureGenex-stderr.txt b/Tests/RunCMake/CompileFeatures/NotAFeatureGenex-stderr.txt
deleted file mode 100644
index ff60e50..0000000
--- a/Tests/RunCMake/CompileFeatures/NotAFeatureGenex-stderr.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-CMake Error in CMakeLists.txt:
- Specified unknown feature "not_a_feature" for target "somelib".
diff --git a/Tests/RunCMake/CompileFeatures/NotAFeatureGenex.cmake b/Tests/RunCMake/CompileFeatures/NotAFeatureGenex.cmake
deleted file mode 100644
index ad2bd37..0000000
--- a/Tests/RunCMake/CompileFeatures/NotAFeatureGenex.cmake
+++ /dev/null
@@ -1,3 +0,0 @@
-
-add_library(somelib STATIC empty.cpp)
-set_property(TARGET somelib PROPERTY COMPILE_FEATURES "$<1:not_a_feature>")
diff --git a/Tests/RunCMake/CompileFeatures/NotAFeatureTransitive-result.txt b/Tests/RunCMake/CompileFeatures/NotAFeatureTransitive-result.txt
deleted file mode 100644
index d00491f..0000000
--- a/Tests/RunCMake/CompileFeatures/NotAFeatureTransitive-result.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/Tests/RunCMake/CompileFeatures/NotAFeatureTransitive-stderr.txt b/Tests/RunCMake/CompileFeatures/NotAFeatureTransitive-stderr.txt
deleted file mode 100644
index ff60e50..0000000
--- a/Tests/RunCMake/CompileFeatures/NotAFeatureTransitive-stderr.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-CMake Error in CMakeLists.txt:
- Specified unknown feature "not_a_feature" for target "somelib".
diff --git a/Tests/RunCMake/CompileFeatures/NotAFeatureTransitive.cmake b/Tests/RunCMake/CompileFeatures/NotAFeatureTransitive.cmake
deleted file mode 100644
index 7311aec..0000000
--- a/Tests/RunCMake/CompileFeatures/NotAFeatureTransitive.cmake
+++ /dev/null
@@ -1,6 +0,0 @@
-
-add_library(iface INTERFACE)
-set_property(TARGET iface PROPERTY INTERFACE_COMPILE_FEATURES "not_a_feature")
-
-add_library(somelib STATIC empty.cpp)
-target_link_libraries(somelib iface)
diff --git a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug-result.txt b/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug-result.txt
deleted file mode 100644
index d00491f..0000000
--- a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug-result.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug-stderr.txt b/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug-stderr.txt
deleted file mode 100644
index 60a8e51..0000000
--- a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug-stderr.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-CMake Debug Log at NotAFeature_OriginDebug.cmake:4 \(set_property\):
- Used compile features for target somelib:
-
- \* not_a_feature
-
-Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
-
-
-CMake Error in CMakeLists.txt:
- Specified unknown feature "not_a_feature" for target "somelib".
diff --git a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug.cmake b/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug.cmake
deleted file mode 100644
index 350c2ea..0000000
--- a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug.cmake
+++ /dev/null
@@ -1,4 +0,0 @@
-
-set(CMAKE_DEBUG_TARGET_PROPERTIES COMPILE_FEATURES)
-add_library(somelib STATIC empty.cpp)
-set_property(TARGET somelib PROPERTY COMPILE_FEATURES "not_a_feature")
diff --git a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugGenex-result.txt b/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugGenex-result.txt
deleted file mode 100644
index d00491f..0000000
--- a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugGenex-result.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugGenex-stderr.txt b/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugGenex-stderr.txt
deleted file mode 100644
index 08e20a8..0000000
--- a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugGenex-stderr.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-CMake Debug Log at NotAFeature_OriginDebugGenex.cmake:4 \(set_property\):
- Used compile features for target somelib:
-
- \* not_a_feature
-
-Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
-
-
-CMake Error in CMakeLists.txt:
- Specified unknown feature "not_a_feature" for target "somelib".
diff --git a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugGenex.cmake b/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugGenex.cmake
deleted file mode 100644
index 2122981..0000000
--- a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugGenex.cmake
+++ /dev/null
@@ -1,4 +0,0 @@
-
-set(CMAKE_DEBUG_TARGET_PROPERTIES COMPILE_FEATURES)
-add_library(somelib STATIC empty.cpp)
-set_property(TARGET somelib PROPERTY COMPILE_FEATURES "$<1:not_a_feature>")
diff --git a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugTransitive-result.txt b/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugTransitive-result.txt
deleted file mode 100644
index d00491f..0000000
--- a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugTransitive-result.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugTransitive-stderr.txt b/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugTransitive-stderr.txt
deleted file mode 100644
index 23c3305..0000000
--- a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugTransitive-stderr.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-CMake Debug Log at NotAFeature_OriginDebugTransitive.cmake:6 \(target_link_libraries\):
- Used compile features for target somelib:
-
- \* not_a_feature
-
-Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
-
-
-CMake Error in CMakeLists.txt:
- Specified unknown feature "not_a_feature" for target "somelib".
diff --git a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugTransitive.cmake b/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugTransitive.cmake
deleted file mode 100644
index 05d0073..0000000
--- a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugTransitive.cmake
+++ /dev/null
@@ -1,6 +0,0 @@
-
-set(CMAKE_DEBUG_TARGET_PROPERTIES COMPILE_FEATURES)
-add_library(iface INTERFACE)
-set_property(TARGET iface PROPERTY INTERFACE_COMPILE_FEATURES "not_a_feature")
-add_library(somelib STATIC empty.cpp)
-target_link_libraries(somelib iface)
diff --git a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug_target_compile_features-result.txt b/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug_target_compile_features-result.txt
deleted file mode 100644
index d00491f..0000000
--- a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug_target_compile_features-result.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug_target_compile_features-stderr.txt b/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug_target_compile_features-stderr.txt
deleted file mode 100644
index d819d15..0000000
--- a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug_target_compile_features-stderr.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-CMake Error at NotAFeature_OriginDebug_target_compile_features.cmake:4 \(target_compile_features\):
- target_compile_features specified unknown feature "not_a_feature" for
- target "somelib".
-Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug_target_compile_features.cmake b/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug_target_compile_features.cmake
deleted file mode 100644
index 467d9a1..0000000
--- a/Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug_target_compile_features.cmake
+++ /dev/null
@@ -1,4 +0,0 @@
-
-set(CMAKE_DEBUG_TARGET_PROPERTIES COMPILE_FEATURES)
-add_library(somelib STATIC empty.cpp)
-target_compile_features(somelib PRIVATE not_a_feature)
diff --git a/Tests/RunCMake/CompileFeatures/RunCMakeTest.cmake b/Tests/RunCMake/CompileFeatures/RunCMakeTest.cmake
deleted file mode 100644
index a6aeeee..0000000
--- a/Tests/RunCMake/CompileFeatures/RunCMakeTest.cmake
+++ /dev/null
@@ -1,9 +0,0 @@
-include(RunCMake)
-
-run_cmake(NotAFeature)
-run_cmake(NotAFeatureGenex)
-run_cmake(NotAFeatureTransitive)
-run_cmake(NotAFeature_OriginDebug)
-run_cmake(NotAFeature_OriginDebugGenex)
-run_cmake(NotAFeature_OriginDebugTransitive)
-run_cmake(NotAFeature_OriginDebug_target_compile_features)
diff --git a/Tests/RunCMake/CompileFeatures/empty.cpp b/Tests/RunCMake/CompileFeatures/empty.cpp
deleted file mode 100644
index bfbbdde..0000000
--- a/Tests/RunCMake/CompileFeatures/empty.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-#ifdef _WIN32
-__declspec(dllexport)
-#endif
-int empty()
-{
- return 0;
-}
diff --git a/Tests/RunCMake/target_compile_features/CMakeLists.txt b/Tests/RunCMake/target_compile_features/CMakeLists.txt
deleted file mode 100644
index 3482e6b..0000000
--- a/Tests/RunCMake/target_compile_features/CMakeLists.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-cmake_minimum_required(VERSION 3.0)
-project(${RunCMake_TEST} CXX)
-include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/target_compile_features/RunCMakeTest.cmake b/Tests/RunCMake/target_compile_features/RunCMakeTest.cmake
deleted file mode 100644
index f2abef7..0000000
--- a/Tests/RunCMake/target_compile_features/RunCMakeTest.cmake
+++ /dev/null
@@ -1,11 +0,0 @@
-include(RunCMake)
-
-run_cmake(not_enough_args)
-run_cmake(alias_target)
-run_cmake(utility_target)
-run_cmake(invalid_args)
-run_cmake(invalid_args_on_interface)
-run_cmake(imported_target)
-run_cmake(no_target)
-run_cmake(not_a_cxx_feature)
-run_cmake(no_matching_cxx_feature)
diff --git a/Tests/RunCMake/target_compile_features/alias_target-result.txt b/Tests/RunCMake/target_compile_features/alias_target-result.txt
deleted file mode 100644
index d00491f..0000000
--- a/Tests/RunCMake/target_compile_features/alias_target-result.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/Tests/RunCMake/target_compile_features/alias_target-stderr.txt b/Tests/RunCMake/target_compile_features/alias_target-stderr.txt
deleted file mode 100644
index 417bf62..0000000
--- a/Tests/RunCMake/target_compile_features/alias_target-stderr.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-CMake Error at alias_target.cmake:4 \(target_compile_features\):
- target_compile_features can not be used on an ALIAS target.
-Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/target_compile_features/alias_target.cmake b/Tests/RunCMake/target_compile_features/alias_target.cmake
deleted file mode 100644
index d35ddba..0000000
--- a/Tests/RunCMake/target_compile_features/alias_target.cmake
+++ /dev/null
@@ -1,4 +0,0 @@
-
-add_executable(main empty.cpp)
-add_executable(Alias::Main ALIAS main)
-target_compile_features(Alias::Main PRIVATE cxx_delegating_constructors)
diff --git a/Tests/RunCMake/target_compile_features/empty.cpp b/Tests/RunCMake/target_compile_features/empty.cpp
deleted file mode 100644
index bfbbdde..0000000
--- a/Tests/RunCMake/target_compile_features/empty.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-#ifdef _WIN32
-__declspec(dllexport)
-#endif
-int empty()
-{
- return 0;
-}
diff --git a/Tests/RunCMake/target_compile_features/imported_target-result.txt b/Tests/RunCMake/target_compile_features/imported_target-result.txt
deleted file mode 100644
index d00491f..0000000
--- a/Tests/RunCMake/target_compile_features/imported_target-result.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/Tests/RunCMake/target_compile_features/imported_target-stderr.txt b/Tests/RunCMake/target_compile_features/imported_target-stderr.txt
deleted file mode 100644
index c6ff5ec..0000000
--- a/Tests/RunCMake/target_compile_features/imported_target-stderr.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-CMake Error at imported_target.cmake:3 \(target_compile_features\):
- Cannot specify compile features for imported target "main".
-Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/target_compile_features/imported_target.cmake b/Tests/RunCMake/target_compile_features/imported_target.cmake
deleted file mode 100644
index e248c2f..0000000
--- a/Tests/RunCMake/target_compile_features/imported_target.cmake
+++ /dev/null
@@ -1,3 +0,0 @@
-
-add_library(main INTERFACE IMPORTED)
-target_compile_features(main INTERFACE cxx_delegating_constructors)
diff --git a/Tests/RunCMake/target_compile_features/invalid_args-result.txt b/Tests/RunCMake/target_compile_features/invalid_args-result.txt
deleted file mode 100644
index d00491f..0000000
--- a/Tests/RunCMake/target_compile_features/invalid_args-result.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/Tests/RunCMake/target_compile_features/invalid_args-stderr.txt b/Tests/RunCMake/target_compile_features/invalid_args-stderr.txt
deleted file mode 100644
index bd5b7b9..0000000
--- a/Tests/RunCMake/target_compile_features/invalid_args-stderr.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-CMake Error at invalid_args.cmake:3 \(target_compile_features\):
- target_compile_features called with invalid arguments
-Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/target_compile_features/invalid_args.cmake b/Tests/RunCMake/target_compile_features/invalid_args.cmake
deleted file mode 100644
index 1a7fb37..0000000
--- a/Tests/RunCMake/target_compile_features/invalid_args.cmake
+++ /dev/null
@@ -1,3 +0,0 @@
-
-add_executable(main empty.cpp)
-target_compile_features(main INVALID cxx_delegating_constructors)
diff --git a/Tests/RunCMake/target_compile_features/invalid_args_on_interface-result.txt b/Tests/RunCMake/target_compile_features/invalid_args_on_interface-result.txt
deleted file mode 100644
index d00491f..0000000
--- a/Tests/RunCMake/target_compile_features/invalid_args_on_interface-result.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/Tests/RunCMake/target_compile_features/invalid_args_on_interface-stderr.txt b/Tests/RunCMake/target_compile_features/invalid_args_on_interface-stderr.txt
deleted file mode 100644
index c30209a..0000000
--- a/Tests/RunCMake/target_compile_features/invalid_args_on_interface-stderr.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-CMake Error at invalid_args_on_interface.cmake:3 \(target_compile_features\):
- target_compile_features may only be set INTERFACE properties on INTERFACE
- targets
-Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/target_compile_features/invalid_args_on_interface.cmake b/Tests/RunCMake/target_compile_features/invalid_args_on_interface.cmake
deleted file mode 100644
index 324d0f3..0000000
--- a/Tests/RunCMake/target_compile_features/invalid_args_on_interface.cmake
+++ /dev/null
@@ -1,3 +0,0 @@
-
-add_library(main INTERFACE)
-target_compile_features(main PRIVATE cxx_delegating_constructors)
diff --git a/Tests/RunCMake/target_compile_features/no_matching_cxx_feature-result.txt b/Tests/RunCMake/target_compile_features/no_matching_cxx_feature-result.txt
deleted file mode 100644
index d00491f..0000000
--- a/Tests/RunCMake/target_compile_features/no_matching_cxx_feature-result.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/Tests/RunCMake/target_compile_features/no_matching_cxx_feature-stderr.txt b/Tests/RunCMake/target_compile_features/no_matching_cxx_feature-stderr.txt
deleted file mode 100644
index 4c76c7a..0000000
--- a/Tests/RunCMake/target_compile_features/no_matching_cxx_feature-stderr.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-CMake Error at no_matching_cxx_feature.cmake:[0-9][0-9]? \((target_compile_features|message)\):
- The compiler feature "[^"]+" is not known to compiler
-
- "[^"]*"
-
- version *[.0-9]+\.
-Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/target_compile_features/no_matching_cxx_feature.cmake b/Tests/RunCMake/target_compile_features/no_matching_cxx_feature.cmake
deleted file mode 100644
index 0452dbf..0000000
--- a/Tests/RunCMake/target_compile_features/no_matching_cxx_feature.cmake
+++ /dev/null
@@ -1,26 +0,0 @@
-
-if (NOT ";${CMAKE_CXX_COMPILE_FEATURES};" MATCHES ";gnu_cxx_typeof;"
- AND NOT ";${CMAKE_CXX_COMPILE_FEATURES};" MATCHES ";msvc_cxx_sealed;" )
- # Simulate passing the test.
- message(SEND_ERROR
- "The compiler feature \"gnu_cxx_dummy\" is not known to compiler\n\"GNU\"\nversion 4.8.1."
- )
- return()
-endif()
-
-if (";${CMAKE_CXX_COMPILE_FEATURES};" MATCHES ";gnu_cxx_typeof;")
- set(feature msvc_cxx_sealed)
- if (";${CMAKE_CXX_COMPILE_FEATURES};" MATCHES ";msvc_cxx_sealed;")
- # If a compiler supports both extensions, remove one of them.
- list(REMOVE_ITEM CMAKE_CXX_COMPILE_FEATURES msvc_cxx_sealed)
- endif()
-else()
- set(feature gnu_cxx_typeof)
-endif()
-
-add_executable(main empty.cpp)
-
-target_compile_features(main
- PRIVATE
- ${feature}
-)
diff --git a/Tests/RunCMake/target_compile_features/no_target-result.txt b/Tests/RunCMake/target_compile_features/no_target-result.txt
deleted file mode 100644
index d00491f..0000000
--- a/Tests/RunCMake/target_compile_features/no_target-result.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/Tests/RunCMake/target_compile_features/no_target-stderr.txt b/Tests/RunCMake/target_compile_features/no_target-stderr.txt
deleted file mode 100644
index 323ba7a..0000000
--- a/Tests/RunCMake/target_compile_features/no_target-stderr.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-CMake Error at no_target.cmake:2 \(target_compile_features\):
- Cannot specify compile features for target "main" which is not built by
- this project.
-Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/target_compile_features/no_target.cmake b/Tests/RunCMake/target_compile_features/no_target.cmake
deleted file mode 100644
index 3f0afe2..0000000
--- a/Tests/RunCMake/target_compile_features/no_target.cmake
+++ /dev/null
@@ -1,2 +0,0 @@
-
-target_compile_features(main INTERFACE cxx_delegating_constructors)
diff --git a/Tests/RunCMake/target_compile_features/not_a_cxx_feature-result.txt b/Tests/RunCMake/target_compile_features/not_a_cxx_feature-result.txt
deleted file mode 100644
index d00491f..0000000
--- a/Tests/RunCMake/target_compile_features/not_a_cxx_feature-result.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/Tests/RunCMake/target_compile_features/not_a_cxx_feature-stderr.txt b/Tests/RunCMake/target_compile_features/not_a_cxx_feature-stderr.txt
deleted file mode 100644
index efa2bad..0000000
--- a/Tests/RunCMake/target_compile_features/not_a_cxx_feature-stderr.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-CMake Error at not_a_cxx_feature.cmake:3 \(target_compile_features\):
- target_compile_features specified unknown feature "cxx_not_a_feature" for
- target "main".
-Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/target_compile_features/not_a_cxx_feature.cmake b/Tests/RunCMake/target_compile_features/not_a_cxx_feature.cmake
deleted file mode 100644
index 0207b72..0000000
--- a/Tests/RunCMake/target_compile_features/not_a_cxx_feature.cmake
+++ /dev/null
@@ -1,6 +0,0 @@
-
-add_executable(main empty.cpp)
-target_compile_features(main
- PRIVATE
- cxx_not_a_feature
-)
diff --git a/Tests/RunCMake/target_compile_features/not_enough_args-result.txt b/Tests/RunCMake/target_compile_features/not_enough_args-result.txt
deleted file mode 100644
index d00491f..0000000
--- a/Tests/RunCMake/target_compile_features/not_enough_args-result.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/Tests/RunCMake/target_compile_features/not_enough_args-stderr.txt b/Tests/RunCMake/target_compile_features/not_enough_args-stderr.txt
deleted file mode 100644
index 2f8d812..0000000
--- a/Tests/RunCMake/target_compile_features/not_enough_args-stderr.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-CMake Error at not_enough_args.cmake:3 \(target_compile_features\):
- target_compile_features called with incorrect number of arguments
-Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/target_compile_features/not_enough_args.cmake b/Tests/RunCMake/target_compile_features/not_enough_args.cmake
deleted file mode 100644
index 9561230..0000000
--- a/Tests/RunCMake/target_compile_features/not_enough_args.cmake
+++ /dev/null
@@ -1,3 +0,0 @@
-
-add_executable(main empty.cpp)
-target_compile_features(main)
diff --git a/Tests/RunCMake/target_compile_features/utility_target-result.txt b/Tests/RunCMake/target_compile_features/utility_target-result.txt
deleted file mode 100644
index d00491f..0000000
--- a/Tests/RunCMake/target_compile_features/utility_target-result.txt
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/Tests/RunCMake/target_compile_features/utility_target-stderr.txt b/Tests/RunCMake/target_compile_features/utility_target-stderr.txt
deleted file mode 100644
index d239059..0000000
--- a/Tests/RunCMake/target_compile_features/utility_target-stderr.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-CMake Error at utility_target.cmake:4 \(target_compile_features\):
- target_compile_features called with non-compilable target type
-Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/target_compile_features/utility_target.cmake b/Tests/RunCMake/target_compile_features/utility_target.cmake
deleted file mode 100644
index 8919056..0000000
--- a/Tests/RunCMake/target_compile_features/utility_target.cmake
+++ /dev/null
@@ -1,4 +0,0 @@
-
-add_custom_target(utility)
-
-target_compile_features(utility PRIVATE cxx_delegating_constructors)
diff --git a/Tests/SystemInformation/CMakeLists.txt b/Tests/SystemInformation/CMakeLists.txt
index db54612..c33380f 100644
--- a/Tests/SystemInformation/CMakeLists.txt
+++ b/Tests/SystemInformation/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required (VERSION 3.0)
+cmake_minimum_required (VERSION 2.6)
project(SystemInformation)
include_directories("This does not exists")
diff --git a/Tests/SystemInformation/SystemInformation.in b/Tests/SystemInformation/SystemInformation.in
index 4addc1f..df3bf49 100644
--- a/Tests/SystemInformation/SystemInformation.in
+++ b/Tests/SystemInformation/SystemInformation.in
@@ -21,14 +21,6 @@ CMAKE_C_COMPILER_ID == "${CMAKE_C_COMPILER_ID}"
CMAKE_C_COMPILER_VERSION == "${CMAKE_C_COMPILER_VERSION}"
CMAKE_CXX_COMPILER_ID == "${CMAKE_CXX_COMPILER_ID}"
CMAKE_CXX_COMPILER_VERSION == "${CMAKE_CXX_COMPILER_VERSION}"
-CMAKE_CXX98_STANDARD_COMPILE_OPTION == "${CMAKE_CXX98_STANDARD_COMPILE_OPTION}"
-CMAKE_CXX11_STANDARD_COMPILE_OPTION == "${CMAKE_CXX11_STANDARD_COMPILE_OPTION}"
-CMAKE_CXX98_EXTENSION_COMPILE_OPTION == "${CMAKE_CXX98_EXTENSION_COMPILE_OPTION}"
-CMAKE_CXX11_EXTENSION_COMPILE_OPTION == "${CMAKE_CXX11_EXTENSION_COMPILE_OPTION}"
-CMAKE_CXX_COMPILE_FEATURES == "${CMAKE_CXX_COMPILE_FEATURES}"
-CMAKE_CXX98_COMPILE_FEATURES == "${CMAKE_CXX98_COMPILE_FEATURES}"
-CMAKE_CXX98_COMPILE_EXTENSIONS == "${CMAKE_CXX98_COMPILE_EXTENSIONS}"
-CMAKE_CXX11_COMPILE_FEATURES == "${CMAKE_CXX11_COMPILE_FEATURES}"
// C shared library flag
CMAKE_SHARED_LIBRARY_C_FLAGS == "${CMAKE_SHARED_LIBRARY_C_FLAGS}"
-----------------------------------------------------------------------
Summary of changes:
Help/command/target_compile_features.rst | 30 ---
Help/manual/cmake-commands.7.rst | 1 -
Help/manual/cmake-properties.7.rst | 4 -
Help/manual/cmake-variables.7.rst | 4 -
Help/prop_tgt/COMPILE_FEATURES.rst | 11 -
Help/prop_tgt/CXX_EXTENSIONS.rst | 8 -
Help/prop_tgt/CXX_STANDARD.rst | 14 --
Help/prop_tgt/INTERFACE_COMPILE_FEATURES.rst | 14 --
Help/release/dev/compile-language-features.rst | 18 --
Help/variable/CMAKE_CXX_COMPILE_FEATURES.rst | 8 -
Help/variable/CMAKE_CXX_EXTENSIONS.rst | 8 -
Help/variable/CMAKE_CXX_KNOWN_FEATURES.rst | 244 --------------------
Help/variable/CMAKE_CXX_STANDARD.rst | 8 -
Help/variable/CMAKE_DEBUG_TARGET_PROPERTIES.rst | 2 +-
Modules/CMakeCXXCompiler.cmake.in | 5 -
Modules/CMakeDetermineCompileFeatures.cmake | 56 -----
Modules/CMakeTestCXXCompiler.cmake | 3 -
Modules/Compiler/AppleClang-CXX.cmake | 7 +-
Modules/Compiler/Clang-CXX-FeatureTests.cmake | 68 ------
Modules/Compiler/Clang-CXX.cmake | 32 ---
Modules/Compiler/GNU-CXX-FeatureTests.cmake | 80 -------
Modules/Compiler/GNU-CXX.cmake | 27 ---
Modules/Compiler/MSVC-CXX-FeatureTests.cmake | 64 -----
Modules/Internal/FeatureTesting.cmake | 57 -----
Modules/Platform/Windows-MSVC-CXX.cmake | 4 -
Source/CMakeLists.txt | 1 -
Source/cmGeneratorExpressionDAGChecker.h | 3 +-
Source/cmLocalGenerator.cxx | 39 ----
Source/cmLocalGenerator.h | 2 -
Source/cmMakefile.cxx | 217 -----------------
Source/cmMakefile.h | 4 -
Source/cmTarget.cxx | 159 -------------
Source/cmTarget.h | 3 -
Source/cmTargetCompileDefinitionsCommand.cxx | 3 +-
Source/cmTargetCompileDefinitionsCommand.h | 2 +-
Source/cmTargetCompileFeaturesCommand.cxx | 70 ------
Source/cmTargetCompileFeaturesCommand.h | 41 ----
Source/cmTargetCompileOptionsCommand.cxx | 3 +-
Source/cmTargetCompileOptionsCommand.h | 2 +-
Source/cmTargetIncludeDirectoriesCommand.cxx | 3 +-
Source/cmTargetIncludeDirectoriesCommand.h | 2 +-
Source/cmTargetPropCommandBase.cxx | 14 +-
Source/cmTargetPropCommandBase.h | 4 +-
Source/cmTargetSourcesCommand.cxx | 3 +-
Source/cmTargetSourcesCommand.h | 2 +-
.../target_compile_features/CMakeLists.txt | 17 --
.../target_compile_features/dummy.cpp | 5 -
.../target_compile_features/lib_auto_type.cpp | 6 -
.../target_compile_features/lib_auto_type.h | 8 -
.../target_compile_features/lib_user.cpp | 7 -
.../CMakeCommands/target_compile_features/main.cpp | 6 -
Tests/CMakeLists.txt | 22 --
Tests/CompileFeatures/CMakeLists.txt | 58 -----
Tests/CompileFeatures/cxx_alias_templates.cpp | 11 -
Tests/CompileFeatures/cxx_alignas.cpp | 4 -
Tests/CompileFeatures/cxx_alignof.cpp | 5 -
Tests/CompileFeatures/cxx_attributes.cpp | 2 -
Tests/CompileFeatures/cxx_auto_function.cpp | 5 -
Tests/CompileFeatures/cxx_auto_type.cpp | 5 -
Tests/CompileFeatures/cxx_constexpr.cpp | 5 -
Tests/CompileFeatures/cxx_decltype.cpp | 7 -
.../cxx_decltype_incomplete_return_types.cpp | 14 --
.../cxx_default_function_template_args.cpp | 12 -
Tests/CompileFeatures/cxx_defaulted_functions.cpp | 9 -
.../cxx_delegating_constructors.cpp | 15 --
Tests/CompileFeatures/cxx_deleted_functions.cpp | 6 -
.../cxx_enum_forward_declarations.cpp | 8 -
Tests/CompileFeatures/cxx_explicit_conversions.cpp | 10 -
.../cxx_extended_friend_declarations.cpp | 25 --
Tests/CompileFeatures/cxx_extern_templates.cpp | 12 -
Tests/CompileFeatures/cxx_final.cpp | 2 -
Tests/CompileFeatures/cxx_func_identifier.cpp | 6 -
.../cxx_generalized_initializers.cpp | 23 --
.../cxx_inheriting_constructors.cpp | 18 --
Tests/CompileFeatures/cxx_inline_namespaces.cpp | 26 ---
Tests/CompileFeatures/cxx_lambdas.cpp | 5 -
.../cxx_local_type_template_args.cpp | 21 --
Tests/CompileFeatures/cxx_long_long_type.cpp | 5 -
Tests/CompileFeatures/cxx_noexcept.cpp | 5 -
.../CompileFeatures/cxx_nonstatic_member_init.cpp | 4 -
Tests/CompileFeatures/cxx_nullptr.cpp | 10 -
Tests/CompileFeatures/cxx_override.cpp | 7 -
Tests/CompileFeatures/cxx_range_for.cpp | 10 -
Tests/CompileFeatures/cxx_raw_string_literals.cpp | 7 -
.../cxx_reference_qualified_functions.cpp | 11 -
Tests/CompileFeatures/cxx_right_angle_brackets.cpp | 12 -
Tests/CompileFeatures/cxx_rvalue_references.cpp | 5 -
Tests/CompileFeatures/cxx_sizeof_member.cpp | 10 -
Tests/CompileFeatures/cxx_static_assert.cpp | 2 -
Tests/CompileFeatures/cxx_strong_enums.cpp | 7 -
.../cxx_template_template_parameters.cpp | 18 --
Tests/CompileFeatures/cxx_thread_local.cpp | 2 -
Tests/CompileFeatures/cxx_unicode_literals.cpp | 3 -
.../CompileFeatures/cxx_uniform_initialization.cpp | 9 -
Tests/CompileFeatures/cxx_unrestricted_unions.cpp | 11 -
Tests/CompileFeatures/cxx_user_literals.cpp | 7 -
Tests/CompileFeatures/cxx_variadic_macros.cpp | 12 -
Tests/CompileFeatures/cxx_variadic_templates.cpp | 65 ------
Tests/CompileFeatures/gnu_cxx_typeof.cpp | 6 -
Tests/CompileFeatures/main.cpp | 6 -
Tests/CompileFeatures/msvc_cxx_sealed.cpp | 2 -
Tests/CxxDialect/CMakeLists.txt | 14 --
Tests/CxxDialect/use_constexpr.cxx | 10 -
Tests/CxxDialect/use_constexpr_and_typeof.cxx | 11 -
Tests/CxxDialect/use_typeof.cxx | 6 -
Tests/RunCMake/CMakeLists.txt | 10 -
Tests/RunCMake/CompileFeatures/CMakeLists.txt | 3 -
.../CompileFeatures/NotAFeature-result.txt | 1 -
.../CompileFeatures/NotAFeature-stderr.txt | 2 -
Tests/RunCMake/CompileFeatures/NotAFeature.cmake | 3 -
.../CompileFeatures/NotAFeatureGenex-result.txt | 1 -
.../CompileFeatures/NotAFeatureGenex-stderr.txt | 2 -
.../CompileFeatures/NotAFeatureGenex.cmake | 3 -
.../NotAFeatureTransitive-result.txt | 1 -
.../NotAFeatureTransitive-stderr.txt | 2 -
.../CompileFeatures/NotAFeatureTransitive.cmake | 6 -
.../NotAFeature_OriginDebug-result.txt | 1 -
.../NotAFeature_OriginDebug-stderr.txt | 11 -
.../CompileFeatures/NotAFeature_OriginDebug.cmake | 4 -
.../NotAFeature_OriginDebugGenex-result.txt | 1 -
.../NotAFeature_OriginDebugGenex-stderr.txt | 11 -
.../NotAFeature_OriginDebugGenex.cmake | 4 -
.../NotAFeature_OriginDebugTransitive-result.txt | 1 -
.../NotAFeature_OriginDebugTransitive-stderr.txt | 11 -
.../NotAFeature_OriginDebugTransitive.cmake | 6 -
..._OriginDebug_target_compile_features-result.txt | 1 -
..._OriginDebug_target_compile_features-stderr.txt | 5 -
...ature_OriginDebug_target_compile_features.cmake | 4 -
Tests/RunCMake/CompileFeatures/RunCMakeTest.cmake | 9 -
Tests/RunCMake/CompileFeatures/empty.cpp | 7 -
.../target_compile_features/CMakeLists.txt | 3 -
.../target_compile_features/RunCMakeTest.cmake | 11 -
.../alias_target-result.txt | 1 -
.../alias_target-stderr.txt | 4 -
.../target_compile_features/alias_target.cmake | 4 -
Tests/RunCMake/target_compile_features/empty.cpp | 7 -
.../imported_target-result.txt | 1 -
.../imported_target-stderr.txt | 4 -
.../target_compile_features/imported_target.cmake | 3 -
.../invalid_args-result.txt | 1 -
.../invalid_args-stderr.txt | 4 -
.../target_compile_features/invalid_args.cmake | 3 -
.../invalid_args_on_interface-result.txt | 1 -
.../invalid_args_on_interface-stderr.txt | 5 -
.../invalid_args_on_interface.cmake | 3 -
.../no_matching_cxx_feature-result.txt | 1 -
.../no_matching_cxx_feature-stderr.txt | 8 -
.../no_matching_cxx_feature.cmake | 26 ---
.../target_compile_features/no_target-result.txt | 1 -
.../target_compile_features/no_target-stderr.txt | 5 -
.../target_compile_features/no_target.cmake | 2 -
.../not_a_cxx_feature-result.txt | 1 -
.../not_a_cxx_feature-stderr.txt | 5 -
.../not_a_cxx_feature.cmake | 6 -
.../not_enough_args-result.txt | 1 -
.../not_enough_args-stderr.txt | 4 -
.../target_compile_features/not_enough_args.cmake | 3 -
.../utility_target-result.txt | 1 -
.../utility_target-stderr.txt | 4 -
.../target_compile_features/utility_target.cmake | 4 -
Tests/SystemInformation/CMakeLists.txt | 2 +-
Tests/SystemInformation/SystemInformation.in | 8 -
162 files changed, 20 insertions(+), 2243 deletions(-)
delete mode 100644 Help/command/target_compile_features.rst
delete mode 100644 Help/prop_tgt/COMPILE_FEATURES.rst
delete mode 100644 Help/prop_tgt/CXX_EXTENSIONS.rst
delete mode 100644 Help/prop_tgt/CXX_STANDARD.rst
delete mode 100644 Help/prop_tgt/INTERFACE_COMPILE_FEATURES.rst
delete mode 100644 Help/release/dev/compile-language-features.rst
delete mode 100644 Help/variable/CMAKE_CXX_COMPILE_FEATURES.rst
delete mode 100644 Help/variable/CMAKE_CXX_EXTENSIONS.rst
delete mode 100644 Help/variable/CMAKE_CXX_KNOWN_FEATURES.rst
delete mode 100644 Help/variable/CMAKE_CXX_STANDARD.rst
delete mode 100644 Modules/CMakeDetermineCompileFeatures.cmake
delete mode 100644 Modules/Compiler/Clang-CXX-FeatureTests.cmake
delete mode 100644 Modules/Compiler/GNU-CXX-FeatureTests.cmake
delete mode 100644 Modules/Compiler/MSVC-CXX-FeatureTests.cmake
delete mode 100644 Modules/Internal/FeatureTesting.cmake
delete mode 100644 Source/cmTargetCompileFeaturesCommand.cxx
delete mode 100644 Source/cmTargetCompileFeaturesCommand.h
delete mode 100644 Tests/CMakeCommands/target_compile_features/CMakeLists.txt
delete mode 100644 Tests/CMakeCommands/target_compile_features/dummy.cpp
delete mode 100644 Tests/CMakeCommands/target_compile_features/lib_auto_type.cpp
delete mode 100644 Tests/CMakeCommands/target_compile_features/lib_auto_type.h
delete mode 100644 Tests/CMakeCommands/target_compile_features/lib_user.cpp
delete mode 100644 Tests/CMakeCommands/target_compile_features/main.cpp
delete mode 100644 Tests/CompileFeatures/CMakeLists.txt
delete mode 100644 Tests/CompileFeatures/cxx_alias_templates.cpp
delete mode 100644 Tests/CompileFeatures/cxx_alignas.cpp
delete mode 100644 Tests/CompileFeatures/cxx_alignof.cpp
delete mode 100644 Tests/CompileFeatures/cxx_attributes.cpp
delete mode 100644 Tests/CompileFeatures/cxx_auto_function.cpp
delete mode 100644 Tests/CompileFeatures/cxx_auto_type.cpp
delete mode 100644 Tests/CompileFeatures/cxx_constexpr.cpp
delete mode 100644 Tests/CompileFeatures/cxx_decltype.cpp
delete mode 100644 Tests/CompileFeatures/cxx_decltype_incomplete_return_types.cpp
delete mode 100644 Tests/CompileFeatures/cxx_default_function_template_args.cpp
delete mode 100644 Tests/CompileFeatures/cxx_defaulted_functions.cpp
delete mode 100644 Tests/CompileFeatures/cxx_delegating_constructors.cpp
delete mode 100644 Tests/CompileFeatures/cxx_deleted_functions.cpp
delete mode 100644 Tests/CompileFeatures/cxx_enum_forward_declarations.cpp
delete mode 100644 Tests/CompileFeatures/cxx_explicit_conversions.cpp
delete mode 100644 Tests/CompileFeatures/cxx_extended_friend_declarations.cpp
delete mode 100644 Tests/CompileFeatures/cxx_extern_templates.cpp
delete mode 100644 Tests/CompileFeatures/cxx_final.cpp
delete mode 100644 Tests/CompileFeatures/cxx_func_identifier.cpp
delete mode 100644 Tests/CompileFeatures/cxx_generalized_initializers.cpp
delete mode 100644 Tests/CompileFeatures/cxx_inheriting_constructors.cpp
delete mode 100644 Tests/CompileFeatures/cxx_inline_namespaces.cpp
delete mode 100644 Tests/CompileFeatures/cxx_lambdas.cpp
delete mode 100644 Tests/CompileFeatures/cxx_local_type_template_args.cpp
delete mode 100644 Tests/CompileFeatures/cxx_long_long_type.cpp
delete mode 100644 Tests/CompileFeatures/cxx_noexcept.cpp
delete mode 100644 Tests/CompileFeatures/cxx_nonstatic_member_init.cpp
delete mode 100644 Tests/CompileFeatures/cxx_nullptr.cpp
delete mode 100644 Tests/CompileFeatures/cxx_override.cpp
delete mode 100644 Tests/CompileFeatures/cxx_range_for.cpp
delete mode 100644 Tests/CompileFeatures/cxx_raw_string_literals.cpp
delete mode 100644 Tests/CompileFeatures/cxx_reference_qualified_functions.cpp
delete mode 100644 Tests/CompileFeatures/cxx_right_angle_brackets.cpp
delete mode 100644 Tests/CompileFeatures/cxx_rvalue_references.cpp
delete mode 100644 Tests/CompileFeatures/cxx_sizeof_member.cpp
delete mode 100644 Tests/CompileFeatures/cxx_static_assert.cpp
delete mode 100644 Tests/CompileFeatures/cxx_strong_enums.cpp
delete mode 100644 Tests/CompileFeatures/cxx_template_template_parameters.cpp
delete mode 100644 Tests/CompileFeatures/cxx_thread_local.cpp
delete mode 100644 Tests/CompileFeatures/cxx_unicode_literals.cpp
delete mode 100644 Tests/CompileFeatures/cxx_uniform_initialization.cpp
delete mode 100644 Tests/CompileFeatures/cxx_unrestricted_unions.cpp
delete mode 100644 Tests/CompileFeatures/cxx_user_literals.cpp
delete mode 100644 Tests/CompileFeatures/cxx_variadic_macros.cpp
delete mode 100644 Tests/CompileFeatures/cxx_variadic_templates.cpp
delete mode 100644 Tests/CompileFeatures/gnu_cxx_typeof.cpp
delete mode 100644 Tests/CompileFeatures/main.cpp
delete mode 100644 Tests/CompileFeatures/msvc_cxx_sealed.cpp
delete mode 100644 Tests/CxxDialect/CMakeLists.txt
delete mode 100644 Tests/CxxDialect/use_constexpr.cxx
delete mode 100644 Tests/CxxDialect/use_constexpr_and_typeof.cxx
delete mode 100644 Tests/CxxDialect/use_typeof.cxx
delete mode 100644 Tests/RunCMake/CompileFeatures/CMakeLists.txt
delete mode 100644 Tests/RunCMake/CompileFeatures/NotAFeature-result.txt
delete mode 100644 Tests/RunCMake/CompileFeatures/NotAFeature-stderr.txt
delete mode 100644 Tests/RunCMake/CompileFeatures/NotAFeature.cmake
delete mode 100644 Tests/RunCMake/CompileFeatures/NotAFeatureGenex-result.txt
delete mode 100644 Tests/RunCMake/CompileFeatures/NotAFeatureGenex-stderr.txt
delete mode 100644 Tests/RunCMake/CompileFeatures/NotAFeatureGenex.cmake
delete mode 100644 Tests/RunCMake/CompileFeatures/NotAFeatureTransitive-result.txt
delete mode 100644 Tests/RunCMake/CompileFeatures/NotAFeatureTransitive-stderr.txt
delete mode 100644 Tests/RunCMake/CompileFeatures/NotAFeatureTransitive.cmake
delete mode 100644 Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug-result.txt
delete mode 100644 Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug-stderr.txt
delete mode 100644 Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug.cmake
delete mode 100644 Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugGenex-result.txt
delete mode 100644 Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugGenex-stderr.txt
delete mode 100644 Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugGenex.cmake
delete mode 100644 Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugTransitive-result.txt
delete mode 100644 Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugTransitive-stderr.txt
delete mode 100644 Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebugTransitive.cmake
delete mode 100644 Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug_target_compile_features-result.txt
delete mode 100644 Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug_target_compile_features-stderr.txt
delete mode 100644 Tests/RunCMake/CompileFeatures/NotAFeature_OriginDebug_target_compile_features.cmake
delete mode 100644 Tests/RunCMake/CompileFeatures/RunCMakeTest.cmake
delete mode 100644 Tests/RunCMake/CompileFeatures/empty.cpp
delete mode 100644 Tests/RunCMake/target_compile_features/CMakeLists.txt
delete mode 100644 Tests/RunCMake/target_compile_features/RunCMakeTest.cmake
delete mode 100644 Tests/RunCMake/target_compile_features/alias_target-result.txt
delete mode 100644 Tests/RunCMake/target_compile_features/alias_target-stderr.txt
delete mode 100644 Tests/RunCMake/target_compile_features/alias_target.cmake
delete mode 100644 Tests/RunCMake/target_compile_features/empty.cpp
delete mode 100644 Tests/RunCMake/target_compile_features/imported_target-result.txt
delete mode 100644 Tests/RunCMake/target_compile_features/imported_target-stderr.txt
delete mode 100644 Tests/RunCMake/target_compile_features/imported_target.cmake
delete mode 100644 Tests/RunCMake/target_compile_features/invalid_args-result.txt
delete mode 100644 Tests/RunCMake/target_compile_features/invalid_args-stderr.txt
delete mode 100644 Tests/RunCMake/target_compile_features/invalid_args.cmake
delete mode 100644 Tests/RunCMake/target_compile_features/invalid_args_on_interface-result.txt
delete mode 100644 Tests/RunCMake/target_compile_features/invalid_args_on_interface-stderr.txt
delete mode 100644 Tests/RunCMake/target_compile_features/invalid_args_on_interface.cmake
delete mode 100644 Tests/RunCMake/target_compile_features/no_matching_cxx_feature-result.txt
delete mode 100644 Tests/RunCMake/target_compile_features/no_matching_cxx_feature-stderr.txt
delete mode 100644 Tests/RunCMake/target_compile_features/no_matching_cxx_feature.cmake
delete mode 100644 Tests/RunCMake/target_compile_features/no_target-result.txt
delete mode 100644 Tests/RunCMake/target_compile_features/no_target-stderr.txt
delete mode 100644 Tests/RunCMake/target_compile_features/no_target.cmake
delete mode 100644 Tests/RunCMake/target_compile_features/not_a_cxx_feature-result.txt
delete mode 100644 Tests/RunCMake/target_compile_features/not_a_cxx_feature-stderr.txt
delete mode 100644 Tests/RunCMake/target_compile_features/not_a_cxx_feature.cmake
delete mode 100644 Tests/RunCMake/target_compile_features/not_enough_args-result.txt
delete mode 100644 Tests/RunCMake/target_compile_features/not_enough_args-stderr.txt
delete mode 100644 Tests/RunCMake/target_compile_features/not_enough_args.cmake
delete mode 100644 Tests/RunCMake/target_compile_features/utility_target-result.txt
delete mode 100644 Tests/RunCMake/target_compile_features/utility_target-stderr.txt
delete mode 100644 Tests/RunCMake/target_compile_features/utility_target.cmake
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list