Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 15 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,16 @@
"VCPKG_TARGET_TRIPLET": "x64-linux-static-release"
}
},
{
"name": "linux-x64-debug",
"displayName": "Linux x64 Debug",
"description": "Linux",
"inherits": "linux-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"VCPKG_TARGET_TRIPLET": "x64-linux-static-debug"
}
},
{
"name": "macos-x64-release",
"displayName": "MacOS x64 Release",
Expand Down Expand Up @@ -126,6 +136,11 @@
"configurePreset": "linux-x64-release",
"displayName": "Linux x64 Release"
},
{
"name": "linux-x64-debug",
"configurePreset": "linux-x64-debug",
"displayName": "Linux x64 Debug"
},
{
"name": "macos-x64-release",
"configurePreset": "macos-x64-release",
Expand Down
6 changes: 6 additions & 0 deletions triplets/x64-linux-static-debug.cmake
Original file line number Diff line number Diff line change
@@ -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)