1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-18 01:14:19 +00:00
This commit is contained in:
Konstantin Podsvirov 2026-01-08 08:51:37 -08:00 committed by GitHub
commit cd1ba4c0ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 868 additions and 42 deletions

View file

@ -0,0 +1,21 @@
cmake_minimum_required(VERSION 3.5)
project(example_null
LANGUAGES CXX)
find_package(ImGui CONFIG REQUIRED
COMPONENTS Core)
add_executable(${PROJECT_NAME} main.cpp)
if(EMSCRIPTEN)
set_target_properties(${PROJECT_NAME} PROPERTIES
SUFFIX .html)
endif()
target_link_libraries(${PROJECT_NAME}
PRIVATE ImGui::Core)
include(GNUInstallDirs)
install(TARGETS ${PROJECT_NAME}
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")