From b7e134e27e65c5cc4ae2cd49d41f680ffa20a593 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 4 Aug 2023 16:23:49 +0900 Subject: Conversion to cmake build system Signed-off-by: Michele Calgaro (cherry picked from commit 4aae9b72d7164684622eab039f82833d02d3ce7a) --- k9author/CMakeLists.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 k9author/CMakeLists.txt (limited to 'k9author') 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} +) -- cgit v1.2.1