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