mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-26 17:36:05 -05:00
21 lines
434 B
Text
21 lines
434 B
Text
|
cmake_minimum_required(VERSION 3.3.0)
|
||
|
set(CMAKE_CXX_STANDARD 17)
|
||
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||
|
|
||
|
set(PROJECT_NAME TestDependency)
|
||
|
|
||
|
project(${PROJECT_NAME} VERSION 1.0.0)
|
||
|
|
||
|
add_library(${PROJECT_NAME} SHARED main.cpp)
|
||
|
|
||
|
add_compile_definitions(EXPORTING_MOD)
|
||
|
|
||
|
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
|
||
|
|
||
|
target_link_libraries(
|
||
|
${PROJECT_NAME}
|
||
|
geode-loader
|
||
|
geode-sdk
|
||
|
)
|
||
|
|
||
|
create_geode_file(${PROJECT_NAME})
|