Commit Graph

17 Commits

Author SHA1 Message Date
Kai Pastor
51e10eb7fe
[tiff,zstd,gdal,libkml] Fix find_package interactions, enable gdal libkml driver (#28929)
* [gdal] Fix find_package2

* [cmake-user] Test gdal

* [cmake-user] gdal needs CMake 3.9

* Fix tiff & zstd

* Update versions

* [libkml] Export modern INTERFACE_LINK_LIBRARIES

* [gdal] Enable libkml driver

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
2023-01-16 12:45:42 -08:00
Kai Pastor
a72a3d5459
[physfs] Cleanup, fix linkage and usage issues (#28787)
* [physfs] cleanup

* Fix symbol names

* Add usage doc

* [cmake-user] Test PhysFS

* Add wrapper

* Restore msbuild for uwp
2023-01-09 01:19:59 -08:00
Kai Pastor
85d7c82eef
[lapack-reference] Update, fixes (#28679)
* [cmake-user] Test FindLAPACK.cmake

* Minor cleanup

* Avoid release-only lib variable

* Fix usage of external blas

* Update to 3.11

* Add usage doc

* Update versions
2023-01-04 12:37:43 -08:00
Kai Pastor
b93bc1b81e
[tiff] Fix zstd plus minor changes (#28530)
* Use official zstd config

* Require packages for features

* Test zstd in CI

* Enable libtiffxx on arm

* Update versions

* Assume ZSTD_decompressStream

* Don't put targets into TIFF_LIBRARIES

* [qt5-imageformats] Use libtiff-4.pc

* [zstd] Revise thread lib export

* Mark link libs with LINK_ONLY

* Revert "[zstd] Revise thread lib export"

This reverts commit a99e6378a6.

* [qt5-imageformats] Get all tiff lflags

* [gdk-pixbuf] Use libtiff-4 pc file for msvc

* [qtimageformat] Workaround for QTBUG-95052
2022-12-31 01:30:53 -08:00
Kai Pastor
f3a1217662
[freeglut] Update to 3.4.0, cleanup (#28575)
* Add x11 dependency

* Update to 3.4.0, cleanup

* Document exported config

* Update versions

* Test (Free)GLUT cmake usage

* FindGLUT debug postfix support needs CMake 3.13

* Revise installed file names

* Fix typo
2022-12-29 10:34:27 -08:00
Kai Pastor
6fe2b934fd
[cmake-user] Don't use internal toolchains (#27782)
* Don't use internal vcpkg toolchains

* Modernize

* Test SQLite3
2022-11-14 15:18:05 -08:00
Kai Pastor
2909a549a9
[wxwidgets] Use vcpkg gtk3 for linux et al., fix mingw cross builds (#27087)
* Minor port corrections

* Use vcpkg gtk3 for linux et al.

* Update versions

* Update cmake-user

* Use vcpkg sdl2 cmake config

* Update versions

* Add direct cairo dependency

* Declare maybe-unused variables

* Fix mingw cross builds

* Update versions
2022-10-08 21:26:00 -07:00
Kai Pastor
e59f7400c3
[wxwidgets] Update to 3.2 (#25943)
* Update wxwidgets to 3.2.0

* Update portfile

* Update wrapper for win32

* [cmake-user] Test wxwidgets on mingw

* Fixup cmake config

* Updated nanosvg patch

* Handle search path for gtk3 link libs

* Update versions

* Remove obsolete option

* Cleanup pkg-config setup

* Update versions

Co-authored-by: Tal Regev <tal.regev@gmail.com>
2022-07-27 11:51:32 -07:00
Kai Pastor
fb3190dcc5
[vcpkg script] Test pkg-config integration (#25531)
* Require cmake-user to pass CI

* Update baseline state documentation

* Test pkg-config integration

* Prefer pkgconf

* Make pkgconf required
2022-07-07 14:27:38 -07:00
Kai Pastor
17f96c51ab
[cmake-user] Extend test port coverage (#25183)
* Deduplicate platform restrictions

Ports might be installed even if excluded via 'platform' restrictions.
However, for this test ports it is fair to require that if a port can
be installed, the platform shall not be exlcuded, and the test shall
pass.

* Implement CMake version condition

* Fix mingw cross builds

* Extend cmake-user testing

* Update for hidden Iconv dependencies

* Format manifest

* Add uwp exclusions
2022-06-20 14:29:12 -07:00
Kai Pastor
2b6b7e80bc
[cmake-user] Fix and extend (#24260)
* Skip wxwidgets test on Linux

On Linux, wxwidgets needs system libs which conflict with vcpkg ports.

* Test curl

* Execute build to detect wrong libs

* Add comment for wxwidgets
2022-04-20 14:44:53 -07:00
Kai Pastor
7cd3196145
[libpng] Fix and cleanup (#24211)
* Fix unused CMake variable warning

* Acquire msys only on Windows

* Revise APNG variable names and usage

* Fix download mode usability with APNG

* Uncompress APNG patch with gzip

gzip is a default package of MSYS2 and (most) other systems.
7z download is implemented for windows only.

* Revise main CMake patches

cmake.patch deals with libpng build configuration.
fix-export-targets deals with cmake config export.

* Revise pkgconfig patching and fixup

* Additional cleanup

* Add usage based on FindPNG.cmake

* Update versions

Co-authored-by: Leonid Pospelov <pospelovlm@yandex.ru>
2022-04-18 14:33:43 -07:00
Kai Pastor
48d15f4db6
[wxwidgets] Validate and fix (#24047)
* Add wxwidgets example and test port

* Fix library processing for export

Split original patch.
Restore missing appending in the end.
Drop libs (generator expression) which don't match build type.

* Make wx-config relocatable

* Rewrite wrapper

* Add missing libjpeg-turbo dependency

* Fixup wxrc

* Update usage

* Validate release/debug consistency

* Fixup wx-config symlink

* Use non-deprecated license expression

* Fix portfile quirks

* Transform installation fixup into patch

* Fix mingw

* Control curl dependency

* Add message for linux system package dependencies

* Update versions

* Resolve linux lib issues

* Update versions

* Minor amendments

* Update versions

* Update requirements warning

* Update versions

* CR request: Move CMakelists.txt to example dir

* CR requests: Revise wrapper

* Update versions
2022-04-18 10:56:00 -07:00
Kai Pastor
cb91b416cb
[cmake-user] Verify library location for debug vs. release, fix ports (#21641)
* Verify library location for debug vs. release

* Use existing variables for wrapper

* Always install freetype wrapper

* Quote @expressions

* Set policies for freetype wrapper (#19459)

* Test JPEG

* Fix jpeg wrapper for CMake < 3.12

* Test TIFF

* Test with current and oldest supported CMake

* Test and fix icu cmake wrapper

* CMake policy fixes [skip actions]

* Update versions

* CI

* CI

* Nicole CRs

* Disable Curses test

* Prefer <Pkg>_VAR over <PKG>_VAR

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-04-01 13:30:43 -07:00
Kai Pastor
190610bb80
[cmake-user] Re-enable tests with minimum cmake version 3.7.2 (#23315)
* Update minimum cmake test to 3.7.2

* Re-enable test with minimum cmake
2022-02-28 10:32:09 -08:00
Kai Pastor
642a21c0f3
[cmake-user] Disable CI test with CMake 3.4 (#23168) 2022-02-18 10:30:38 -08:00
Kai Pastor
d3092a90f3
[vcpkg-ci] Add test port for cmake user projects (#19034)
* Add cmake test port for user projects

* Improve find_package test failure output

* Remove JPEG from find_package tests

* Report find_package tests to stdout

* Test more packages

* Revise package list

* Remove obsolete variable

* Move AZP markup out of loop

* Fix typo

* Isolate find_package tests

* Disable manifest mode

* Improve stdout

* Enable debug output for find_package

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-11-22 14:55:09 -08:00