mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
Meta: Add vcpkg triplets for FreeBSD
This commit is contained in:
parent
632ce9523b
commit
48403eab21
Notes:
github-actions[bot]
2025-07-15 19:47:22 +00:00
Author: https://github.com/cqundefine
Commit: 48403eab21
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5244
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/clausecker
Reviewed-by: https://github.com/trflynn89
6 changed files with 16 additions and 1 deletions
5
Meta/CMake/vcpkg/base-triplets/x64-freebsd.cmake
Normal file
5
Meta/CMake/vcpkg/base-triplets/x64-freebsd.cmake
Normal file
|
@ -0,0 +1,5 @@
|
|||
set(VCPKG_CMAKE_SYSTEM_NAME FreeBSD)
|
||||
set(VCPKG_TARGET_ARCHITECTURE x64)
|
||||
set(VCPKG_CRT_LINKAGE dynamic)
|
||||
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/base.cmake)
|
|
@ -0,0 +1,2 @@
|
|||
include (${CMAKE_CURRENT_LIST_DIR}/../base-triplets/x64-freebsd.cmake)
|
||||
include (${CMAKE_CURRENT_LIST_DIR}/debug.cmake)
|
2
Meta/CMake/vcpkg/distribution-triplets/x64-freebsd.cmake
Normal file
2
Meta/CMake/vcpkg/distribution-triplets/x64-freebsd.cmake
Normal file
|
@ -0,0 +1,2 @@
|
|||
include (${CMAKE_CURRENT_LIST_DIR}/../base-triplets/x64-freebsd.cmake)
|
||||
include (${CMAKE_CURRENT_LIST_DIR}/distribution.cmake)
|
|
@ -61,7 +61,9 @@ if (NOT DEFINED CACHE{VCPKG_TARGET_TRIPLET} AND NOT DEFINED CACHE{VCPKG_HOST_TRI
|
|||
elseif (os_name MATCHES "Darwin|macOS")
|
||||
set(os osx)
|
||||
elseif (os_name MATCHES "Windows")
|
||||
set (os windows)
|
||||
set(os windows)
|
||||
elseif (os_name MATCHES "FreeBSD")
|
||||
set(os freebsd)
|
||||
else()
|
||||
message(FATAL_ERROR "Unable to automatically detect os name for vcpkg, please set VCPKG_TARGET_TRIPLET manually")
|
||||
endif()
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
include (${CMAKE_CURRENT_LIST_DIR}/../base-triplets/x64-freebsd.cmake)
|
||||
include (${CMAKE_CURRENT_LIST_DIR}/release.cmake)
|
|
@ -0,0 +1,2 @@
|
|||
include (${CMAKE_CURRENT_LIST_DIR}/../base-triplets/x64-freebsd.cmake)
|
||||
include (${CMAKE_CURRENT_LIST_DIR}/sanitizer.cmake)
|
Loading…
Add table
Add a link
Reference in a new issue