mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-27 09:55:34 -05:00
14 lines
389 B
CMake
14 lines
389 B
CMake
cmake_minimum_required(VERSION 3.21)
|
|
|
|
set(PROJECT_NAME TestMod)
|
|
|
|
project(${PROJECT_NAME} VERSION 1.0.0)
|
|
|
|
add_library(${PROJECT_NAME} SHARED main.cpp)
|
|
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_20)
|
|
|
|
set(GEODE_LINK_SOURCE ON)
|
|
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
|
|
target_link_libraries(TestMod TestDependency)
|
|
|
|
setup_geode_mod(${PROJECT_NAME} DONT_INSTALL)
|