From: donadio Date: Mon, 18 May 2009 11:28:16 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: CREATOOLS.2-0-3~56 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=797fc8eb42ee38bc6f55c176991d658597e3d85a;p=creaBruker.git *** empty log message *** --- diff --git a/lib/src1/CMakeLists.txt b/lib/src1/CMakeLists.txt index c0c03a5..ad13ca3 100644 --- a/lib/src1/CMakeLists.txt +++ b/lib/src1/CMakeLists.txt @@ -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} )