Skip to content

Commit

Permalink
Install dx11 and dx12 bindings for ImGui only fow x64-windows
Browse files Browse the repository at this point in the history
  • Loading branch information
aeris170 committed Aug 30, 2024
1 parent 126b56d commit 38d726c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion scripts/vcpkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,16 @@ echo "Installing Assimp"
./vcpkg install assimp --triplet $platform

echo "Installing ImGui"
./vcpkg install imgui[core,docking-experimental,glfw-binding,sdl2-binding,opengl3-binding,vulkan-binding,dx11-binding,dx12-binding] --triplet $platform --recurse
# Base ImGui package list
imgui_packages="core,docking-experimental,glfw-binding,sdl2-binding,opengl3-binding,vulkan-binding"

# Add DirectX bindings if the triplet is x64-windows
if [ "$platform" = "x64-windows" ]; then
imgui_packages="$imgui_packages,dx11-binding,dx12-binding"
fi

# Install the ImGui packages
./vcpkg install imgui[$imgui_packages] --triplet $platform --recurse
./vcpkg install imguizmo --triplet $platform

echo "Installing EnTT"
Expand Down

0 comments on commit 38d726c

Please sign in to comment.