ReFuel.StbImage/CMakeLists.txt
H. Utku Maden ff83cb20f9
All checks were successful
Build / build (push) Successful in 2m2s
Enabled optimzations.
2024-07-23 23:21:12 +03:00

15 lines
359 B
CMake

cmake_minimum_required(VERSION 3.0)
project(rf_stbi LANGUAGES C VERSION 1.0)
if (NOT ("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin"))
add_compile_options(-static-libgcc -static-libstdc++ -fno-exceptions)
endif()
add_compile_options(-O3)
add_library(stbi SHARED "rf_stbi.c")
install(
TARGETS stbi
RUNTIME DESTINATION .
LIBRARY DESTINATION .)