stb_image added
This commit is contained in:
@@ -30,3 +30,7 @@ target_link_libraries(${ENGINE_NAME} PUBLIC
|
||||
imgui
|
||||
entt
|
||||
)
|
||||
|
||||
target_link_libraries(${ENGINE_NAME} PRIVATE
|
||||
stb_image
|
||||
)
|
||||
|
||||
Vendored
+6
@@ -34,6 +34,12 @@ target_include_directories(glm INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/glm)
|
||||
add_library(entt INTERFACE)
|
||||
target_include_directories(entt INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/entt)
|
||||
|
||||
# stb_image (static)
|
||||
add_library(stb_image STATIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/stb_image/stb_image.cpp
|
||||
)
|
||||
target_include_directories(stb_image PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/stb_image)
|
||||
|
||||
# 5. IMGUI (static)
|
||||
set(IMGUI_DIR ${CMAKE_CURRENT_SOURCE_DIR}/imgui)
|
||||
|
||||
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
#define STB_IMAGE_IMPLEMENTATION
|
||||
#include "stb_image.h"
|
||||
Vendored
+7988
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user