summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt3
-rw-r--r--db/CMakeLists.txt6
-rw-r--r--tests/CMakeLists.txt (renamed from testpat/CMakeLists.txt)5
-rw-r--r--tests/db.cpp (renamed from db/db.cpp)0
-rw-r--r--tests/testpat.cpp (renamed from testpat/testpat.cpp)0
5 files changed, 5 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 060dd7b..1fe580e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,8 +18,7 @@ pkg_check_modules(LIBDRM libdrm REQUIRED)
enable_testing()
add_subdirectory(libkms++)
-add_subdirectory(testpat)
-add_subdirectory(db)
+add_subdirectory(tests)
add_subdirectory(py)
add_subdirectory(lua)
diff --git a/db/CMakeLists.txt b/db/CMakeLists.txt
deleted file mode 100644
index 91ab888..0000000
--- a/db/CMakeLists.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-include_directories(${LIBDRM_INCLUDE_DIRS})
-link_directories(${LIBDRM_LIBRARY_DIRS})
-
-add_executable (db db.cpp)
-
-target_link_libraries(db kms++ ${LIBDRM_LIBRARIES})
diff --git a/testpat/CMakeLists.txt b/tests/CMakeLists.txt
index aed4371..7856034 100644
--- a/testpat/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -1,6 +1,9 @@
include_directories(${LIBDRM_INCLUDE_DIRS})
link_directories(${LIBDRM_LIBRARY_DIRS})
-add_executable (testpat testpat.cpp)
+add_executable (db db.cpp)
+target_link_libraries(db kms++ ${LIBDRM_LIBRARIES})
+add_executable (testpat testpat.cpp)
target_link_libraries(testpat kms++ ${LIBDRM_LIBRARIES})
+
diff --git a/db/db.cpp b/tests/db.cpp
index 4ef6ff9..4ef6ff9 100644
--- a/db/db.cpp
+++ b/tests/db.cpp
diff --git a/testpat/testpat.cpp b/tests/testpat.cpp
index 5632224..5632224 100644
--- a/testpat/testpat.cpp
+++ b/tests/testpat.cpp