diff options
author | gregory guy <[email protected]> | 2018-10-12 20:52:21 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2018-10-16 01:32:16 +0200 |
commit | cb8fbdaad8b45286205430d724f7ad8101459e26 (patch) | |
tree | bb3ec94ea606f35c4f048390467740c336ae8b4c /src | |
parent | 8059305e05680322f00b1909124fe48bb85896d6 (diff) | |
download | knutclient-cb8fbdaad8b45286205430d724f7ad8101459e26.tar.gz knutclient-cb8fbdaad8b45286205430d724f7ad8101459e26.zip |
conversion to cmake building system
Signed-off-by: gregory guy <[email protected]>
(cherry picked from commit bc97f48e2e9ecbbb32e0038e6ebe30cdab3980ff)
Diffstat (limited to 'src')
-rwxr-xr-x | src/CMakeLists.txt | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100755 index 0000000..c2d88ab --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,61 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### knutclient (executable) + +tde_add_executable( ${PROJECT_NAME} AUTOMOC + + SOURCES + main.cpp + knutclient.cpp + knutmainwindow.cpp + knutprefdlg.cpp + knutnewupsdlg.cpp + knutupsdata.cpp + knutvardata.cpp + knutnet.cpp + knutfrontpanel.cpp + knutpanelmeter.cpp + knutdock.cpp + knutprintupsvar.cpp + knutinstcomms.cpp + knutrwvar.cpp + knutanalog.cpp + knutmessagemanager.cpp + knutmessage.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### icons + +tde_install_icons( ) + + +##### other data + +install( + FILES knutclientui.rc + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) + +install( + FILES ${PROJECT_NAME}.desktop + DESTINATION ${APPS_INSTALL_DIR}/Utilities +) |