aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorReinUsesLisp <[email protected]>2018-08-23 04:59:57 -0300
committerReinUsesLisp <[email protected]>2018-08-23 04:59:57 -0300
commit5cfa8aa6ab22157045348a25504c05bef4886abf (patch)
treeb924835078158d8c564e811df0a096ad799e1672 /tests
downloadsirit-5cfa8aa6ab22157045348a25504c05bef4886abf.tar.gz
sirit-5cfa8aa6ab22157045348a25504c05bef4886abf.zip
aloha
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt6
-rw-r--r--tests/main.cpp11
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
new file mode 100644
index 0000000..a3f9534
--- /dev/null
+++ b/tests/CMakeLists.txt
@@ -0,0 +1,6 @@
+add_executable(sirit_tests
+ main.cpp)
+target_link_libraries(sirit_tests PRIVATE sirit)
+target_include_directories(sirit_tests PRIVATE . ../include)
+
+add_test(sirit_tests sirit_tests)
diff --git a/tests/main.cpp b/tests/main.cpp
new file mode 100644
index 0000000..c5c520f
--- /dev/null
+++ b/tests/main.cpp
@@ -0,0 +1,11 @@
+/* This file is part of the sirit project.
+ * Copyright (c) 2018 ReinUsesLisp
+ * This software may be used and distributed according to the terms of the GNU
+ * General Public License version 2 or any later version.
+ */
+
+#include <sirit/sirit.h>
+
+int main(int argc, char **argv) {
+ return 0;
+}