summaryrefslogtreecommitdiffstats
path: root/src/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers')
-rw-r--r--src/helpers/CMakeLists.txt40
1 files changed, 29 insertions, 11 deletions
diff --git a/src/helpers/CMakeLists.txt b/src/helpers/CMakeLists.txt
index cce4bbe..82fa5f8 100644
--- a/src/helpers/CMakeLists.txt
+++ b/src/helpers/CMakeLists.txt
@@ -1,14 +1,32 @@
-SET(helperssrc
- ktranslateurl.cpp
- sshagent.cpp
- sub2qt.cpp)
+#################################################
+#
+# (C) 2011 Timothy Pearson
+# kb9vqf (AT) pearsoncomputing.net
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
-FILE(GLOB hdr RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.h")
+include_directories(
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/src
+ ${CMAKE_SOURCE_DIR}/src
+)
-KDE3_AUTOMOC(${helperssrc} )
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
-ADD_LIBRARY(tdesvnhelpers STATIC ${helperssrc} ${hdr})
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
-SET_TARGET_PROPERTIES(tdesvnhelpers
- PROPERTIES
- COMPILE_FLAGS ${CMAKE_SHARED_LIBRARY_CXX_FLAGS})
+##### tdesvnhelpers ##############################
+
+file (GLOB hdr RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.h")
+
+tde_add_library( tdesvnhelpers STATIC AUTOMOC
+ SOURCES helperssrc ktranslateurl.cpp sshagent.cpp sub2qt.cpp ${hdr}
+# LINK kio-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+) \ No newline at end of file