mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 19:00:54 -06:00
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.
This commit is contained in:
10
Tests/CompileFeatures/feature_test.c
Normal file
10
Tests/CompileFeatures/feature_test.c
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
#define STRINGIFY_IMPL(X) #X
|
||||
#define STRINGIFY(X) STRINGIFY_IMPL(X)
|
||||
|
||||
#include STRINGIFY(TEST)
|
||||
|
||||
int main(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user