Skip to content

Commit d8d5669

Browse files
committed
Triplets rework
1 parent 02c2846 commit d8d5669

8 files changed

Lines changed: 4 additions & 12 deletions

CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ cmake_minimum_required(VERSION 3.18)
33
set(VCPKG_ROOT "vcpkg")
44
set(CMAKE_TOOLCHAIN_FILE "${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" CACHE STRING "")
55

6-
if(NOT DEFINED VCPKG_OVERLAY_TRIPLETS)
7-
set(VCPKG_OVERLAY_TRIPLETS "${CMAKE_CURRENT_SOURCE_DIR}/cmake/triplets" CACHE STRING "")
8-
endif()
9-
106
set(CMAKE_CXX_STANDARD 20)
117
set(CMAKE_CXX_STANDARD_REQUIRED ON)
128
set(CMAKE_POSITION_INDEPENDENT_CODE ON)

gen-linux-x64-debug.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22
cmake -S . -B build/Debug \
33
-DCMAKE_BUILD_TYPE=Debug \
44
-DCMAKE_VERBOSE_MAKEFILE=ON \
5-
-DVCPKG_TARGET_TRIPLET=x64-linux-custom \
6-
-DVCPKG_OVERLAY_TRIPLETS=cmake/triplets \
75
-G Ninja

gen-linux-x64-release.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22
cmake -S . -B build/Release \
33
-DCMAKE_BUILD_TYPE=Release \
44
-DCMAKE_VERBOSE_MAKEFILE=ON \
5-
-DVCPKG_TARGET_TRIPLET=x64-linux-custom \
6-
-DVCPKG_OVERLAY_TRIPLETS=cmake/triplets \
75
-G Ninja

gen-osx-arm64-debug.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22
cmake -S . -B build/Debug \
33
-DCMAKE_BUILD_TYPE=Debug \
44
-DCMAKE_VERBOSE_MAKEFILE=ON \
5-
-DVCPKG_TARGET_TRIPLET=arm64-osx-custom \
6-
-DVCPKG_OVERLAY_TRIPLETS=cmake/triplets \
75
-G Ninja

gen-osx-arm64-release.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22
cmake -S . -B build/Release \
33
-DCMAKE_BUILD_TYPE=Release \
44
-DCMAKE_VERBOSE_MAKEFILE=ON \
5-
-DVCPKG_TARGET_TRIPLET=arm64-osx-custom \
6-
-DVCPKG_OVERLAY_TRIPLETS=cmake/triplets \
75
-G Ninja

vcpkg-configuration.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg-configuration.schema.json",
23
"default-registry": {
34
"kind": "git",
45
"repository": "https://github.com/microsoft/vcpkg",
@@ -11,5 +12,8 @@
1112
"baseline": "1f7b80aad8fed039d710b735bd0c038beef7b7ee",
1213
"packages": [ "firebird" ]
1314
}
15+
],
16+
"overlay-triplets": [
17+
"cmake/triplets"
1418
]
1519
}

0 commit comments

Comments
 (0)