summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-05-20 13:40:14 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-05-20 13:40:14 (GMT)
commitc1edede31f4e979826a5fc0f6e56b1b59cb00f21 (patch)
tree11ca8f038a7e363ebd7b218d5cf753fae4b1cd4d /Source/cmake.h
parent8897116df8e8a6576f2736b96b8e0d529c26139e (diff)
parente0890d03a48d12904ffe24aa94fb2847d8d5f4e7 (diff)
downloadCMake-c1edede31f4e979826a5fc0f6e56b1b59cb00f21.zip
CMake-c1edede31f4e979826a5fc0f6e56b1b59cb00f21.tar.gz
CMake-c1edede31f4e979826a5fc0f6e56b1b59cb00f21.tar.bz2
Merge topic 'compile-features-C-language'
e0890d03 Features: Extend concept to C language.
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 33b4f74..33a5d78 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -458,6 +458,12 @@ private:
{"-Wno-dev", "Suppress developer warnings."},\
{"-Wdev", "Enable developer warnings."}
+#define FOR_EACH_C_FEATURE(F) \
+ F(c_function_prototypes) \
+ F(c_restrict) \
+ F(c_static_assert) \
+ F(c_variadic_macros)
+
#define FOR_EACH_CXX_FEATURE(F) \
F(cxx_alias_templates) \
F(cxx_alignas) \