mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
Meta: Add provision for user-specified port variables to vcpkg
If a CMake file set()'s some variables that VCPKG understands here, it will be used in the build of all ports
This commit is contained in:
parent
ccb3a2f7ad
commit
34892cf3c4
Notes:
sideshowbarker
2024-07-16 20:31:50 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/LadybirdBrowser/ladybird/commit/34892cf3c4 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/456
4 changed files with 8 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -41,6 +41,8 @@ Tests/LibWeb/WPT/wpt
|
||||||
Tests/LibWeb/WPT/metadata
|
Tests/LibWeb/WPT/metadata
|
||||||
Tests/LibWeb/WPT/MANIFEST.json
|
Tests/LibWeb/WPT/MANIFEST.json
|
||||||
|
|
||||||
|
Meta/CMake/vcpkg/user-variables.cmake
|
||||||
|
|
||||||
# Ensure that all files in /Base can be tracked, even if they match one of the above rules
|
# Ensure that all files in /Base can be tracked, even if they match one of the above rules
|
||||||
!/Base/**
|
!/Base/**
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,5 @@ set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
|
||||||
set(VCPKG_TARGET_ARCHITECTURE arm64)
|
set(VCPKG_TARGET_ARCHITECTURE arm64)
|
||||||
set(VCPKG_OSX_ARCHITECTURES arm64)
|
set(VCPKG_OSX_ARCHITECTURES arm64)
|
||||||
set(VCPKG_CRT_LINKAGE dynamic)
|
set(VCPKG_CRT_LINKAGE dynamic)
|
||||||
|
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../user-variables.cmake OPTIONAL)
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
set(VCPKG_CMAKE_SYSTEM_NAME Linux)
|
set(VCPKG_CMAKE_SYSTEM_NAME Linux)
|
||||||
set(VCPKG_TARGET_ARCHITECTURE x64)
|
set(VCPKG_TARGET_ARCHITECTURE x64)
|
||||||
set(VCPKG_CRT_LINKAGE dynamic)
|
set(VCPKG_CRT_LINKAGE dynamic)
|
||||||
|
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../user-variables.cmake OPTIONAL)
|
||||||
|
|
|
@ -2,3 +2,5 @@ set(VCPKG_CMAKE_SYSTEM_NAME Darwin)
|
||||||
set(VCPKG_TARGET_ARCHITECTURE x64)
|
set(VCPKG_TARGET_ARCHITECTURE x64)
|
||||||
set(VCPKG_OSX_ARCHITECTURES x86_64)
|
set(VCPKG_OSX_ARCHITECTURES x86_64)
|
||||||
set(VCPKG_CRT_LINKAGE dynamic)
|
set(VCPKG_CRT_LINKAGE dynamic)
|
||||||
|
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/../user-variables.cmake OPTIONAL)
|
||||||
|
|
Loading…
Reference in a new issue