]> Creatis software - creaToolsTools.git/blobdiff - windows/crea_ThirdParty_dlls/install/CMakeLists.txt
Feature #1773 Add licence terms for all files.
[creaToolsTools.git] / windows / crea_ThirdParty_dlls / install / CMakeLists.txt
index 60ed93bbf281d72c3397104d0135be484da6a735..57284392882d298b73138cdadeb2a8d27eb29c32 100644 (file)
@@ -1,3 +1,26 @@
+# ---------------------------------------------------------------------
+#
+# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image 
+#                        pour la Santé)
+# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
+#
+#  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.
+# ------------------------------------------------------------------------  
+
 
 #-----------------------------------------------------------------------------
 # CPACK+NSIS PACKAGING
@@ -58,11 +81,11 @@ IF (WIN32)
   INSTALL(   FILES ${WINDIR}/system32/msvcr71d.dll                             DESTINATION bin/ )
 
   IF(USE_VTK)
-    SET(VTK_BIN_DIR ${VTK_DIR}/bin/Debug )
+    SET(VTK_BIN_DIR ${VTK_DIR}/bin/relwithdebinfo )
 
     FILE(GLOB LST_FILE_VTKDLL "${VTK_BIN_DIR}/*.dll")
     FOREACH( iLST  ${LST_FILE_VTKDLL} )
-       INSTALL( 
+       INSTALL(
          FILES ${iLST}
          DESTINATION bin/
        )
@@ -70,10 +93,25 @@ IF (WIN32)
   ENDIF(USE_VTK)
     
   IF(USE_ITK)
-    INSTALL(   FILES ${ITK_DIR}/bin/Debug/ITKCommon.dll        DESTINATION bin/ )
+    INSTALL(   FILES ${ITK_DIR}/bin/relwithdebinfo/ITKCommon.dll       DESTINATION bin/ )
   ENDIF(USE_ITK)
 
   IF(USE_WXWIDGETS)
+  # Release dlls
+    INSTALL(   FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28_xrc_vc_custom.dll                        DESTINATION bin/ )
+    INSTALL(   FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28_richtext_vc_custom.dll           DESTINATION bin/ )
+    INSTALL(   FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28_qa_vc_custom.dll                         DESTINATION bin/ )
+    INSTALL(   FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28_media_vc_custom.dll              DESTINATION bin/ )
+    INSTALL(   FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28_html_vc_custom.dll               DESTINATION bin/ )
+    INSTALL(   FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28_gl_vc_custom.dll                         DESTINATION bin/ )
+    INSTALL(   FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28_core_vc_custom.dll               DESTINATION bin/ )
+    INSTALL(   FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28_aui_vc_custom.dll                        DESTINATION bin/ )
+    INSTALL(   FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxmsw28_adv_vc_custom.dll                        DESTINATION bin/ )
+    INSTALL(   FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxbase28_xml_vc_custom.dll               DESTINATION bin/ )
+    INSTALL(   FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxbase28_vc_custom.dll                           DESTINATION bin/ )
+    INSTALL(   FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxbase28_odbc_vc_custom.dll              DESTINATION bin/ )
+    INSTALL(   FILES ${WXWIDGETS_ROOT_DIR}/lib/vc_dll/wxbase28_net_vc_custom.dll                       DESTINATION bin/ )
+  # Debug dlls
     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/ )
@@ -91,17 +129,17 @@ IF (WIN32)
 
 
   IF(USE_GDCM)
-    INSTALL(   FILES ${GDCM_DIR}/bin/Debug/gdcm.dll                                    DESTINATION bin/ )
-    INSTALL(   FILES ${GDCM_DIR}/bin/Debug/gdcmjpeg8.dll                       DESTINATION bin/ )
-    INSTALL(   FILES ${GDCM_DIR}/bin/Debug/gdcmjpeg12.dll                      DESTINATION bin/ )
-    INSTALL(   FILES ${GDCM_DIR}/bin/Debug/gdcmjpeg16.dll                      DESTINATION bin/ )
-    INSTALL(   FILES ${GDCM_DIR}/bin/Debug/gdcmopenjpeg.dll                    DESTINATION bin/ )
-    INSTALL(   FILES ${GDCM_DIR}/bin/Debug/vtkgdcm.dll                                 DESTINATION bin/ )
+    INSTALL(   FILES ${GDCM_DIR}/bin/relwithdebinfo/gdcm.dll                                   DESTINATION bin/ )
+    INSTALL(   FILES ${GDCM_DIR}/bin/relwithdebinfo/gdcmjpeg8.dll                      DESTINATION bin/ )
+    INSTALL(   FILES ${GDCM_DIR}/bin/relwithdebinfo/gdcmjpeg12.dll                     DESTINATION bin/ )
+    INSTALL(   FILES ${GDCM_DIR}/bin/relwithdebinfo/gdcmjpeg16.dll                     DESTINATION bin/ )
+    INSTALL(   FILES ${GDCM_DIR}/bin/relwithdebinfo/gdcmopenjpeg.dll                   DESTINATION bin/ )
+    INSTALL(   FILES ${GDCM_DIR}/bin/relwithdebinfo/vtkgdcm.dll                                DESTINATION bin/ )
   ENDIF(USE_GDCM)
 
   
   IF(USE_KWWIDGETS)
-    INSTALL(   FILES ${KWWidgets_DIR}/bin/Debug/KWWidgets.dll          DESTINATION bin/ )
+    INSTALL(   FILES ${KWWidgets_DIR}/bin/relwithdebinfo/KWWidgets.dll         DESTINATION bin/ )
   ENDIF(USE_KWWIDGETS)