summaryrefslogtreecommitdiffstats
path: root/libk9copy
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-04 16:23:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-06 17:09:43 +0900
commitb7e134e27e65c5cc4ae2cd49d41f680ffa20a593 (patch)
treec5dc23628f49091d3f6e8e82f5bb556985399020 /libk9copy
parent0984c8a873d7ed24259cf1ba600a3c989cdb3b08 (diff)
downloadk9copy-b7e134e27e65c5cc4ae2cd49d41f680ffa20a593.tar.gz
k9copy-b7e134e27e65c5cc4ae2cd49d41f680ffa20a593.zip
Conversion to cmake build system
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 4aae9b72d7164684622eab039f82833d02d3ce7a)
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}
+)