[Kita-svn] [2352] add support for out-of-source builds

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 7月 5日 (日) 08:39:32 JST


Revision: 2352
          http://sourceforge.jp/projects/kita/svn/view?view=rev&revision=2352
Author:   nogu
Date:     2009-07-05 08:39:32 +0900 (Sun, 05 Jul 2009)

Log Message:
-----------
add support for out-of-source builds
see also: http://techbase.kde.org/Development/Tutorials/Using_KConfig_XT#out-of-source_builds

Modified Paths:
--------------
    kita/branches/KITA-KDE4/kita/src/CMakeLists.txt
    kita/branches/KITA-KDE4/kita/src/prefs/CMakeLists.txt


-------------- next part --------------
Modified: kita/branches/KITA-KDE4/kita/src/CMakeLists.txt
===================================================================
--- kita/branches/KITA-KDE4/kita/src/CMakeLists.txt	2009-07-04 23:14:33 UTC (rev 2351)
+++ kita/branches/KITA-KDE4/kita/src/CMakeLists.txt	2009-07-04 23:39:32 UTC (rev 2352)
@@ -1,5 +1,5 @@
 
-include_directories(${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
+include_directories(${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}/prefs)
 
 add_subdirectory(kitaui)
 add_subdirectory(libkita)

Modified: kita/branches/KITA-KDE4/kita/src/prefs/CMakeLists.txt
===================================================================
--- kita/branches/KITA-KDE4/kita/src/prefs/CMakeLists.txt	2009-07-04 23:14:33 UTC (rev 2351)
+++ kita/branches/KITA-KDE4/kita/src/prefs/CMakeLists.txt	2009-07-04 23:39:32 UTC (rev 2352)
@@ -1,5 +1,5 @@
 
-include_directories(.. ${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
+include_directories(.. ${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR}/..)
 
 
 ########### next target ###############



Kita-svn メーリングリストの案内
Back to archive index