1
0
mirror of synced 2024-12-12 07:51:05 +01:00
ImHex/lib/third_party/imgui/cimgui/CMakeLists.txt

24 lines
439 B
CMake

cmake_minimum_required(VERSION 3.16)
project(imgui_cimgui)
set(CMAKE_CXX_STANDARD 17)
if (IMHEX_STATIC_LINK_PLUGINS)
return()
endif()
if (NOT IMHEX_EXTERNAL_PLUGIN_BUILD)
add_library(imgui_cimgui OBJECT
source/cimgui.cpp
)
target_include_directories(imgui_cimgui PUBLIC
include
)
target_link_libraries(imgui_cimgui PRIVATE imgui_includes)
add_dependencies(imhex_all imgui_cimgui)
endif()