summaryrefslogtreecommitdiffstats
path: root/k9author
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 /k9author
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 'k9author')
-rw-r--r--k9author/CMakeLists.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/k9author/CMakeLists.txt b/k9author/CMakeLists.txt
new file mode 100644
index 0000000..b0ad1e2
--- /dev/null
+++ b/k9author/CMakeLists.txt
@@ -0,0 +1,21 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/libk9copy
+ ${CMAKE_SOURCE_DIR}/k9devices
+ ${CMAKE_SOURCE_DIR}/k9vamps
+ ${CMAKE_SOURCE_DIR}/src
+ ${LIBAVCODEC}
+ ${LIBAVFORMAT}
+ ${LIBAVUTIL}
+ ${LIBAVSWSCALE}
+ ${TDE_INCLUDE_DIR}
+)
+
+##### main k9author
+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( k9author STATIC_PIC AUTOMOC
+ SOURCES ${_lib_cpp_files} ${_lib_ui_files}
+)