X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=windows%2Fcrea_ThirdParty_dlls%2Finstall%2FCMakeLists.txt;h=95afb6d1f4d24b51548cb77413638a5972349f83;hb=af5c3e4b663ae6b439603680bcccd42182fc2adf;hp=60ed93bbf281d72c3397104d0135be484da6a735;hpb=c3e64de33749716f7247fffe351fcab8821d3f9c;p=creaToolsTools.git diff --git a/windows/crea_ThirdParty_dlls/install/CMakeLists.txt b/windows/crea_ThirdParty_dlls/install/CMakeLists.txt index 60ed93b..95afb6d 100644 --- a/windows/crea_ThirdParty_dlls/install/CMakeLists.txt +++ b/windows/crea_ThirdParty_dlls/install/CMakeLists.txt @@ -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 @@ -11,8 +34,8 @@ INCLUDE(InstallRequiredSystemLibraries) -SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "crea_ThirdParty_dlls - CREATIS-LRMN") -SET(CPACK_PACKAGE_VENDOR "CREATIS-LRMN") +SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "crea_ThirdParty_dlls - CREATIS") +SET(CPACK_PACKAGE_VENDOR "CREATIS") SET(CPACK_PACKAGE_DESCRIPTION_FILE "${PROJECT_SOURCE_DIR}/README.txt") SET(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE.txt") SET(CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_MAJOR_VERSION}) @@ -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)