20 lines
448 B
CMake
20 lines
448 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
# https://github.com/Nelarius/imnodes
|
|
project(imgui_imnodes)
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
if (NOT IMHEX_EXTERNAL_PLUGIN_BUILD)
|
|
add_library(imgui_imnodes OBJECT
|
|
source/imnodes.cpp
|
|
)
|
|
|
|
target_include_directories(imgui_imnodes PUBLIC
|
|
include
|
|
)
|
|
|
|
target_link_libraries(imgui_imnodes PRIVATE imgui_includes)
|
|
endif()
|
|
|
|
target_include_directories(imgui_all_includes INTERFACE include)
|