-IF(UNIX)
- SUBDIRS(linux)
- SUBDIRS(gnome)
-ENDIF(UNIX)
-
-
-# Aditional INSTALL for CPACK mecanism.
-
-
+ # ---------------------------------------------------------------------
+ #
+ # 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.
+ # ------------------------------------------------------------------------ */
-IF(WIN32)
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkCommon.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkDICOMParser.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkexoIIc.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkexpat.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkFiltering.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkfreetype.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkftgl.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkGenericFiltering.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkGraphics.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkHybrid.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkImaging.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkIO.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkjpeg.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkNetCDF.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkpng.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkRendering.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtksys.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtktiff.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkVolumeRendering.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkWidgets.dll DESTINATION bin/ )
- INSTALL( FILES ${VTK_DIR}/bin/Release/vtkzlib.dll DESTINATION bin/ )
- INSTALL( FILES ${ITK_DIR}/bin/Release/ITKCommon.dll DESTINATION bin/ )
+IF(UNIX)
+ ADD_SUBDIRECTORY(linux)
+ ADD_SUBDIRECTORY(gnome)
+ENDIF(UNIX)
- INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_xrc_vc_custom.dll DESTINATION bin/ )
- INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_richtext_vc_custom.dll DESTINATION bin/ )
- INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_qa_vc_custom.dll DESTINATION bin/ )
- INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_media_vc_custom.dll DESTINATION bin/ )
- INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_html_vc_custom.dll DESTINATION bin/ )
- INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_gl_vc_custom.dll DESTINATION bin/ )
- INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_core_vc_custom.dll DESTINATION bin/ )
- INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_aui_vc_custom.dll DESTINATION bin/ )
- INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28d_adv_vc_custom.dll DESTINATION bin/ )
- INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxbase28d_xml_vc_custom.dll DESTINATION bin/ )
- INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxbase28d_vc_custom.dll DESTINATION bin/ )
- INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxbase28d_odbc_vc_custom.dll DESTINATION bin/ )
- INSTALL( FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxbase28d_net_vc_custom.dll DESTINATION bin/ )
+ADD_SUBDIRECTORY(cpack)
+# Install documentation directoris
+#-------------------------------------------------------------------
+#INSTALL(
+# DIRECTORY ${BBTK_BINARY_DIR}/${BBTK_DOC_REL_PATH}
+# DESTINATION ${BBTK_SHARE_REL_PATH}
+# FILES_MATCHING PATTERN "*.html"
+#)
- # ????????? Why this line doesn't works ...?????
- IF(${VTK_DIR})
- FILE(GLOB_RECURSE LST_FILE_VTKDLL RELATIVE ${VTK_DIR} *.dll )
- ENDIF(${VTK_DIR})
+#INSTALL(
+# DIRECTORY ${BBTK_BINARY_DIR}/${BBTK_DOC_REL_PATH}
+# DESTINATION ${BBTK_SHARE_REL_PATH}
+# FILES_MATCHING PATTERN "*.jpg"
+#)
- FOREACH( iLST ${LST_FILE_VTKDLL} )
- message("eed3 " ${iLST} )
- INSTALL(
- FILES ${iLST}
- DESTINATION bin/
- )
- ENDFOREACH(iLST)
+#INSTALL(
+# DIRECTORY ${BBTK_BINARY_DIR}/${BBTK_DOC_REL_PATH}
+# DESTINATION ${BBTK_SHARE_REL_PATH}
+# FILES_MATCHING PATTERN "*.pdf"
+#)
+#-------------------------------------------------------------------
-ENDIF(WIN32)
-INSTALL(
- DIRECTORY ${BBTK_BINARY_DIR}/${BBTK_DOC_REL_PATH}
- DESTINATION ${BBTK_SHARE_REL_PATH}
-)
INSTALL(
- DIRECTORY ${BBTK_BINARY_DIR}/${BBTK_BBS_REL_PATH}
+ DIRECTORY ${bbtk_BINARY_DIR}/${BBTK_BBS_REL_PATH}
DESTINATION ${BBTK_SHARE_REL_PATH}
)
INSTALL(
- DIRECTORY ${BBTK_BINARY_DIR}/${BBTK_DATA_REL_PATH}
+ DIRECTORY ${bbtk_BINARY_DIR}/${BBTK_DATA_REL_PATH}
DESTINATION ${BBTK_SHARE_REL_PATH}
)