diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-08-28 15:19:31 +0200 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-08-28 15:19:31 +0200 |
| commit | d86042141ef0a0e77935f4b48d1a627fc1ec776b (patch) | |
| tree | 4bc95d561c60306d1152f71aa53bd18d9229f172 /tests/CMakeLists.txt | |
| download | configpp-d86042141ef0a0e77935f4b48d1a627fc1ec776b.tar.gz configpp-d86042141ef0a0e77935f4b48d1a627fc1ec776b.tar.bz2 configpp-d86042141ef0a0e77935f4b48d1a627fc1ec776b.zip | |
Diffstat (limited to 'tests/CMakeLists.txt')
| -rw-r--r-- | tests/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt new file mode 100644 index 0000000..1260e05 --- /dev/null +++ b/tests/CMakeLists.txt @@ -0,0 +1,8 @@ +set(CTEST_ENVIRONMENT + "XDG_CONFIG_HOME=${CMAKE_CURRENT_BINARY_DIR}" + "HOME=${CMAKE_CURRENT_BINARY_DIR}" +) + +add_executable(test1 test1.cpp) +target_link_libraries(test1 PRIVATE configpp) +add_test(NAME test1 COMMAND test1)
\ No newline at end of file |
