-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
5 changed files
with
26 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
include (${CMAKE_CURRENT_LIST_DIR}/../base-triplets/arm64-osx.cmake) | ||
include (${CMAKE_CURRENT_LIST_DIR}/debug.cmake) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
include (${CMAKE_CURRENT_LIST_DIR}/../base-triplets/x64-linux.cmake) | ||
include (${CMAKE_CURRENT_LIST_DIR}/debug.cmake) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
include (${CMAKE_CURRENT_LIST_DIR}/../base-triplets/x64-osx.cmake) | ||
include (${CMAKE_CURRENT_LIST_DIR}/debug.cmake) |