mirror of
https://github.com/geode-sdk/geode.git
synced 2024-12-11 08:31:13 -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
15 lines
393 B
CMake
15 lines
393 B
CMake
cmake_minimum_required(VERSION 3.3.0)
|
|
|
|
set(PROJECT_NAME TestDependency)
|
|
|
|
project(${PROJECT_NAME} VERSION 1.0.0)
|
|
|
|
add_library(${PROJECT_NAME} SHARED main.cpp)
|
|
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_20)
|
|
|
|
add_compile_definitions(EXPORTING_MOD)
|
|
|
|
set(GEODE_LINK_SOURCE ON)
|
|
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
|
|
|
|
create_geode_file(${PROJECT_NAME} DONT_INSTALL)
|