From a8873627b87527a560b7797ef0c322105ea0ec00 Mon Sep 17 00:00:00 2001 From: Tanishq Dubey Date: Sun, 16 Jun 2024 10:10:13 -0400 Subject: [PATCH] add basic cmakelists --- CMakeLists.txt | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..bcfae93 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,43 @@ +cmake_minimum_required(VERSION 3.10) + +set(CMAKE_CXX_STANDARD 20) +set(CMAKE_CXX_STANDARD_REQUIRED True) + +project(tview) + +set (SOURCES +/lib/backends/imgui_impl_opengl3.cpp +/lib/backends/imgui_impl_opengl3.h +/lib/backends/imgui_impl_opengl3_loader.h +/lib/backends/imgui_impl_sdl2.cpp +/lib/backends/imgui_impl_sdl2.h +/lib/backends/tex_inspect_opengl.h +/lib/backends/tex_inspect_opengl.cpp +/lib/context_wrapper.h +/lib/image_model.h +/lib/imconfig.h +/lib/imfilebrowser.h +/lib/imgui.cpp +/lib/imgui.h +/lib/imgui_bezier_math.h +/lib/imgui_bezier_math.inl +/lib/imgui_demo.cpp +/lib/imgui_draw.cpp +/lib/imgui_extra_math.h +/lib/imgui_extra_math.inl +/lib/imgui_internal.h +/lib/imgui_tables.cpp +/lib/imgui_widgets.cpp +/lib/imstb_rectpack.h +/lib/imstb_textedit.h +/lib/imstb_truetype.h +/lib/stb_image.h +/lib/imgui_tex_inspect.h +/lib/imgui_tex_inspect_internal.h +/lib/imgui_tex_inspect.cpp +/lib/argparse.hpp +/lib/histogram.h +main.cpp +) + +add_executable(tview ${SOURCES})