summaryrefslogtreecommitdiffstats
path: root/libk9copy
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-04 16:23:49 +0900
committerMichele Calgaro <[email protected]>2023-08-06 16:37:52 +0900
commit4aae9b72d7164684622eab039f82833d02d3ce7a (patch)
tree650f523ea071491ec9f9b94b3ea083fd07b843f7 /libk9copy
parent9f7c0362e26f62dc81769ab55a89e32c3c9a268d (diff)
downloadk9copy-4aae9b72d7164684622eab039f82833d02d3ce7a.tar.gz
k9copy-4aae9b72d7164684622eab039f82833d02d3ce7a.zip
Conversion to cmake build system
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'libk9copy')
-rw-r--r--libk9copy/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/libk9copy/CMakeLists.txt b/libk9copy/CMakeLists.txt
new file mode 100644
index 0000000..dc753b7
--- /dev/null
+++ b/libk9copy/CMakeLists.txt
@@ -0,0 +1,16 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/libdvdnav
+ ${CMAKE_SOURCE_DIR}/k9decmpeg
+ ${CMAKE_SOURCE_DIR}/k9vamps
+ ${TDE_INCLUDE_DIR}
+)
+
+##### main k9copy
+file( GLOB _lib_cpp_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp )
+file( GLOB _lib_ui_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/*.ui )
+tde_add_library( k9copy STATIC_PIC AUTOMOC
+ SOURCES ${_lib_cpp_files} ${_lib_ui_files}
+)