Merge additional cmake files

pull/1/head
Timothy Pearson 13 years ago
parent 4ce4baa8d6
commit 28972708f2

@ -19,7 +19,9 @@ include_directories(
${CMAKE_SOURCE_DIR}/src/svnqt ${CMAKE_SOURCE_DIR}/src/svnqt
${CMAKE_BINARY_DIR}/src/svnqt ${CMAKE_BINARY_DIR}/src/svnqt
${CMAKE_SOURCE_DIR}/src/svnfrontend/fronthelpers/ ${CMAKE_SOURCE_DIR}/src/svnfrontend/fronthelpers/
/usr/include/subversion-1 ${CMAKE_SOURCE_DIR}/src/ksvnwidgets
${CMAKE_SOURCE_DIR}/src/helpers
${SUBVERSION_INCLUDE_DIR}
/usr/include/apr-1.0 /usr/include/apr-1.0
) )
@ -166,10 +168,34 @@ tde_add_library( ksvnwidgets STATIC AUTOMOC
tde_add_kpart( kio_ksvn AUTOMOC tde_add_kpart( kio_ksvn AUTOMOC
SOURCES kiosvn/kiosvn.cpp kiosvn/kiolistener.cpp kiosvn/kiobytestream.cpp ksvnwidgets/pwstorage.cpp SOURCES kiosvn/kiosvn.cpp kiosvn/kiolistener.cpp kiosvn/kiobytestream.cpp ksvnwidgets/pwstorage.cpp
LINK kio_ksvn svnqt tdesvnhelpers tdesvncfgreader tdecore-shared tdeui-shared DCOP-shared kio-shared kwallet-shared LINK svnqt tdesvnhelpers tdesvncfgreader tdecore-shared tdeui-shared DCOP-shared kio-shared kwallet-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )
##### tdesvnhelpers ##############################
tde_add_library( tdesvnhelpers STATIC AUTOMOC
SOURCES helpers/ktranslateurl.cpp helpers/sshagent.cpp helpers/sub2qt.cpp
# LINK kio-shared
DESTINATION ${LIB_INSTALL_DIR}
)
##### tdesvncfgreader ###########################
tde_add_library( tdesvncfgreader STATIC AUTOMOC
SOURCES settings/dispcolor_settings.ui
settings/display_settings.ui settings/revisiontree_settings.ui
settings/subversion_settings.ui settings/cmdexecsettings.ui
settings/diffmergesettings.ui settings/dispcolorsettings_impl.cpp
settings/displaysettings_impl.cpp settings/revisiontreesettingsdlg_impl.cpp
settings/subversionsettings_impl.cpp settings/cmdexecsettings_impl.cpp
settings/diffmergesettings_impl.cpp settings/tdesvnsettings.kcfgc
# LINK kio-shared
DESTINATION ${LIB_INSTALL_DIR}
)
add_subdirectory( svnqt ) add_subdirectory( svnqt )
add_subdirectory( ksvnwidgets ) add_subdirectory( ksvnwidgets )
add_subdirectory( settings ) add_subdirectory( settings )

@ -8,23 +8,3 @@
# This file is released under GPL >= 2 # This file is released under GPL >= 2
# #
################################################# #################################################
include_directories(
${TQT_INCLUDE_DIRS}
${TDE_INCLUDE_DIR}
${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/src
${CMAKE_SOURCE_DIR}/src
)
link_directories(
${TQT_LIBRARY_DIRS}
)
##### tdesvnhelpers ##############################
tde_add_library( tdesvnhelpers STATIC AUTOMOC
SOURCES ktranslateurl.cpp sshagent.cpp sub2qt.cpp
# LINK kio-shared
DESTINATION ${LIB_INSTALL_DIR}
)

@ -20,7 +20,7 @@
#ifndef HELPERSSUB2TQT_H #ifndef HELPERSSUB2TQT_H
#define HELPERSSUB2TQT_H #define HELPERSSUB2TQT_H
#include "src/svnqt/datetime.hpp" #include "datetime.hpp"
#include <tqdatetime.h> #include <tqdatetime.h>
#include <tqstring.h> #include <tqstring.h>
#include <svn_time.h> #include <svn_time.h>

@ -20,7 +20,7 @@
#ifndef KIOBYTESTREAM_H #ifndef KIOBYTESTREAM_H
#define KIOBYTESTREAM_H #define KIOBYTESTREAM_H
#include "src/svnqt/svnstream.hpp" #include "svnstream.hpp"
#include <kio/global.h> #include <kio/global.h>
#include <kmimetype.h> #include <kmimetype.h>

@ -21,15 +21,15 @@
#include "kiosvn.h" #include "kiosvn.h"
#include "kiolistener.h" #include "kiolistener.h"
#include "src/svnqt/svnqttypes.hpp" #include "svnqttypes.hpp"
#include "src/svnqt/dirent.hpp" #include "dirent.hpp"
#include "src/svnqt/url.hpp" #include "url.hpp"
#include "src/svnqt/status.hpp" #include "status.hpp"
#include "src/svnqt/targets.hpp" #include "targets.hpp"
#include "src/svnqt/info_entry.hpp" #include "info_entry.hpp"
#include "src/settings/tdesvnsettings.h" #include "tdesvnsettings.h"
#include "src/helpers/sub2qt.h" #include "sub2qt.h"
#include "src/helpers/sshagent.h" #include "sshagent.h"
#include <stdlib.h> #include <stdlib.h>
#include <math.h> #include <math.h>

@ -19,7 +19,7 @@
***************************************************************************/ ***************************************************************************/
#include "pwstorage.h" #include "pwstorage.h"
#include "tdesvn-config.h" #include "tdesvn-config.h"
#include "src/settings/tdesvnsettings.h" #include "tdesvnsettings.h"
#include <kwallet.h> #include <kwallet.h>
#include <twin.h> #include <twin.h>

@ -22,6 +22,7 @@
#include <tqstring.h> #include <tqstring.h>
#include <tqobject.h> #include <tqobject.h>
#include <tqmutex.h>
class PwStorageData; class PwStorageData;

@ -24,21 +24,6 @@ link_directories(
) )
##### tdesvncfgreader ###########################
tde_add_library( tdesvncfgreader STATIC AUTOMOC
SOURCES dispcolor_settings.ui
display_settings.ui revisiontree_settings.ui
subversion_settings.ui cmdexecsettings.ui
diffmergesettings.ui dispcolorsettings_impl.cpp
displaysettings_impl.cpp revisiontreesettingsdlg_impl.cpp
subversionsettings_impl.cpp cmdexecsettings_impl.cpp
diffmergesettings_impl.cpp tdesvnsettings.kcfgc
# LINK kio-shared
DESTINATION ${LIB_INSTALL_DIR}
)
##### data files ################################ ##### data files ################################
install( FILES ${CMAKE_CURRENT_SOURCE_DIR}/tdesvn_part.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) install( FILES ${CMAKE_CURRENT_SOURCE_DIR}/tdesvn_part.kcfg DESTINATION ${KCFG_INSTALL_DIR} )

Loading…
Cancel
Save