[opengtl-commits] [527] put the build system in order

[ Thread Index | Date Index | More lists.tuxfamily.org/opengtl-commits Archives ]


Revision: 527
Author:   cyrille
Date:     2008-12-07 23:09:00 +0100 (Sun, 07 Dec 2008)

Log Message:
-----------
put the build system in order

Modified Paths:
--------------
    trunk/libQtGTL/libQtGTL/CMakeLists.txt

Added Paths:
-----------
    trunk/libQtGTL/CMakeLists.txt


Added: trunk/libQtGTL/CMakeLists.txt
===================================================================
--- trunk/libQtGTL/CMakeLists.txt	                        (rev 0)
+++ trunk/libQtGTL/CMakeLists.txt	2008-12-07 22:09:00 UTC (rev 527)
@@ -0,0 +1,10 @@
+set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules )
+
+find_package(Qt4 REQUIRED)
+
+set(LIB_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/)
+
+cmake_minimum_required(VERSION 2.6)
+
+add_subdirectory( libQtGTL )
+

Modified: trunk/libQtGTL/libQtGTL/CMakeLists.txt
===================================================================
--- trunk/libQtGTL/libQtGTL/CMakeLists.txt	2008-12-07 22:04:14 UTC (rev 526)
+++ trunk/libQtGTL/libQtGTL/CMakeLists.txt	2008-12-07 22:09:00 UTC (rev 527)
@@ -1,14 +1,8 @@
-set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules )
 
 find_package(OpenShiva REQUIRED)
-find_package(Qt4 REQUIRED)
 
 include_directories(${QT_QTGUI_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR} ${QT_INCLUDE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${OPENSHIVA_INCLUDE_DIR})
 
-set(LIB_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/)
-
-cmake_minimum_required(VERSION 2.6)
-
 ############################### libQtGTL ###############################
 
 set(libQtGTL_SRCS


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/