diff options
Diffstat (limited to 'library/test/CMakeLists.txt')
-rw-r--r-- | library/test/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/library/test/CMakeLists.txt b/library/test/CMakeLists.txt new file mode 100644 index 0000000..b1d8aa2 --- /dev/null +++ b/library/test/CMakeLists.txt @@ -0,0 +1,7 @@ +# Google Test unit test framework must be present for tests +# +if (EXISTS "${SYST_BUILD_GTEST_DIR}/include/gtest/gtest.h") + add_subdirectory(unit) +else() + message("WARNING: SYST_BUILD_GTEST_DIR is not set or not pointing to Google Test sources, skipping unit tests ...") +endif () |