]> Creatis software - crea.git/blobdiff - appli/creaNewProject/NewProject/lib/CMakeLists.txt
Feature #1711 CreaDevManager application implementation
[crea.git] / appli / creaNewProject / NewProject / lib / CMakeLists.txt
index dd38a155f57c694743922a766a1566a604827986..18853d92237960aec034177c2212dc9dadf261de 100644 (file)
@@ -1,54 +1,30 @@
-# Settings for macro CREA_ADVANCED_INSTALL_LIBRARY_FOR_CMAKE :
+# ---------------------------------------------------------------------
+#
+# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image 
+#                        pour la Santé)
+# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
+# Previous Authors : Laurent Guigues, Jean-Pierre Roux
+# CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
+#
+#  This software is governed by the CeCILL-B license under French law and 
+#  abiding by the rules of distribution of free software. You can  use, 
+#  modify and/ or redistribute the software under the terms of the CeCILL-B 
+#  license as circulated by CEA, CNRS and INRIA at the following URL 
+#  http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html 
+#  or in the file LICENSE.txt.
+#
+#  As a counterpart to the access to the source code and  rights to copy,
+#  modify and redistribute granted by the license, users are provided only
+#  with a limited warranty  and the software's author,  the holder of the
+#  economic rights,  and the successive licensors  have only  limited
+#  liability. 
+#
+#  The fact that you are presently reading this means that you have had
+#  knowledge of the CeCILL-B license and that you accept its terms.
+# ------------------------------------------------------------------------ */ 
 
-# USER! : Set the library name (global one)
-
-  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___ 
-   ___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/___Your_include_directory_one___here___
-    lib/___Your_include_directory_two___here___
-    lib/___Your_include_directory_tree___here___    
- )
-
-# 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} )
-    FILE(RELATIVE_PATH 
-      CILFC_EXECUTABLE_OUTPUT_REL_PATH
-      ${PROJECT_BINARY_DIR} ${EXECUTABLE_OUTPUT_PATH})
-  ENDIF ( ${PROJECT_BINARY_DIR} STREQUAL ${EXECUTABLE_OUTPUT_PATH} )
-
-  SET(${LIBRARY_NAME}_INSTALL_TREE_RELATIVE_LIBRARY_PATHS ${CMAKE_CREA_LIB_PATH} )
-
-  IF(UNIX)
-    SET(${LIBRARY_NAME}_BUILD_TREE_RELATIVE_LIBRARY_PATHS 
-      ${CILFC_EXECUTABLE_OUTPUT_REL_PATH})
-  ELSE(UNIX)
-    SET(${LIBRARY_NAME}_BUILD_TREE_RELATIVE_LIBRARY_PATHS 
-      ${CILFC_EXECUTABLE_OUTPUT_REL_PATH})
-  ENDIF(UNIX)
-  SET(${LIBRARY_NAME}_INSTALL_TREE_RELATIVE_INCLUDE_PATHS include/${LIBRARY_NAME})
-
-  # 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)