diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..1ee2706 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,26 @@ +cmake_minimum_required(VERSION 3.10) +project(bpp) + +set(CMAKE_CXX_STANDARD 17) + +find_package(SDL2 CONFIG REQUIRED) + +file(GLOB_RECURSE target_sources + "src/*.cpp" + "lib/*.cpp" +) + +add_executable(bpp + ${target_sources} +) + +target_include_directories(bpp PUBLIC + "include" + "lib/imgui/include" + "lib/ImGuiFileDialog" + SDL2::SDL2 +) + +target_link_libraries(bpp PUBLIC + SDL2::SDL2 SDL2::SDL2main +) \ No newline at end of file