summaryrefslogtreecommitdiffstats
path: root/src/app/CMakeLists.txt
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2020-06-13 16:55:00 +0200
committergregory guy <[email protected]>2020-06-21 15:36:20 +0200
commit0b2288da16894d45e95caf5c0f1f5cba3f17c2dd (patch)
tree7dc6943b6af7edd7500456aaa813d79c8f09c88b /src/app/CMakeLists.txt
parent88aa431c9d79bad942de04f4b28954b428079fd1 (diff)
downloadcodeine-0b2288da16894d45e95caf5c0f1f5cba3f17c2dd.tar.gz
codeine-0b2288da16894d45e95caf5c0f1f5cba3f17c2dd.zip
Conversion to the cmake building system.
Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'src/app/CMakeLists.txt')
-rw-r--r--src/app/CMakeLists.txt54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt
new file mode 100644
index 0000000..60a21e4
--- /dev/null
+++ b/src/app/CMakeLists.txt
@@ -0,0 +1,54 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${XINE_INCLUDE_DIRS}
+ ${X11_INCLUDE_DIR}
+ ${X11_XTEST_INCLUDE_DIRS}
+ ${X11_KEYSIM_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### codeine (executable)
+
+tde_add_executable( ${PROJECT_NAME} AUTOMOC
+
+ SOURCES
+ xineEngine.cpp
+ xineConfig.cpp
+ xineScope.c
+ theStream.cpp
+ videoWindow.cpp
+ videoSettings.cpp
+ captureFrame.cpp
+ actions.cpp
+ stateChange.cpp
+ slider.cpp
+ analyzer.cpp
+ playDialog.cpp
+ listView.cpp
+ adjustSizeButton.cpp
+ fullScreenAction.cpp
+ insertAspectRatioMenuItems.cpp
+ playlistFile.cpp
+ volumeAction.cpp
+ ../mxcl.library.cpp
+ main.cpp
+ mainWindow.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+ ${XINE_LIBRARIES}
+ ${X11_LIBRARIES}
+ ${X11_XTEST_LIBRARIES}
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)