diff options
Diffstat (limited to 'src/svnfrontend')
-rw-r--r-- | src/svnfrontend/CMakeLists.txt | 52 |
1 files changed, 35 insertions, 17 deletions
diff --git a/src/svnfrontend/CMakeLists.txt b/src/svnfrontend/CMakeLists.txt index d418547..81ef448 100644 --- a/src/svnfrontend/CMakeLists.txt +++ b/src/svnfrontend/CMakeLists.txt @@ -1,7 +1,35 @@ -INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src/svnfrontend/fronthelpers ${CMAKE_BINARY_DIR}/src/svnqt) +################################################# +# +# (C) 2011 Timothy Pearson +# kb9vqf (AT) pearsoncomputing.net +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# -SET(svnfrontendsrc - ccontextlistener.cpp +include_directories( + ${TQT_INCLUDE_DIRS} + ${TDE_INCLUDE_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_BINARY_DIR}/src + ${CMAKE_SOURCE_DIR}/src + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/src/svnfrontend/fronthelpers + ${CMAKE_BINARY_DIR}/src/svnqt +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +##### svnfrontend ############################### + +file (GLOB hdr RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.h") + +tde_add_library( svnfrontend STATIC AUTOMOC + SOURCES ccontextlistener.cpp commandexec.cpp copymoveview_impl.cpp createrepo_impl.cpp @@ -56,9 +84,6 @@ SET(svnfrontendsrc threadcontextlistenerdata.cpp fillcachethread.cpp fillcachethread.h - ) - -SET(svnfrontendui copymoveview.ui createrepo_dlg.ui dumprepo_dlg.ui @@ -71,16 +96,9 @@ SET(svnfrontendui merge_dlg.ui blamedisplay.ui svnlogdlg.ui - ) - -FILE(GLOB hdr RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.h") - -KDE3_AUTOMOC(${svnfrontendsrc}) -KDE3_ADD_UI_FILES(frontend_ui_sources ${svnfrontendui}) - -ADD_LIBRARY(svnfrontend STATIC ${svnfrontendsrc} ${frontend_ui_sources} ${hdr}) -SET_TARGET_PROPERTIES(svnfrontend - PROPERTIES - COMPILE_FLAGS ${CMAKE_SHARED_LIBRARY_CXX_FLAGS}) + ${hdr} +# LINK kio-shared + DESTINATION ${LIB_INSTALL_DIR} +) ADD_DEPENDENCIES(svnfrontend ksvnwidgets) |