diff options
author | Brad King <brad.king@kitware.com> | 2015-01-21 20:40:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-01-21 20:40:47 (GMT) |
commit | f40c19b5433aa601cd98fabd9491edc9aaf703b7 (patch) | |
tree | d1333737fa466c06c818859d7f145099129fd88b /Tests/CompileFeatures | |
parent | 004e1540e0870e9b3bde19ad16c4f50b7d22df73 (diff) | |
download | CMake-f40c19b5433aa601cd98fabd9491edc9aaf703b7.zip CMake-f40c19b5433aa601cd98fabd9491edc9aaf703b7.tar.gz CMake-f40c19b5433aa601cd98fabd9491edc9aaf703b7.tar.bz2 |
Features: Fix CompileFeatures test for C non-features
Add a "feature_test.c" file corresponding to "feature_test.cpp" but for
the C language. This source will be needed by C_non_features entries.
Diffstat (limited to 'Tests/CompileFeatures')
-rw-r--r-- | Tests/CompileFeatures/feature_test.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/feature_test.c b/Tests/CompileFeatures/feature_test.c new file mode 100644 index 0000000..4147f1f --- /dev/null +++ b/Tests/CompileFeatures/feature_test.c @@ -0,0 +1,10 @@ + +#define STRINGIFY_IMPL(X) #X +#define STRINGIFY(X) STRINGIFY_IMPL(X) + +#include STRINGIFY(TEST) + +int main(void) +{ + return 0; +} |