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

List:       kde-commits
Subject:    KDE/kdelibs
From:       Kevin Ottens <ervin () kde ! org>
Date:       2010-04-29 5:44:07
Message-ID: 20100429054407.7F879AC7E4 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1120432 by ervin:

Add support for profiles in our platform. The cmake variables are
accessible to other projects built on top of kdelibs.


 M  +3 -0      CMakeLists.txt  
 A             CreateKDEPlatformProfile.cmake  
 M  +2 -1      cmake/modules/FindKDE4Internal.cmake  


--- trunk/KDE/kdelibs/CMakeLists.txt #1120431:1120432
@@ -29,6 +29,8 @@
    set (__KDE_HAVE_GCC_VISIBILITY 0)
 endif (KHTML_BUILD_TESTREGRESSION)
 
+################# write platform profile file which will be installed \
################# +include(CreateKDEPlatformProfile.cmake)
 
 ################# now find all used packages #################
 
@@ -298,6 +300,7 @@
 install( FILES ${CMAKE_CURRENT_BINARY_DIR}/kdemacros.h  DESTINATION  \
${INCLUDE_INSTALL_DIR} )  install( FILES ${CMAKE_CURRENT_BINARY_DIR}/config-nepomuk.h \
DESTINATION  ${INCLUDE_INSTALL_DIR} )  install( FILES \
${CMAKE_CURRENT_BINARY_DIR}/KDELibsDependencies.cmake DESTINATION \
${DATA_INSTALL_DIR}/cmake/modules) +install( FILES \
${CMAKE_CURRENT_BINARY_DIR}/KDEPlatformProfile.cmake  DESTINATION \
${DATA_INSTALL_DIR}/cmake/modules)  
 
 # run a script before installing the exports files which deletes previously \
                installed
--- trunk/KDE/kdelibs/cmake/modules/FindKDE4Internal.cmake #1120431:1120432
@@ -499,8 +499,9 @@
       get_filename_component(QT_INSTALL_DIR ${_DIR} PATH )
    endif (WIN32)
 
-   # This file contains information about the installed kdelibs, Alex
+   # These files contain information about the installed kdelibs, Alex
    include(${kde_cmake_module_dir}/KDELibsDependencies.cmake)
+   include(${kde_cmake_module_dir}/KDEPlatformProfile.cmake)
 
    # Check the version of KDE. It must be at least KDE_MIN_VERSION as set by the \
user.  # KDE_VERSION is set in KDELibsDependencies.cmake since KDE 4.0.x. Alex


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

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