forked from ocornut/imgui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
57 lines (47 loc) · 1.3 KB
/
CMakeLists.txt
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
# Folder structure
set(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY ON)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
# Project
if(APPLE)
project(imgui LANGUAGES OBJCXX)
else()
project(imgui LANGUAGES CXX)
endif()
add_library(imgui STATIC
imconfig.h
imgui.h
imgui_internal.h
imstb_rectpack.h
imstb_textedit.h
imstb_truetype.h
imgui.cpp
imgui_demo.cpp
imgui_draw.cpp
imgui_tables.cpp
imgui_widgets.cpp
backends/imgui_impl_glfw.h
backends/imgui_impl_opengl3.h
backends/imgui_impl_glfw.cpp
backends/imgui_impl_opengl3.cpp
addons/ImGuizmo/ImGuizmo.h
addons/ImGuizmo/ImCurveEdit.h
addons/ImGuizmo/ImGradient.h
addons/ImGuizmo/ImSequencer.h
addons/ImGuizmo/ImZoomSlider.h
addons/ImGuizmo/GraphEditor.h
addons/ImGuizmo/ImGuizmo.cpp
addons/ImGuizmo/ImCurveEdit.cpp
addons/ImGuizmo/ImGradient.cpp
addons/ImGuizmo/ImSequencer.cpp
addons/ImGuizmo/GraphEditor.cpp
addons/FileBrowser/ImGuiFileBrowser.h
addons/FileBrowser/ImGuiFileBrowser.cpp
addons/FileBrowser/Dirent/dirent.h
addons/ImNodes/imnodes.h
addons/ImNodes/imnodes_internal.h
addons/ImNodes/imnodes.cpp
)
target_include_directories(imgui PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_include_directories(imgui PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/addons/FileBrowser)