]> Creatis software - crea.git/blobdiff - appli/creaNewProject/NewProject/CMakeLists.txt.in
mistyping
[crea.git] / appli / creaNewProject / NewProject / CMakeLists.txt.in
index 50c9f5dfe1a1e9e4023277d0760384bc22a5194b..a11b52d1dc125016b9abd3b0b8df068fcd01cde8 100644 (file)
@@ -49,6 +49,7 @@ ENDIF(crea_FOUND)
 #==================================
 
 # USER! : Add here as many 'FIND_PACKAGE' blocks as *your* aplication requires
+# -----
 
 # WARNING : we are talking here about 'bbtk packages', not about libraries!
 # if your project just requires the GDCM library, and not bbtk/packages/gdcm, 
@@ -69,6 +70,8 @@ CREA_PREVENT_IN_SOURCE_BUILD()
 # Libraries/tools used
 
 # USER! : Note : Set USE_CREA to ON
+# -----
+
 #  if you need to LINK against crea
 #  (and not only use its macros)
 SET(USE_CREA      OFF)
@@ -122,7 +125,8 @@ ENDIF(WIN32)
     ${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_)  
 
@@ -139,11 +143,27 @@ SET(BBTK_DOC_BUILD_PATH
      ${PROJECT_BINARY_DIR}/doc
    )
 #==================================
- # USER! : Hands off!
-# ADD_SUBDIRECTORY
+# USER! : Hands off!
+# ----
+
+# ADD SUB DIRECTORIES
+# ----------------
 ADD_SUBDIRECTORY(lib)
 ADD_SUBDIRECTORY(appli)
 ADD_SUBDIRECTORY(doc)
 ADD_SUBDIRECTORY(data)
 ADD_SUBDIRECTORY(install)
 #==================================
+
+#-----------------------------------
+# This one is just a sample.
+# USER : you may comment out this line
+# ----
+
+ADD_SUBDIRECTORY(bbtk_mySamplePackage_PKG)
+
+#==================================
+# This one is the default empty package,
+# created with the same name than the Project.
+# USER : you may use it
+# ----