mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-18 01:14:19 +00:00
Merge b567ffe7e0 into f5384544cb
This commit is contained in:
commit
cd1ba4c0ac
18 changed files with 868 additions and 42 deletions
21
examples/example_null/CMakeLists.txt
Normal file
21
examples/example_null/CMakeLists.txt
Normal 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}")
|
||||
Loading…
Add table
Add a link
Reference in a new issue