1
0
mirror of synced 2024-12-17 01:55:54 +01:00
ImHex/lib/third_party/imgui/cimgui/CMakeLists.txt

21 lines
421 B
CMake
Raw Normal View History

2024-03-11 21:08:23 +01:00
cmake_minimum_required(VERSION 3.16)
2024-03-25 21:02:55 +01:00
# https://github.com/cimgui/cimgui
2024-03-11 21:08:23 +01:00
project(imgui_cimgui)
set(CMAKE_CXX_STANDARD 17)
if (NOT IMHEX_EXTERNAL_PLUGIN_BUILD)
add_library(imgui_cimgui OBJECT
2024-03-11 21:08:23 +01:00
source/cimgui.cpp
)
target_include_directories(imgui_cimgui PUBLIC
include
)
target_link_libraries(imgui_cimgui PRIVATE imgui_includes)
2024-03-11 21:08:23 +01:00
add_dependencies(imhex_all imgui_cimgui)
endif()