aboutsummaryrefslogtreecommitdiff
path: root/3rdparty/stb/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/stb/CMakeLists.txt')
-rw-r--r--3rdparty/stb/CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/3rdparty/stb/CMakeLists.txt b/3rdparty/stb/CMakeLists.txt
new file mode 100644
index 0000000..b028ed2
--- /dev/null
+++ b/3rdparty/stb/CMakeLists.txt
@@ -0,0 +1,13 @@
+file(GLOB STB_HEADER ${CMAKE_CURRENT_LIST_DIR}/source/*.h)
+file(GLOB STD_SOURCE ${CMAKE_CURRENT_LIST_DIR}/source/*.c)
+add_library(stb
+ ${STB_HEADER}
+ ${STD_SOURCE}
+ implementation.c
+)
+target_include_directories(stb PUBLIC ${CMAKE_CURRENT_LIST_DIR}/source)
+
+set_target_properties(stb
+PROPERTIES
+ UNITY_BUILD OFF
+)