mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-22 23:48:08 -05:00
9ffb15b616
- Settings no longer abuse templates - Custom settings are now supported (finally) - Bumped version to v1.0.0-alpha
19 lines
397 B
CMake
19 lines
397 B
CMake
cmake_minimum_required(VERSION 3.3.0)
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
|
|
set(PROJECT_NAME TestMod)
|
|
|
|
project(${PROJECT_NAME} VERSION 1.0.0)
|
|
|
|
add_library(${PROJECT_NAME} SHARED main.cpp)
|
|
|
|
set(GEODE_LINK_SOURCE ON)
|
|
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
|
|
|
|
target_link_libraries(
|
|
${PROJECT_NAME}
|
|
geode-sdk
|
|
)
|
|
|
|
create_geode_file(${PROJECT_NAME})
|