aboutsummaryrefslogtreecommitdiff
path: root/3rdparty/imgui/CMakeLists.txt
blob: d00e8a238c99b589016d45b05aca257576b468d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
set(IMGUI_SOURCES
	imgui.h
	imgui.cpp
	imconfig.h
	imgui_internal.h
	imgui_demo.cpp
	imgui_draw.cpp
	imgui_tables.cpp
	imgui_widgets.cpp
	imgui_stdlib.cpp
	imstb_rectpack.h
	imstb_textedit.h
	imstb_truetype.h
)

# 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
PRIVATE
	${CMAKE_SOURCE_DIR}/3rdparty/imgui
)