aboutsummaryrefslogtreecommitdiff
path: root/3rdparty/stb/CMakeLists.txt
diff options
context:
space:
mode:
authorhnOsmium0001 <[email protected]>2022-04-06 20:52:51 -0700
committerhnOsmium0001 <[email protected]>2022-04-06 20:52:51 -0700
commit3fdc6eb4f2cbeffce9b250beec4d3a2d52a3f534 (patch)
tree05991741844aa2814b3ac71e2c843ebe07244845 /3rdparty/stb/CMakeLists.txt
parentebd42760caaec8330a3c028f31adc7bc0b339d16 (diff)
Work on moving infrastruture to this project
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
+)