geode/loader/test/main/CMakeLists.txt

16 lines
482 B
Text
Raw Normal View History

2023-12-20 05:47:04 -05:00
cmake_minimum_required(VERSION 3.21)
2022-07-30 12:24:03 -04:00
set(PROJECT_NAME TestMod)
project(${PROJECT_NAME} VERSION 1.0.0)
add_library(${PROJECT_NAME} SHARED main.cpp)
2022-12-13 00:36:50 -05:00
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_20)
2022-07-30 12:24:03 -04:00
set(GEODE_LINK_SOURCE ON)
2022-07-30 12:24:03 -04:00
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
2023-04-03 03:04:56 -04:00
target_link_libraries(TestMod TestDependency)
2022-07-30 12:24:03 -04:00
2024-04-12 17:56:33 -04:00
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/mod.json.in ${CMAKE_CURRENT_SOURCE_DIR}/mod.json)
setup_geode_mod(${PROJECT_NAME} DONT_INSTALL)