Meta: Add a debug build CMake preset

Since the default mode now only builds release vcpkg libraries, having
an easy-to-create debug build will be convenient.
This commit is contained in:
Timothy Flynn
2024-06-28 10:16:37 -04:00
committed by Tim Flynn
parent 1c2aef9255
commit d9470d6a93
5 changed files with 32 additions and 13 deletions

View File

@@ -0,0 +1,2 @@
include (${CMAKE_CURRENT_LIST_DIR}/../base-triplets/arm64-osx.cmake)
include (${CMAKE_CURRENT_LIST_DIR}/debug.cmake)

View File

@@ -0,0 +1,3 @@
# Ideally, we would set VCPKG_BUILD_TYPE="debug", but that is currently not supported as a standalone build type.
# See: https://github.com/microsoft/vcpkg/issues/38224
set(VCPKG_LIBRARY_LINKAGE static)

View File

@@ -0,0 +1,2 @@
include (${CMAKE_CURRENT_LIST_DIR}/../base-triplets/x64-linux.cmake)
include (${CMAKE_CURRENT_LIST_DIR}/debug.cmake)

View File

@@ -0,0 +1,2 @@
include (${CMAKE_CURRENT_LIST_DIR}/../base-triplets/x64-osx.cmake)
include (${CMAKE_CURRENT_LIST_DIR}/debug.cmake)