You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.8 KiB
58 lines
1.8 KiB
15 years ago
|
ADD_EXECUTABLE(kdesvnaskpass askpass/kdesvn-askpass.cpp)
|
||
|
SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib${LIB_SUFFIX}/kde3)
|
||
|
|
||
|
SET(kdesvnsrc
|
||
|
main.cpp
|
||
|
kdesvn.cpp
|
||
|
urldlg.cpp
|
||
|
commandline.cpp)
|
||
|
|
||
|
SET(partsrc
|
||
|
kdesvn_events.cpp
|
||
|
kdesvn_events.h
|
||
|
kdesvn_part.cpp
|
||
|
kdesvnview.cpp
|
||
|
commandline_part.cpp)
|
||
|
|
||
|
KDE3_AUTOMOC(${kdesvnsrc})
|
||
|
KDE3_AUTOMOC(${partsrc})
|
||
|
|
||
|
SET(partsrc ${partsrc} kdesvn_part.h kdesvnview.h commandline_part.h)
|
||
|
SET(kdesvnsrc ${kdesvnsrc} kdesvn.h urldlg.h commandline.h)
|
||
|
|
||
|
ADD_SUBDIRECTORY(svnqt)
|
||
|
ADD_SUBDIRECTORY(ksvnwidgets)
|
||
|
ADD_SUBDIRECTORY(settings)
|
||
|
ADD_SUBDIRECTORY(svnfrontend)
|
||
|
ADD_SUBDIRECTORY(helpers)
|
||
|
ADD_SUBDIRECTORY(kdesvnd)
|
||
|
ADD_SUBDIRECTORY(kiosvn)
|
||
|
ADD_SUBDIRECTORY(pics)
|
||
|
ADD_SUBDIRECTORY(icons)
|
||
|
|
||
|
ADD_EXECUTABLE(kdesvn ${kdesvnsrc})
|
||
|
|
||
|
KDE3_ADD_KPART(kdesvnpart WITH_PREFIX ${partsrc})
|
||
|
TARGET_LINK_LIBRARIES(kdesvnpart svnfrontend kdesvnhelpers ksvnwidgets settingsdlgs kdesvncfgreader svnqt
|
||
|
${QT_AND_KDECORE_LIBS} ${KDE3_KIO_LIBRARY} ${KDE3_PART_LIBRARY} ${KDE3_UI_LIBRARY} ${KDE3_WALLET_LIBRARY} )
|
||
|
SET_TARGET_PROPERTIES(kdesvnpart
|
||
|
PROPERTIES
|
||
|
LINK_FLAGS "${_BASE_LDADD} ${APR_EXTRA_LIBFLAGS} ${APU_EXTRA_LIBFLAGS} ${LINK_NO_UNDEFINED}")
|
||
|
|
||
|
INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/src/svnqt)
|
||
|
|
||
|
KDESVN_GENERATE_LIBTOOL_FILE(kdesvnpart)
|
||
|
|
||
|
|
||
|
TARGET_LINK_LIBRARIES(kdesvnaskpass ${QT_AND_KDECORE_LIBS} ${KDE3_UI_LIBRARY})
|
||
|
TARGET_LINK_LIBRARIES(kdesvn ${QT_AND_KDECORE_LIBS} ${KDE3_UI_LIBRARY} ${KDE3_PART_LIBRARY} ${KDE3_DCOP_LIBRARY} ${KDE3_KIO_LIBRARY})
|
||
|
|
||
|
INSTALL(TARGETS kdesvn kdesvnaskpass kdesvnpart
|
||
|
RUNTIME DESTINATION ${BIN_INSTALL_DIR}
|
||
|
LIBRARY DESTINATION ${PLUGIN_INSTALL_DIR})
|
||
|
|
||
|
# the resources
|
||
|
INSTALL(FILES kdesvnui.rc DESTINATION ${DATA_INSTALL_DIR}/kdesvn)
|
||
|
INSTALL(FILES kdesvn_part.rc DESTINATION ${DATA_INSTALL_DIR}/kdesvnpart)
|
||
|
INSTALL(FILES kdesvn.desktop DESTINATION ${XDG_APPS_DIR})
|