geode/loader/test/dependency/CMakeLists.txt

16 lines
392 B
Text
Raw Normal View History

2023-12-20 12:47:04 +02:00
cmake_minimum_required(VERSION 3.21)
2022-07-30 19:24:03 +03:00
set(PROJECT_NAME TestDependency)
project(${PROJECT_NAME} VERSION 1.0.0)
add_library(${PROJECT_NAME} SHARED main.cpp)
2022-12-13 08:36:50 +03:00
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_20)
2022-07-30 19:24:03 +03:00
add_compile_definitions(EXPORTING_MOD)
set(GEODE_LINK_SOURCE ON)
2022-07-30 19:24:03 +03:00
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
create_geode_file(${PROJECT_NAME} DONT_INSTALL)