Commit Graph

18 Commits

Author SHA1 Message Date
Cristian Adam
38b959022c Add support for building with MinGW (#9137)
* Add support for building with MinGW

Tested with MSYS2 MinGW 8.3.0, gcc-mcf.lhmouse MinGW 9.2.1,
and StephanTLavavej/mingw-distro!

* Add MinGW toolchain

From your MinGW configured shell you could just use vcpkg to
configure packages.

An x64-mingw triplet would look like:
```
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE static)
set(VCPKG_ENV_PASSTHROUGH PATH)

set(VCPKG_CMAKE_SYSTEM_NAME MinGW)
```

* Add MinGW community tripplets

x64 tested with https://github.com/StephanTLavavej/mingw-distro
x86, arm64, arm tested with https://github.com/mstorsjo/llvm-mingw
2020-01-17 15:36:08 -08:00
JackBoosY
bc80d3c00e use macros VCPKG_TARGET_IS_ instead of VCPKG_CMAKE_SYSTEM_NAME 2019-10-07 20:11:35 -07:00
JackBoosY
c784f08ee0 update templates. 2019-10-07 20:07:43 -07:00
Vinny
e86ff2cc54 Update vcpkg create template (#8427)
* Began updating

* Added 'Homepage:' to CONTROL, added vcpkg_check_features to vcpkg_create template

* Update portfile.in.cmake

Added documentation link for vcpkg_check_features
2019-10-07 10:31:38 -07:00
Victor Romero
7a18088cf2
[vcpkg create, docs] Update create command's template and documentation on patching (#5370) 2019-02-15 14:32:07 -08:00
Hiroshi Miura
ab54bfa0cc [vcpkg] post-build cmake test (#3431)
* [vcpkg]  post-build cmake test

- test for applications with cmake build system
- Add a test feature to vcpkg core, make progress for #72
- Tests for zlib, bzip2, libiconv and openssl for example
- Test for curl will be failed, because of a bug #3053
  It can detect a this type of problems

* [vcpkg_test_cmake] Add MODULE parameter to explicitly specify which type of integration to test.

* [bzip2] Fix casing of cmake module name
2018-08-30 17:07:14 -07:00
atkawa7
78266bd041 [vcpkg] shorten license instruction in portfile.in.cmake 2017-07-27 20:21:15 -07:00
Tsukasa Sugiura
e24f83aed1 Fix typo of template
Fix typo of portfile template.
2017-06-15 08:30:22 +09:00
Mikhail Paulyshka
27f0759cab template: add some more variables 2017-03-13 03:39:46 +03:00
codicodi
95af9aac7c Add Ninja support 2017-02-03 17:16:13 +01:00
Alexander Karatarakis
e642767c84 Remove triplet inclusion from the template portfile 2016-11-08 14:45:30 -08:00
Robert Schumacher
b1fe038a83 Remove use of vcpkg_build_cmake() across all portfiles. Fixes #123 2016-10-06 15:29:37 -07:00
Alexander Karatarakis
0aa4dfb718 Update portfile template to include SOURCE_PATH 2016-10-05 16:59:59 -07:00
Robert Schumacher
241ca8cd17 [vcpkg] Improve create command to generate initial CONTROL file 2016-09-30 17:09:17 -07:00
Alexander Karatarakis
e4ada711c2 Add Common Ambient Variables to porfile template 2016-09-28 16:21:47 -07:00
Ninetainedo
2491a16b0d Updated portfile.in.cmake to use URLS 2016-09-25 14:46:43 +02:00
Ninetainedo
8cee9c6e07 Replaced everything concerning MD5 with SHA512 2016-09-22 21:30:58 +02:00
Alexander Karatarakis
ccca198c1b Initial commit 2016-09-18 20:54:03 -07:00