]> Creatis software - creaBruker.git/commitdiff
*** empty log message ***
authordonadio <donadio>
Mon, 18 May 2009 11:28:16 +0000 (11:28 +0000)
committerdonadio <donadio>
Mon, 18 May 2009 11:28:16 +0000 (11:28 +0000)
lib/src1/CMakeLists.txt

index c0c03a590ee9cb95119903a20609ad0cd8c9b442..ad13ca330ad1d2f39af6cc7c1357005e8ef3f52c 100644 (file)
@@ -15,7 +15,11 @@ IF ( BUILD_${LIBRARY_NAME} )
   #----------------------------------------------------------------------------
   # BUILD LIBRARY
   #----------------------------------------------------------------------------
-
+  INCLUDE_DIRECTORIES(
+    include
+       ../../../
+)
+  
   #----------------------------------------------------------------------------
   # LIBRARY HEADERS (TO BE INSTALLED)
   # EITHER LIST ALL .h IN CURRENT DIR USING NEXT LINE:
@@ -48,7 +52,22 @@ IF ( BUILD_${LIBRARY_NAME} )
     )
   #----------------------------------------------------------------------------
 
-
+  IF(CREA_VERBOSE_CMAKE)
+    MESSAGE(STATUS "** Creating library ${LIBRARY_NAME}")
+    MESSAGE(STATUS "   Headers  : ${${LIBRARY_NAME}_HEADERS}")
+    MESSAGE(STATUS "   Sources  : ${${LIBRARY_NAME}_SOURCES}")
+    MESSAGE(STATUS "   Link libs: ${${LIBRARY_NAME}_LINK_LIBRARIES}")
+  ENDIF(CREA_VERBOSE_CMAKE)
+  
+  
+  #----------------------------------------------------------------------------
+  
+  SET(${LIBRARY_NAME}_BUILD_TREE_RELATIVE_INCLUDE_PATHS
+    lib/src1/
+       lib/src1/../../../
+)
+  
+  
   #----------------------------------------------------------------------------
   # MACRO WHICH DOES ALL THE JOB : BUILD AND INSTALL
   CREA_ADD_LIBRARY( ${LIBRARY_NAME} )