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
431 B
25 lines
431 B
#include "cmTest.hpp" |
|
|
|
#if __cplusplus < 201103L |
|
#error "At least C++11 is required" |
|
#endif |
|
|
|
#if __cplusplus >= 201402L |
|
#error "At most C++11 is required" |
|
#endif |
|
|
|
#ifndef MESON_GLOBAL_FLAG |
|
#error "MESON_GLOBAL_FLAG was not set" |
|
#endif |
|
|
|
#ifdef MESON_SPECIAL_FLAG1 |
|
#error "MESON_SPECIAL_FLAG1 *was* set" |
|
#endif |
|
|
|
#ifdef MESON_SPECIAL_FLAG2 |
|
#error "MESON_SPECIAL_FLAG2 *was* set" |
|
#endif |
|
|
|
int getTestInt() { |
|
return MESON_MAGIC_INT; |
|
}
|
|
|