diff options
| author | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-11-20 22:16:17 +0100 |
|---|---|---|
| committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-11-28 11:07:20 +0100 |
| commit | b2b9c102b5610112231a321fca4479c09a6ba234 (patch) | |
| tree | 3414bb710f8abdd3aafde019890d96d3936ec0b3 /test cases/cmake/8 custom command/subprojects/cmMod/args_test.cpp | |
| parent | 8efbcb1e80d58fa39501a883968229270c4e4bec (diff) | |
| download | meson-b2b9c102b5610112231a321fca4479c09a6ba234.tar.gz | |
cmake: Some minor fixup
Diffstat (limited to 'test cases/cmake/8 custom command/subprojects/cmMod/args_test.cpp')
| -rw-r--r-- | test cases/cmake/8 custom command/subprojects/cmMod/args_test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test cases/cmake/8 custom command/subprojects/cmMod/args_test.cpp b/test cases/cmake/8 custom command/subprojects/cmMod/args_test.cpp index 243e59706..abb8a4266 100644 --- a/test cases/cmake/8 custom command/subprojects/cmMod/args_test.cpp +++ b/test cases/cmake/8 custom command/subprojects/cmMod/args_test.cpp @@ -9,8 +9,9 @@ int main(int argc, const char *argv[]) { return 1; } + ifstream in1("macro_name.txt"); ofstream out1("cmModLib.hpp"); - out1 << "#define FOO = \"plop\""; + out1 << "#define " << in1.rdbuf() << " = \"plop\""; return 0; |
