]> Creatis software - crea.git/blobdiff - appli/creaNewProject/NewProject/lib/CMakeLists.txt
Add sample lib + sample appli
[crea.git] / appli / creaNewProject / NewProject / lib / CMakeLists.txt
index dd38a155f57c694743922a766a1566a604827986..5d46bdb3cf7009bb8e3a856aa22089c05f870a81 100644 (file)
@@ -2,12 +2,13 @@
 
 # USER! : Set the library name (global one)
 
-  SET(LIBRARY_NAME ___Library_name___here___)
+  SET(LIBRARY_NAME mySampleLib)
+ #  SET(LIBRARY_NAME ___Library_name___here___)
   SET(LIBRARY_NAME_BASE ${LIBRARY_NAME} )
   SET(${LIBRARY_NAME}_INSTALL_FOLDER ${LIBRARY_NAME})
-  
+
 # USER! : Give the list of your Libraries 
+
 SET(${LIBRARY_NAME}_LIBRARIES 
    ___Your_library_one___here___
    ___Your_library_two___here___ 
@@ -18,9 +19,9 @@ SET(${LIBRARY_NAME}_LIBRARIES
 # USER! : Give the list of directories holding the '.h' and '.txx' to be installed
 
  SET(${LIBRARY_NAME}_BUILD_TREE_RELATIVE_INCLUDE_PATHS
-    lib/___Your_include_directory_one___here___
-    lib/___Your_include_directory_two___here___
-    lib/___Your_include_directory_tree___here___    
+    lib/mySampleLib
+  #  lib/___Your_include_directory_two___here___
+  #  lib/___Your_include_directory_tree___here___
  )
 
 # USER! : Hands off, here!
@@ -46,9 +47,9 @@ SET(${LIBRARY_NAME}_LIBRARIES
 
   # Invoke the advanced macro
   CREA_ADVANCED_INSTALL_LIBRARY_FOR_CMAKE(${LIBRARY_NAME})
+
 # USER! : Up to you again, now!
-       
+
 # USER! : Add a ADD_SUBDIRECTORY command for each one of your libraries
-# ADD_SUBDIRECTORY(MyLib1)
+ ADD_SUBDIRECTORY(mySampleLib)