chuniio-brokenithm/aimeio/CMakeLists.txt

18 lines
537 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.27)
project(aimeio_brokenithm)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
include_directories("${CMAKE_SOURCE_DIR}/include/")
set(CMAKE_C_STANDARD 11)
link_directories(src)
add_library(aimeio_brokenithm SHARED src/aimeio.c
src/aimeio.h)
target_link_libraries(aimeio_brokenithm util)
set_target_properties(aimeio_brokenithm PROPERTIES PREFIX "")
target_include_directories(aimeio_brokenithm PRIVATE src)
target_link_libraries(aimeio_brokenithm "-static-libgcc")