summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 912572f)
raw | patch | inline | side by side (parent: 912572f)
author | Tomi Valkeinen <tomi.valkeinen@iki.fi> | |
Mon, 28 Sep 2015 18:59:29 +0000 (21:59 +0300) | ||
committer | Tomi Valkeinen <tomi.valkeinen@iki.fi> | |
Mon, 28 Sep 2015 19:00:14 +0000 (22:00 +0300) |
CMakeLists.txt | patch | blob | history | |
db/CMakeLists.txt | [deleted file] | patch | blob | history |
tests/CMakeLists.txt | [moved from testpat/CMakeLists.txt with 69% similarity] | patch | blob | history |
tests/db.cpp | [moved from db/db.cpp with 100% similarity] | patch | blob | history |
tests/testpat.cpp | [moved from testpat/testpat.cpp with 100% similarity] | patch | blob | history |
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 060dd7b9948aabb798a9d9ebf9676dd832c591f5..1fe580e4a0af6ab5e9a241e0f7297a365f1bce4b 100644 (file)
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
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
--- 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
similarity index 69%
rename from testpat/CMakeLists.txt
rename to tests/CMakeLists.txt
index aed43716870f980939eca87b5838864423a8ab79..7856034d83d46a635f74ba8b68a38a649b286a42 100644 (file)
rename from testpat/CMakeLists.txt
rename to tests/CMakeLists.txt
index aed43716870f980939eca87b5838864423a8ab79..7856034d83d46a635f74ba8b68a38a649b286a42 100644 (file)
--- a/testpat/CMakeLists.txt
+++ b/tests/CMakeLists.txt
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
diff --git a/testpat/testpat.cpp b/tests/testpat.cpp