mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-30 11:17:08 -05:00
f32aaa8b12
- create_geode_file now redirects to a new function called setup_geode_mod - setup_geode_mod auto-links loader - setup_geode_mod invokes CLI (if v1.4.0+) to automatically check your dependencies and install them + link their headers and libs to your project - fix Result::expect not working on non-copiable types - add in-memory functions for file::Zip and file::Unzip - ComparableVersionInfo now always returns false if major versions dont match
13 lines
344 B
CMake
13 lines
344 B
CMake
cmake_minimum_required(VERSION 3.3.0)
|
|
|
|
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 "")
|
|
|
|
setup_geode_mod(${PROJECT_NAME} DONT_INSTALL)
|