forked from ocornut/imgui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
34 lines (29 loc) · 806 Bytes
/
CMakeLists.txt
File metadata and controls
34 lines (29 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
list(APPEND IMGUI_PUBLIC_HEADERS
"imgui.h"
)
list(APPEND IMGUI_PRIVATE_HEADERS
"imgui_internal.h"
"imconfig.h"
"stb_rect_pack.h"
"stb_textedit.h"
"stb_truetype.h"
)
list(APPEND IMGUI_SOURCES
"imgui.cpp"
"imgui_draw.cpp"
"imgui_widgets.cpp"
"imgui_tables.cpp"
${CRYPTO_PUBLIC_HEADERS}
${CRYPTO_PRIVATE_HEADERS}
)
list(APPEND IMGUI_PUBLIC_INCLUDE_DIRS
${IMGUI_SRC_DIR}
)
list(APPEND IMGUI_PUBLIC_LIBRARIES)
set(NAME imgui)
add_library(${NAME} STATIC ${IMGUI_SOURCES})
target_link_libraries(${NAME} PUBLIC ${IMGUI_PUBLIC_LIBRARIES})
target_include_directories(${NAME}
PUBLIC ${IMGUI_PUBLIC_INCLUDE_DIRS}
PRIVATE ${IMGUI_PRIVATE_INCLUDE_DIRS}
)