diff options
author | Timothy Pearson <[email protected]> | 2011-11-26 20:37:40 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-26 20:37:40 -0600 |
commit | a9fbdbd29b32151d366123ca637b2a06736d6e05 (patch) | |
tree | 9e86b48f7f6e776dcd9a1edea7705bfc93fd4a8d /src/helpers/CMakeLists.txt | |
parent | 094b95b8a8d3d52ea4ce9035f8246dcdf054c7f5 (diff) | |
download | tdesvn-a9fbdbd29b32151d366123ca637b2a06736d6e05.tar.gz tdesvn-a9fbdbd29b32151d366123ca637b2a06736d6e05.zip |
Initial attempt at using the standard CMake system
Diffstat (limited to 'src/helpers/CMakeLists.txt')
-rw-r--r-- | src/helpers/CMakeLists.txt | 40 |
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 |