blob: c0910d3e9c84a6e79acc22b7b1b7e00b74bcad93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
file(GLOB IMGUI_SOURCES *.cpp)
# We don't build the files in backend/ because they are included by various entrypoint implementations
# depending on build flags. Technically it is possible to write then here too, but doing so would require repeating
# the build flags twice both in here and in core/CMakeLists.txt
add_library(imgui ${IMGUI_SOURCES} ../../core/src/Model/Template/TableTemplateIterator.hpp)
set_target_properties(imgui PROPERTIES UNITY_BUILD OFF)
target_include_directories(imgui
PRIVATE
${CMAKE_SOURCE_DIR}/3rdparty/imgui
)
set_target_properties(imgui
PROPERTIES
UNITY_BUILD OFF
)
|