summaryrefslogtreecommitdiff
path: root/Client/ThirdParty/Box2D/extern/imgui/CMakeLists.txt
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-12-13 00:07:19 +0800
committerchai <chaifix@163.com>2021-12-13 00:07:19 +0800
commit60cbbdec07ab7a5636eac5b3c024ae44e937f4d4 (patch)
treeb2c7b0a868f18159dbc43d8954e1bd7668549a88 /Client/ThirdParty/Box2D/extern/imgui/CMakeLists.txt
+init
Diffstat (limited to 'Client/ThirdParty/Box2D/extern/imgui/CMakeLists.txt')
-rw-r--r--Client/ThirdParty/Box2D/extern/imgui/CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/Client/ThirdParty/Box2D/extern/imgui/CMakeLists.txt b/Client/ThirdParty/Box2D/extern/imgui/CMakeLists.txt
new file mode 100644
index 0000000..c42dcc9
--- /dev/null
+++ b/Client/ThirdParty/Box2D/extern/imgui/CMakeLists.txt
@@ -0,0 +1,19 @@
+# dear imgui
+set(IMGUI_SOURCE_FILES
+ imgui.cpp
+ imgui_demo.cpp
+ imgui_draw.cpp
+ imgui_widgets.cpp)
+
+set(IMGUI_HEADER_FILES
+ imconfig.h
+ imgui.h
+ imgui_internal.h
+ imstb_rectpack.h
+ imstb_textedit.h
+ imstb_truetype.h)
+
+add_library(imgui STATIC ${IMGUI_SOURCE_FILES} ${IMGUI_HEADER_FILES})
+target_include_directories(imgui PUBLIC ..)
+
+source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR} FILES ${IMGUI_SOURCE_FILES} ${IMGUI_HEADER_FILES})