Commit Graph

17 Commits

Author SHA1 Message Date
Stefano Sinigardi 00d578e327
update GitHub actions (#7095)
* update to run-vcpkg@v6

* bump to cmake 3.18

* use newer cuda syntax, fail if cuda enabled but not found

* update win build script

* improve travis with non-cuda-enabled builds

* improve windows building process
2021-01-21 17:36:00 +01:00
Stefano Sinigardi 35346d2ef8
[cudnn] remove hardcoded version in cmake module (#3738)
collateral fixes: 
* handle opencv4 upgrade on vcpkg
* add yasm (ffmpeg prerequisite) on travis
* install ffmpeg separately from opencv to circumvent time limits
* build only release to halve ci time
* do not build as shared libs when using vcpkg, since default triplets are static
* remove debug configs from appveyor matrix
2019-08-24 13:46:45 +02:00
Stefano Sinigardi ae0306e851 option to build project using cpp compiler if c not working/available 2019-07-25 09:47:27 +02:00
Stefano Sinigardi 920b29f15f fixes for ci and included files 2019-05-14 09:23:02 +02:00
Stefano Sinigardi df0d33de29 [build.sh] fix problems with empty env variables 2019-04-18 09:40:57 +02:00
Stefano Sinigardi ff7d920a5d [build.sh] use correct osx triplet name 2019-04-17 14:19:58 +02:00
Stefano Sinigardi 5b8929becf fixes for downstream projects using darklib, disable debug build 2019-04-10 18:36:03 +02:00
Stefano Sinigardi e782d96180 [VS] add support for BuildTools (only compilers, partial installation of Visual Studio) 2019-04-10 10:51:54 +02:00
Stefano Sinigardi f6d45f1408 [travis] improve CI configurations, add no-opencv-ones, add opencv4 on
macOS
[build.sh] improve handling of vcpkg
[readme] update instructions for newer visual studio versions
[build.ps1] add VS2015 and VS2019 using vswhere
2019-04-09 09:06:58 +02:00
Stefano Sinigardi 05f027cc72 shared libs are really always default now, static are opt-in only 2019-03-29 09:15:55 +01:00
Stefano Sinigardi da74882fe1 cleanup in preparation to opencv-4 work 2019-03-28 17:54:27 +01:00
Stefano Sinigardi 5be12ce058 move Stb lib to 3rdparty folder 2019-03-13 23:21:37 +01:00
Stefano Sinigardi 2c8ff8db0d create cmake targets for proper lib export 2019-03-05 18:34:53 +01:00
Stefano Sinigardi 8fd3e7ad25 switch debug/release build order, better futureproof for next cmakeTargets work 2019-03-03 23:35:38 +01:00
Stefano Sinigardi 80c9fa76a4 refresh build scripts 2019-03-03 16:55:15 +01:00
Stefano Sinigardi f950085a45 automatically detect CUDA and use it, without any possible manual intervention 2019-02-20 11:42:53 +01:00
Stefano Sinigardi 9c64f885a8 improve CMake default behaviour to use integrated libs 2019-02-19 23:11:40 +01:00