From: jean-pierre roux Date: Thu, 18 Mar 2010 18:20:59 +0000 (+0000) Subject: Some more comments, to unaware users X-Git-Tag: CREATOOLS.2-0-3~29 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=49af62704153015f9097e53cfb460868b8ce8e3d;p=crea.git Some more comments, to unaware users --- diff --git a/appli/creaNewProject/NewProject/CMakeLists.txt.in b/appli/creaNewProject/NewProject/CMakeLists.txt.in index 3190820..e32116c 100644 --- a/appli/creaNewProject/NewProject/CMakeLists.txt.in +++ b/appli/creaNewProject/NewProject/CMakeLists.txt.in @@ -5,7 +5,7 @@ # http://www.creatis.insa-lyon.fr/site/fr/CreatoosGettingStarted-v2.0.X # before starting. # -# Generated with creaNewProject, version of : 12/03/2010 +# Generated with creaNewProject, version of : 18/03/2010 # --------------------------------- CMAKE_MINIMUM_REQUIRED(VERSION 2.6) @@ -45,7 +45,7 @@ IF (crea_FOUND) ENDIF(crea_FOUND) #================================== -# USER! Add here as many 'FIND_PACKAGE' blocks as *your* aplication requires +# USER! : Add here as many 'FIND_PACKAGE' blocks as *your* aplication requires #FIND_PACKAGE(xxx REQUIRED) #IF (xxx_FOUND) # INCLUDE(${xxx_USE_FILE}) @@ -59,7 +59,7 @@ CREA_PREVENT_IN_SOURCE_BUILD() #================================== # Libraries/tools used -# Note : Set USE_CREA to ON +# USER! : Note : Set USE_CREA to ON # if you need to LINK against crea # (and not only use its macros) SET(USE_CREA OFF) @@ -73,7 +73,7 @@ SET(USE_VTK OFF) SET(USE_ITK OFF) SET(USE_BOOST OFF) -# Note : Set USE_DOXYGEN to ON +# USER! : Note : Set USE_DOXYGEN to ON # if you think you will ask, some day, # for Doxygen generation SET(USE_DOXYGEN OFF) @@ -96,7 +96,15 @@ MARK_AS_ADVANCED( EXECUTABLE_OUTPUT_PATH LIBRARY_OUTPUT_PATH ) - +#================================== + +IF(WIN32) + INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/win32) + LINK_DIRECTORIES(${PROJECT_SOURCE_DIR}/win32) +ENDIF(WIN32) + +#================================== + #================================== SET(LIBNAME $(PROJECT_NAME)) @@ -105,7 +113,7 @@ MARK_AS_ADVANCED( ${PROJECT_BINARY_DIR} ) - # USER! Add here the directories holding the .h you need + # USER! : Add here the directories holding the .h you need # INCLUDE_DIRECTORIES(appli/_YOUR_OWN_APPLI_SOURCE_DIRECTORY_) # INCLUDE_DIRECTORIES(lib/_YOUR_OWN_LIBRARY_SOURCE_DIRECTORY_) @@ -123,7 +131,7 @@ SET(BBTK_DOC_BUILD_PATH ${PROJECT_BINARY_DIR}/doc ) #================================== - + # USER! : Hands off! # Subdirs SUBDIRS(lib) SUBDIRS(appli)