#!/bin/bash

IMGUI_SRC="./src/imgui"

mkdir -p $IMGUI_SRC

# copy the headers
cp _ThirdParty/imgui/*.h $IMGUI_SRC
cp _ThirdParty/imgui/backends/imgui_impl_glfw.h $IMGUI_SRC
cp _ThirdParty/imgui/backends/imgui_impl_opengl3.h $IMGUI_SRC
cp _ThirdParty/imgui/backends/imgui_impl_opengl3_loader.h $IMGUI_SRC

# copy the source files
cp _ThirdParty/imgui/*.cpp $IMGUI_SRC
cp _ThirdParty/imgui/backends/imgui_impl_glfw.cpp $IMGUI_SRC
cp _ThirdParty/imgui/backends/imgui_impl_opengl3.cpp $IMGUI_SRC