-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add vcpkg tooling at root: vcpkg.json, vcpkg-configuration.json, CMak…
- Loading branch information
Showing
5 changed files
with
75 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"version": 3, | ||
"configurePresets": [ | ||
{ | ||
"name": "build_vcpkg_default", | ||
"description": "Build with vcpkg default settings (opengl3 + sdl and glfw). You need to create a build directory and run from it", | ||
"cacheVariables": { | ||
"CMAKE_TOOLCHAIN_FILE": "vcpkg/scripts/buildsystems/vcpkg.cmake", | ||
"HELLOIMGUI_USE_GLFW_OPENGL3": "ON", | ||
"HELLOIMGUI_USE_SDL_OPENGL3": "ON", | ||
"HELLOIMGUI_USE_IMGUI_CMAKE_PACKAGE": "ON" | ||
} | ||
}, | ||
{ | ||
"name": "build_use_vcpkg_opengl3", | ||
"description": "Build with vcpkg default settings (opengl3 + sdl and glfw). Will build inside build_use_vcpkg_opengl3/", | ||
"binaryDir": "${sourceDir}/build_use_vcpkg_opengl3", | ||
"cacheVariables": { | ||
"CMAKE_TOOLCHAIN_FILE": "vcpkg/scripts/buildsystems/vcpkg.cmake", | ||
"HELLOIMGUI_USE_GLFW_OPENGL3": "ON", | ||
"HELLOIMGUI_USE_SDL_OPENGL3": "ON", | ||
"HELLOIMGUI_USE_IMGUI_CMAKE_PACKAGE": "ON" | ||
} | ||
}, | ||
{ | ||
"name": "build_use_vcpkg_metal", | ||
"description": "Build with vcpkg (for metal + sdl and glfw). Will build inside build_use_vcpkg_metal/", | ||
"binaryDir": "${sourceDir}/build_use_vcpkg_metal", | ||
"cacheVariables": { | ||
"CMAKE_TOOLCHAIN_FILE": "vcpkg/scripts/buildsystems/vcpkg.cmake", | ||
"HELLOIMGUI_USE_GLFW_METAL": "ON", | ||
"HELLOIMGUI_USE_SDL_METAL": "ON", | ||
"HELLOIMGUI_USE_IMGUI_CMAKE_PACKAGE": "ON" | ||
} | ||
}, | ||
{ | ||
"name": "build_use_vcpkg_vulkan", | ||
"description": "Build with vcpkg (for vulkan + sdl and glfw). Will build inside build_use_vcpkg_vulkan/", | ||
"binaryDir": "${sourceDir}/build_use_vcpkg_vulkan", | ||
"cacheVariables": { | ||
"CMAKE_TOOLCHAIN_FILE": "vcpkg/scripts/buildsystems/vcpkg.cmake", | ||
"HELLOIMGUI_USE_GLFW_VULKAN": "ON", | ||
"HELLOIMGUI_USE_SDL_VULKAN": "ON", | ||
"HELLOIMGUI_USE_IMGUI_CMAKE_PACKAGE": "ON" | ||
} | ||
} | ||
] | ||
} |
12 changes: 0 additions & 12 deletions
12
hello_imgui_cmake/overlay_vcpkg/config_vcpkg_old/CMakePresets.json
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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,27 @@ | ||
{ | ||
"dependencies": [ | ||
"freetype", | ||
"glfw3", | ||
"lunasvg", | ||
{ | ||
"name": "glad", | ||
"features": [ | ||
"gl-api-43" | ||
] | ||
}, | ||
"stb", | ||
{ | ||
"name": "imgui", | ||
"features": [ | ||
"opengl3-binding", | ||
"metal-binding", | ||
"vulkan-binding", | ||
"glfw-binding", | ||
"sdl2-binding", | ||
"docking-experimental", | ||
"freetype", | ||
"freetype-lunasvg" | ||
] | ||
} | ||
] | ||
} |