The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
662 B
25 lines
662 B
7 years ago
|
#define __STRINGIFY(x) #x
|
||
|
#define TEST_STRINGIFY(x) __STRINGIFY(x)
|
||
|
|
||
|
#define TEST_VERSION_MAJOR 6
|
||
|
#define TEST_VERSION_MINOR 0
|
||
|
#define TEST_VERSION_BUGFIX 0
|
||
|
|
||
7 years ago
|
#define TEST_VERSION_STR \
|
||
|
TEST_STRINGIFY(TEST_VERSION_MAJOR) \
|
||
|
"." TEST_STRINGIFY(TEST_VERSION_MINOR) "." TEST_STRINGIFY( \
|
||
|
TEST_VERSION_BUGFIX)
|
||
7 years ago
|
|
||
7 years ago
|
#define TEST_CONCAT_1 \
|
||
|
"ab" \
|
||
|
"cd" \
|
||
7 years ago
|
"ef" \
|
||
|
""
|
||
7 years ago
|
#define TEST_CONCAT_2 1
|
||
|
#define TEST_CONCAT_3 1 2 3
|
||
|
#define TEST_CONCAT_4 "ab" 1 "cd"
|
||
|
#define TEST_CONCAT_5 \
|
||
|
"ab\"" \
|
||
|
"cd"
|
||
|
#define TEST_CONCAT_6 "ab\" \"cd"
|