diff options
| author | Thibault Saunier <thibault.saunier@osg.samsung.com> | 2016-11-11 13:27:56 -0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-11-12 17:34:06 -0500 |
| commit | 85a0cd7635c45bb150b59f55dbd6ecbbe10048f8 (patch) | |
| tree | a8b50106266044237437a42648bac9c1f5b9ce7c /test cases/common/122 subproject project arguments/exe.cpp | |
| parent | 085650a1e3769366ac47f7d8a59386ed6d5a1ef5 (diff) | |
| download | meson-85a0cd7635c45bb150b59f55dbd6ecbbe10048f8.tar.gz | |
Add new add_project_[link]_args functions
Fixes 979
Diffstat (limited to 'test cases/common/122 subproject project arguments/exe.cpp')
| -rw-r--r-- | test cases/common/122 subproject project arguments/exe.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test cases/common/122 subproject project arguments/exe.cpp b/test cases/common/122 subproject project arguments/exe.cpp new file mode 100644 index 000000000..7ffe098b6 --- /dev/null +++ b/test cases/common/122 subproject project arguments/exe.cpp @@ -0,0 +1,24 @@ +#ifdef PROJECT_OPTION +#error +#endif + +#ifdef PROJECT_OPTION_1 +#error +#endif + +#ifdef GLOBAL_ARGUMENT +#error +#endif + +#ifdef SUBPROJECT_OPTION +#error +#endif + +#ifndef PROJECT_OPTION_CPP +#error +#endif + +int main(int argc, char **argv) { + return 0; +} + |
