From 24dc65a23253ca0162034d8b357ac8d6e1f1dc0d Mon Sep 17 00:00:00 2001 From: zig-for Date: Wed, 27 Dec 2023 15:14:12 -0800 Subject: [PATCH] Linux debug --- .github/workflows/cmake.yml | 2 +- triplets/x64-linux-static-debug.cmake | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 triplets/x64-linux-static-debug.cmake diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 4198ee7..81f028d 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -17,7 +17,7 @@ jobs: matrix: config: - { os: windows-latest, preset: windows-x64-release, vcpkg-dir: 'C:/lukka-vcpkg' } - - { os: ubuntu-20.04, preset: linux-x64-release, vcpkg-dir: '/tmp/lukka-vcpkg' } + - { os: ubuntu-20.04, preset: linux-x64-debug, vcpkg-dir: '/tmp/lukka-vcpkg' } - { os: macos-latest, preset: macos-x64-release, vcpkg-dir: '/tmp/lukka-vcpkg' } runs-on: ${{ matrix.config.os }} continue-on-error: true diff --git a/triplets/x64-linux-static-debug.cmake b/triplets/x64-linux-static-debug.cmake new file mode 100644 index 0000000..fbf8b2f --- /dev/null +++ b/triplets/x64-linux-static-debug.cmake @@ -0,0 +1,6 @@ +set(VCPKG_TARGET_ARCHITECTURE x64) +set(VCPKG_CRT_LINKAGE dynamic) +set(VCPKG_LIBRARY_LINKAGE static) +set(VCPKG_BUILD_TYPE debug) + +set(VCPKG_CMAKE_SYSTEM_NAME Linux) \ No newline at end of file