[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kde3support
From:       Kevin Ottens <ervin () kde ! org>
Date:       2010-11-04 8:16:45
Message-ID: 20101104081645.0F813AC89B () svn ! kde ! org
[Download RAW message or body]

SVN commit 1192872 by ervin:

Disable from the build classes which can't be built without deprecated
API (so only when KDE_NO_DEPRECATED is activated).


 M  +15 -5     CMakeLists.txt  


--- trunk/KDE/kdelibs/kde3support/CMakeLists.txt #1192871:1192872
@@ -54,11 +54,16 @@
   kdeui/k3panelmenu.cpp
   kio/k3bookmarkdrag.cpp
   kio/kfile/k3fileview.cpp
+  kparts/dockmainwindow3.cpp
+)
+
+if (NOT KDE_NO_DEPRECATED)
+   set(kde3support_LIB_SRCS ${kde3support_LIB_SRCS}
+      kio/kfile/kfiletreebranch.cpp
   kio/kfile/k3filetreeview.cpp
   kio/kfile/k3filetreeviewitem.cpp
-  kio/kfile/kfiletreebranch.cpp
-  kparts/dockmainwindow3.cpp
 )
+endif (NOT KDE_NO_DEPRECATED)
 
 if (UNIX)
    set(kde3support_LIB_SRCS ${kde3support_LIB_SRCS}
@@ -130,9 +135,6 @@
   kio/kfile/kfilesharedlg.h
   kio/kfile/kpropsdlg.h
   kio/kfile/k3fileview.h
-  kio/kfile/k3filetreeview.h
-  kio/kfile/k3filetreeviewitem.h
-  kio/kfile/kfiletreebranch.h
   kparts/dockmainwindow3.h
   kdeui/kactivelabel.h
   kdeui/kstdaccel.h
@@ -140,6 +142,14 @@
   kdeui/kstdguiitem.h
   DESTINATION  ${INCLUDE_INSTALL_DIR} COMPONENT Devel )
 
+if(NOT KDE_NO_DEPRECATED)
+   install( FILES
+      kio/kfile/kfiletreebranch.h
+      kio/kfile/k3filetreeview.h
+      kio/kfile/k3filetreeviewitem.h
+      DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel )
+endif(NOT KDE_NO_DEPRECATED)
+
 if (UNIX)
    install( FILES
       kdecore/k3process.h
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic