Initial commit
This commit is contained in:
17
CMakeLists.txt
Normal file
17
CMakeLists.txt
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.18)
|
||||||
|
project(stb_image)
|
||||||
|
|
||||||
|
set(CMAKE_CXX_STANDARD 20)
|
||||||
|
|
||||||
|
if (UNIX AND NOT APPLE)
|
||||||
|
add_library(stb_image SHARED "include/stb_image.h")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (WIN32)
|
||||||
|
add_library(stb_image STATIC "include/stb_image.h")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set_target_properties(stb_image PROPERTIES LINKER_LANGUAGE CXX)
|
||||||
|
target_include_directories(stb_image PUBLIC "include")
|
||||||
|
|
||||||
|
|
6
README.md
Normal file
6
README.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# stb_image
|
||||||
|
|
||||||
|
The stb_image package converted to a CPM dependency for internal use.
|
||||||
|
|
||||||
|
Original Source:
|
||||||
|
https://github.com/nothings/stb/
|
7988
include/stb_image.h
Normal file
7988
include/stb_image.h
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user