projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test: Add build system support and a main function for unit tests
[quassel.git]
/
src
/
test
/
main
/
CMakeLists.txt
diff --git a/src/test/main/CMakeLists.txt
b/src/test/main/CMakeLists.txt
new file mode 100644
(file)
index 0000000..
6d6993f
--- /dev/null
+++ b/
src/test/main/CMakeLists.txt
@@ -0,0
+1,13
@@
+quassel_add_module(Test::Main EXPORT NOINSTALL)
+
+target_sources(${TARGET} PRIVATE
+ main.cpp
+ testglobal.h
+)
+
+target_link_libraries(${TARGET}
+ PUBLIC
+ GTest::GTest
+ Qt5::Core
+ Quassel::Common
+)