44 lines
950 B
CMake
44 lines
950 B
CMake
|
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})
|