geode/loader/test/dependency/CMakeLists.txt
2022-12-13 08:36:50 +03:00

20 lines
453 B
CMake

cmake_minimum_required(VERSION 3.3.0)
set(PROJECT_NAME TestDependency)
project(${PROJECT_NAME} VERSION 1.0.0)
add_library(${PROJECT_NAME} SHARED main.cpp)
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_20)
add_compile_definitions(EXPORTING_MOD)
set(GEODE_LINK_SOURCE ON)
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
target_link_libraries(
${PROJECT_NAME}
geode-sdk
)
create_geode_file(${PROJECT_NAME} DONT_INSTALL)