2023-11-19 11:59:25 +01:00
|
|
|
cmake_minimum_required(VERSION 3.16)
|
|
|
|
# https://github.com/Nelarius/imnodes
|
|
|
|
project(imgui_imnodes)
|
|
|
|
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
|
2024-02-24 15:06:10 +01:00
|
|
|
if (NOT IMHEX_EXTERNAL_PLUGIN_BUILD)
|
|
|
|
add_library(imgui_imnodes OBJECT
|
|
|
|
source/imnodes.cpp
|
|
|
|
)
|
2023-11-19 11:59:25 +01:00
|
|
|
|
2024-02-24 15:06:10 +01:00
|
|
|
target_include_directories(imgui_imnodes PUBLIC
|
|
|
|
include
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(imgui_imnodes PRIVATE imgui_includes)
|
|
|
|
endif()
|
2023-11-19 11:59:25 +01:00
|
|
|
|
2023-12-22 23:39:38 +01:00
|
|
|
target_include_directories(imgui_all_includes INTERFACE include)
|