2022-07-30 12:24:03 -04:00
|
|
|
cmake_minimum_required(VERSION 3.3.0)
|
2022-09-12 17:37:25 -04:00
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
2022-07-30 12:24:03 -04:00
|
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
|
|
|
|
|
|
set(PROJECT_NAME TestDependency)
|
|
|
|
|
|
|
|
project(${PROJECT_NAME} VERSION 1.0.0)
|
|
|
|
|
|
|
|
add_library(${PROJECT_NAME} SHARED main.cpp)
|
|
|
|
|
|
|
|
add_compile_definitions(EXPORTING_MOD)
|
|
|
|
|
2022-10-04 06:32:40 -04:00
|
|
|
set(GEODE_LINK_SOURCE ON)
|
2022-07-30 12:24:03 -04:00
|
|
|
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
|
|
|
|
|
|
|
|
target_link_libraries(
|
|
|
|
${PROJECT_NAME}
|
|
|
|
geode-sdk
|
|
|
|
)
|
|
|
|
|
2022-10-14 14:04:59 -04:00
|
|
|
create_geode_file(${PROJECT_NAME} DONT_INSTALL)
|