2017-03-02 17:44:43 -05:00
include ( vcpkg_common_functions )
2017-10-11 15:48:41 -04:00
2019-09-27 05:31:55 +08:00
vcpkg_buildpath_length_warning ( 37 )
2019-05-09 20:52:25 +02:00
2017-10-11 15:48:41 -04:00
vcpkg_from_github (
O U T _ S O U R C E _ P A T H S O U R C E _ P A T H
R E P O I n s i g h t S o f t w a r e C o n s o r t i u m / I T K
2019-08-07 16:34:07 -04:00
R E F v 5 . 0 . 1
S H A 5 1 2 2 4 2 c e 6 6 c f 8 3 f 8 2 d 2 6 f 2 0 d 2 0 9 9 1 0 8 2 9 5 e 2 8 c 8 8 7 5 e 7 6 7 9 1 2 6 b a 0 2 3 8 3 4 b f 0 e 9 4 4 5 4 4 6 0 b a 8 6 4 5 2 a 9 4 c 8 d d a e a 9 3 d 2 3 1 4 b e f c 3 9 9 f 2 b 1 5 1 d 7 2 9 4 3 7 0 d 4 b 4 7 f 0 e 9 7 9 8 e 7 7 f
2017-10-11 15:48:41 -04:00
H E A D _ R E F m a s t e r
[many ports] improvements for linux/wsl (#6730)
* [many ports] improve compatibility with WSL and mixed case filesystems
* [treehopper] express dependency on libusb, which was not working on non-win32 platforms and is still broken there
* [libharu] add compatibility with non-win32 platforms
* [geogram] fix openblas on linux
[clapack] better integration with linux environment
[visit-struct] put cmake config file in the expected folder
[geogram] remove trailing underscore to enable compatibility with OpenBLAS
* [openblas] playing with underscore, without success
* [openblas/lapack] fix library integration
* [clapack] improve target handling in cmake module
* [openblas] promote self-generated config to default cmake module, otherwise internal ones thinks wrongly that openblas can also solve lapack libs
* [clapack,openblas] improve libraries integration
* [many ports] fix cmake unnecessary target paths, wrong config paths, empty default dependencies, unnecessary [core] tags
* [suitesparse] improve integration with new lapack/openblas mechanism
* [suitesparse] add no underscore postfix also for linux
* [ceres] fix integration with newer openblas/lapack configs
* [aws-c-event-stream] fix regression
* [systemc] fix regression
* [libwebp,geogram] trigger rebuild
* [libwebp,pthread4w] fix regressions
* [glbinding] fix cmake module installation
* [globjects] disentangle unnecessary dependency from qt5
* [jasper] remove broken and unnecessary patches
* [libwebp] fix regression
* [many ports] avoid using BUILD_SHARED_LIBS which is uninitialized in port files
* [clapack] correctly find dlls
* [clapack] use a generic blas as dependency
* [fizz,g2o] restore expected version
* fix mistake
* [many ports] remove WIN32, APPLE and UNIX (again, they keep creeping in) from ports since they are broken and usually break non-win32 ports
* [libressl,openssl] do not try to build one if the other is already installed
* [itk] update ref and patch to avoid regression
* [libressl,openssl] implement full strategy to fix CI
* [libwebp] disable components that are broken on macOS
* [ogre] enable macOS build
* [freeimage,jxrlib,ogre,openexr,protobuf] port patches from #5169
* [ogre] add missing install command
* [ffmpeg] enable wrapper for cmake module
* [ffmpeg] add avresample module finder
* [ffmpeg] improve module detection and exported symbols
* [ffmpeg] add variables to cache
* [thrift] remove unnecessary build option
* [allegro5] fix shared/static inversion
* [protobuf] cleanup
* [libressl] cleanup
* [moos-core] cleanup
* commented features must not be separated from other features, otherwise vcpkg complains
* [itk] fix regression
* [shogun,itk] fix regressions
* [ogre] fix regression
* [opusfile] add compatibility with non-win32
* [itk] fix regression
* [sndfile,libsndfile] remove duplicate, redirect sndfile to libsndfile
* add missing dependencies
* [ismrmrd] fix regression
* [ffmpeg] trigger rebuild
* [clapack,openblas,libogg] fix regressions on macOS
* [libtins] fix regression
* force rebuild windows regressions, unable to reproduce locally
* [mosquitto] enable non-win32 builds
* [json-dto] force rebuild, unable to reproduce regression locally
* [many ports] uniform naming and path length requests
* fix regression
* fix regression
* [ffmpeg] fixes for downstream projects
* clean up - thanks to reviewers
* trigger rebuild of regressions on macOS
* trigger rebuild of regressions on macOS - part2
* Add core back
* Use VCPKG_CONCURRENCY
* Add core back to suitesparse
* Add core back to curl
* Add core back to magnum
* Add core back to magnum
* Add core back to magnum
* Add core back to cgal
2019-06-21 04:11:54 +02:00
P A T C H E S
f i x _ o p e n j p e g _ s e a r c h . p a t c h
f i x _ l i b m i n c _ c o n f i g _ p a t h . p a t c h
2017-03-02 17:44:43 -05:00
)
2018-04-30 14:25:11 -04:00
if ( "vtk" IN_LIST FEATURES )
2019-04-02 23:35:44 -04:00
set ( ITKVtkGlue ON )
2018-04-30 14:25:11 -04:00
else ( )
2019-04-02 23:35:44 -04:00
set ( ITKVtkGlue OFF )
2018-04-30 14:25:11 -04:00
endif ( )
2017-03-02 17:44:43 -05:00
vcpkg_configure_cmake (
S O U R C E _ P A T H $ { S O U R C E _ P A T H }
P R E F E R _ N I N J A
2018-07-13 09:40:16 -04:00
D I S A B L E _ P A R A L L E L _ C O N F I G U R E
2017-03-02 17:44:43 -05:00
O P T I O N S
- D B U I L D _ T E S T I N G = O F F
- D B U I L D _ E X A M P L E S = O F F
- D D O _ N O T _ I N S T A L L _ I T K _ T E S T _ D R I V E R = O N
- D I T K _ I N S T A L L _ D A T A _ D I R = s h a r e / i t k / d a t a
- D I T K _ I N S T A L L _ D O C _ D I R = s h a r e / i t k / d o c
- D I T K _ I N S T A L L _ P A C K A G E _ D I R = s h a r e / i t k
- D I T K _ U S E _ 6 4 B I T S _ I D S = O N
- D I T K _ U S E _ C O N C E P T _ C H E C K I N G = O N
2017-12-11 17:36:49 -05:00
#-DITK_USE_SYSTEM_LIBRARIES=ON # enables USE_SYSTEM for all third party libraries, some of which do not have vcpkg ports such as CastXML, SWIG, MINC etc
- D I T K _ U S E _ S Y S T E M _ D O U B L E C O N V E R S I O N = O N
2017-03-02 17:44:43 -05:00
- D I T K _ U S E _ S Y S T E M _ E X P A T = O N
- D I T K _ U S E _ S Y S T E M _ J P E G = O N
- D I T K _ U S E _ S Y S T E M _ P N G = O N
- D I T K _ U S E _ S Y S T E M _ T I F F = O N
- D I T K _ U S E _ S Y S T E M _ Z L I B = O N
2019-04-02 23:35:44 -04:00
- D I T K _ U S E _ S Y S T E M _ E I G E N = O N
2019-03-08 05:00:35 +09:00
# This should be turned on some day, however for now ITK does download specific versions so it shouldn't spontaneously break
2017-03-02 17:44:43 -05:00
- D I T K _ F O R B I D _ D O W N L O A D S = O F F
2017-12-11 17:36:49 -05:00
2019-03-08 05:00:35 +09:00
- D I T K _ S K I P _ P A T H _ L E N G T H _ C H E C K S = O N
2019-05-02 22:57:43 -07:00
# I haven't tried Python wrapping in vcpkg
2017-12-11 17:36:49 -05:00
#-DITK_WRAP_PYTHON=ON
#-DITK_PYTHON_VERSION=3
2019-04-02 23:35:44 -04:00
- D I T K _ U S E _ S Y S T E M _ H D F 5 = O N # HDF5 was problematic in the past
- D M o d u l e _ I T K V t k G l u e = $ { I T K V t k G l u e } # optional feature
2017-12-11 17:36:49 -05:00
2017-03-02 17:44:43 -05:00
- D M o d u l e _ I O S T L = O N # example how to turn on a non-default module
- D M o d u l e _ M o r p h o l o g i c a l C o n t o u r I n t e r p o l a t i o n = O N # example how to turn on a remote module
- D M o d u l e _ R L E I m a g e = O N # example how to turn on a remote module
2019-05-07 07:37:56 +08:00
- D G D C M _ U S E _ S Y S T E M _ O P E N J P E G = O N #Use port openjpeg instead of own third-party
2017-03-02 17:44:43 -05:00
$ { A D D I T I O N A L _ O P T I O N S }
)
vcpkg_install_cmake ( )
vcpkg_copy_pdbs ( )
[many ports] improvements for linux/wsl (#6730)
* [many ports] improve compatibility with WSL and mixed case filesystems
* [treehopper] express dependency on libusb, which was not working on non-win32 platforms and is still broken there
* [libharu] add compatibility with non-win32 platforms
* [geogram] fix openblas on linux
[clapack] better integration with linux environment
[visit-struct] put cmake config file in the expected folder
[geogram] remove trailing underscore to enable compatibility with OpenBLAS
* [openblas] playing with underscore, without success
* [openblas/lapack] fix library integration
* [clapack] improve target handling in cmake module
* [openblas] promote self-generated config to default cmake module, otherwise internal ones thinks wrongly that openblas can also solve lapack libs
* [clapack,openblas] improve libraries integration
* [many ports] fix cmake unnecessary target paths, wrong config paths, empty default dependencies, unnecessary [core] tags
* [suitesparse] improve integration with new lapack/openblas mechanism
* [suitesparse] add no underscore postfix also for linux
* [ceres] fix integration with newer openblas/lapack configs
* [aws-c-event-stream] fix regression
* [systemc] fix regression
* [libwebp,geogram] trigger rebuild
* [libwebp,pthread4w] fix regressions
* [glbinding] fix cmake module installation
* [globjects] disentangle unnecessary dependency from qt5
* [jasper] remove broken and unnecessary patches
* [libwebp] fix regression
* [many ports] avoid using BUILD_SHARED_LIBS which is uninitialized in port files
* [clapack] correctly find dlls
* [clapack] use a generic blas as dependency
* [fizz,g2o] restore expected version
* fix mistake
* [many ports] remove WIN32, APPLE and UNIX (again, they keep creeping in) from ports since they are broken and usually break non-win32 ports
* [libressl,openssl] do not try to build one if the other is already installed
* [itk] update ref and patch to avoid regression
* [libressl,openssl] implement full strategy to fix CI
* [libwebp] disable components that are broken on macOS
* [ogre] enable macOS build
* [freeimage,jxrlib,ogre,openexr,protobuf] port patches from #5169
* [ogre] add missing install command
* [ffmpeg] enable wrapper for cmake module
* [ffmpeg] add avresample module finder
* [ffmpeg] improve module detection and exported symbols
* [ffmpeg] add variables to cache
* [thrift] remove unnecessary build option
* [allegro5] fix shared/static inversion
* [protobuf] cleanup
* [libressl] cleanup
* [moos-core] cleanup
* commented features must not be separated from other features, otherwise vcpkg complains
* [itk] fix regression
* [shogun,itk] fix regressions
* [ogre] fix regression
* [opusfile] add compatibility with non-win32
* [itk] fix regression
* [sndfile,libsndfile] remove duplicate, redirect sndfile to libsndfile
* add missing dependencies
* [ismrmrd] fix regression
* [ffmpeg] trigger rebuild
* [clapack,openblas,libogg] fix regressions on macOS
* [libtins] fix regression
* force rebuild windows regressions, unable to reproduce locally
* [mosquitto] enable non-win32 builds
* [json-dto] force rebuild, unable to reproduce regression locally
* [many ports] uniform naming and path length requests
* fix regression
* fix regression
* [ffmpeg] fixes for downstream projects
* clean up - thanks to reviewers
* trigger rebuild of regressions on macOS
* trigger rebuild of regressions on macOS - part2
* Add core back
* Use VCPKG_CONCURRENCY
* Add core back to suitesparse
* Add core back to curl
* Add core back to magnum
* Add core back to magnum
* Add core back to magnum
* Add core back to cgal
2019-06-21 04:11:54 +02:00
vcpkg_fixup_cmake_targets ( )
2017-03-02 17:44:43 -05:00
2019-04-02 23:35:44 -04:00
2017-03-02 17:44:43 -05:00
file ( REMOVE_RECURSE ${ CURRENT_PACKAGES_DIR } /debug/share )
file ( REMOVE_RECURSE ${ CURRENT_PACKAGES_DIR } /debug/include )
[many ports] improvements for linux/wsl (#6730)
* [many ports] improve compatibility with WSL and mixed case filesystems
* [treehopper] express dependency on libusb, which was not working on non-win32 platforms and is still broken there
* [libharu] add compatibility with non-win32 platforms
* [geogram] fix openblas on linux
[clapack] better integration with linux environment
[visit-struct] put cmake config file in the expected folder
[geogram] remove trailing underscore to enable compatibility with OpenBLAS
* [openblas] playing with underscore, without success
* [openblas/lapack] fix library integration
* [clapack] improve target handling in cmake module
* [openblas] promote self-generated config to default cmake module, otherwise internal ones thinks wrongly that openblas can also solve lapack libs
* [clapack,openblas] improve libraries integration
* [many ports] fix cmake unnecessary target paths, wrong config paths, empty default dependencies, unnecessary [core] tags
* [suitesparse] improve integration with new lapack/openblas mechanism
* [suitesparse] add no underscore postfix also for linux
* [ceres] fix integration with newer openblas/lapack configs
* [aws-c-event-stream] fix regression
* [systemc] fix regression
* [libwebp,geogram] trigger rebuild
* [libwebp,pthread4w] fix regressions
* [glbinding] fix cmake module installation
* [globjects] disentangle unnecessary dependency from qt5
* [jasper] remove broken and unnecessary patches
* [libwebp] fix regression
* [many ports] avoid using BUILD_SHARED_LIBS which is uninitialized in port files
* [clapack] correctly find dlls
* [clapack] use a generic blas as dependency
* [fizz,g2o] restore expected version
* fix mistake
* [many ports] remove WIN32, APPLE and UNIX (again, they keep creeping in) from ports since they are broken and usually break non-win32 ports
* [libressl,openssl] do not try to build one if the other is already installed
* [itk] update ref and patch to avoid regression
* [libressl,openssl] implement full strategy to fix CI
* [libwebp] disable components that are broken on macOS
* [ogre] enable macOS build
* [freeimage,jxrlib,ogre,openexr,protobuf] port patches from #5169
* [ogre] add missing install command
* [ffmpeg] enable wrapper for cmake module
* [ffmpeg] add avresample module finder
* [ffmpeg] improve module detection and exported symbols
* [ffmpeg] add variables to cache
* [thrift] remove unnecessary build option
* [allegro5] fix shared/static inversion
* [protobuf] cleanup
* [libressl] cleanup
* [moos-core] cleanup
* commented features must not be separated from other features, otherwise vcpkg complains
* [itk] fix regression
* [shogun,itk] fix regressions
* [ogre] fix regression
* [opusfile] add compatibility with non-win32
* [itk] fix regression
* [sndfile,libsndfile] remove duplicate, redirect sndfile to libsndfile
* add missing dependencies
* [ismrmrd] fix regression
* [ffmpeg] trigger rebuild
* [clapack,openblas,libogg] fix regressions on macOS
* [libtins] fix regression
* force rebuild windows regressions, unable to reproduce locally
* [mosquitto] enable non-win32 builds
* [json-dto] force rebuild, unable to reproduce regression locally
* [many ports] uniform naming and path length requests
* fix regression
* fix regression
* [ffmpeg] fixes for downstream projects
* clean up - thanks to reviewers
* trigger rebuild of regressions on macOS
* trigger rebuild of regressions on macOS - part2
* Add core back
* Use VCPKG_CONCURRENCY
* Add core back to suitesparse
* Add core back to curl
* Add core back to magnum
* Add core back to magnum
* Add core back to magnum
* Add core back to cgal
2019-06-21 04:11:54 +02:00
file ( INSTALL ${ SOURCE_PATH } /LICENSE DESTINATION ${ CURRENT_PACKAGES_DIR } /share/ ${ PORT } RENAME copyright )