2023-12-31 06:10:12 +00:00
|
|
|
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/")
|
2023-12-31 06:16:09 +00:00
|
|
|
set(CMAKE_C_STANDARD 11)
|
2023-12-31 06:10:12 +00:00
|
|
|
|
|
|
|
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")
|