X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2FcreaNewProject%2FNewProject%2Flib%2FCMakeLists.txt;h=3ea64ee650405fb5bfe719a4edf607f7f88fcfe8;hb=4473ea5e5ba7bf275cbafbadf81cd82d04917850;hp=5d46bdb3cf7009bb8e3a856aa22089c05f870a81;hpb=9ab37589f483b7dbbf72db5c6a4d482108eb4c6d;p=crea.git diff --git a/appli/creaNewProject/NewProject/lib/CMakeLists.txt b/appli/creaNewProject/NewProject/lib/CMakeLists.txt index 5d46bdb..3ea64ee 100644 --- a/appli/creaNewProject/NewProject/lib/CMakeLists.txt +++ b/appli/creaNewProject/NewProject/lib/CMakeLists.txt @@ -1,6 +1,7 @@ # Settings for macro CREA_ADVANCED_INSTALL_LIBRARY_FOR_CMAKE : # USER! : Set the library name (global one) +# ----- SET(LIBRARY_NAME mySampleLib) # SET(LIBRARY_NAME ___Library_name___here___) @@ -8,15 +9,16 @@ SET(${LIBRARY_NAME}_INSTALL_FOLDER ${LIBRARY_NAME}) # USER! : Give the list of your Libraries - +# NO extention .so/.dll; ONLY name! SET(${LIBRARY_NAME}_LIBRARIES - ___Your_library_one___here___ - ___Your_library_two___here___ - ___Your_library_tree___here___ + # ___Your_library_one___here___ + # ___Your_library_two___here___ + # ___Your_library_tree___here___ ) # USER! : Give the list of directories holding the '.h' and '.txx' to be installed +# ----- SET(${LIBRARY_NAME}_BUILD_TREE_RELATIVE_INCLUDE_PATHS lib/mySampleLib @@ -25,7 +27,7 @@ SET(${LIBRARY_NAME}_LIBRARIES ) # USER! : Hands off, here! - +# ----- IF ( ${PROJECT_BINARY_DIR} STREQUAL ${EXECUTABLE_OUTPUT_PATH} ) SET(CILFC_EXECUTABLE_OUTPUT_REL_PATH ".") ELSE ( ${PROJECT_BINARY_DIR} STREQUAL ${EXECUTABLE_OUTPUT_PATH} ) @@ -49,7 +51,8 @@ SET(${LIBRARY_NAME}_LIBRARIES 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(mySampleLib)