aboutsummaryrefslogtreecommitdiff
path: root/3rdparty/imgui/CMakeLists.txt
blob: a491ca0d91b5baf94ec6d1f560b39c504d5f8567 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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})
target_include_directories(imgui
PUBLIC
	${CMAKE_CURRENT_LIST_DIR}
)

set_target_properties(imgui
PROPERTIES
	UNITY_BUILD OFF
)