98ddb08a [nostalgia] Cleanup 8d1701b0 [turbine/glfw] Ensure window opens with a standard mandatory refresh period 1048e522 [imgui] Make ImGui not an object lib ee59da4a [glad] Make glad not an object lib 1ba64cb5 Merge commit '07610a5af2aaaac9cfcdcf8359b33f7df40d46cd' 462bebf6 [nostalgia/core] Cleanup unused function declaration e3f84c4e [studio] Make first tab not draw before selected tab when window opens git-subtree-dir: deps/nostalgia git-subtree-split: 98ddb08abd68d2d31864fb44d240b2d79a0022c1
31 lines
425 B
CMake
31 lines
425 B
CMake
|
|
# DrinkingTea: begin
|
|
if(NOT MSVC)
|
|
set(CMAKE_CXX_FLAGS "-Wno-everything")
|
|
endif()
|
|
# DrinkingTea: end
|
|
|
|
add_library(
|
|
imgui
|
|
imgui.cpp
|
|
imgui_demo.cpp
|
|
imgui_draw.cpp
|
|
imgui_tables.cpp
|
|
imgui_widgets.cpp
|
|
backends/imgui_impl_glfw.cpp
|
|
backends/imgui_impl_opengl3.cpp
|
|
)
|
|
|
|
target_include_directories(
|
|
imgui SYSTEM PUBLIC
|
|
.
|
|
)
|
|
|
|
install(
|
|
TARGETS
|
|
imgui
|
|
DESTINATION
|
|
LIBRARY DESTINATION lib
|
|
ARCHIVE DESTINATION lib
|
|
)
|