diff options
Diffstat (limited to 'meson/test cases/cmake/15 object library advanced/subprojects/cmObjLib/libA.cpp')
-rw-r--r-- | meson/test cases/cmake/15 object library advanced/subprojects/cmObjLib/libA.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meson/test cases/cmake/15 object library advanced/subprojects/cmObjLib/libA.cpp b/meson/test cases/cmake/15 object library advanced/subprojects/cmObjLib/libA.cpp new file mode 100644 index 000000000..fd5aa48f1 --- /dev/null +++ b/meson/test cases/cmake/15 object library advanced/subprojects/cmObjLib/libA.cpp @@ -0,0 +1,9 @@ +#include "libA.hpp" + +#if not BUILD_AS_OBJ +#error "BUILD_AS_OBJ was not defined" +#endif + +std::string getLibStr(void) { + return "Hello World"; +} |