mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-26 17:36:05 -05:00
22 lines
651 B
CMake
22 lines
651 B
CMake
cmake_minimum_required(VERSION 3.3.0)
|
|
|
|
|
|
add_library(GeodeBootstrapper SHARED Bootstrapper.cpp)
|
|
target_compile_features(GeodeBootstrapper PUBLIC cxx_std_17)
|
|
set_target_properties(GeodeBootstrapper PROPERTIES
|
|
PREFIX ""
|
|
OUTPUT_NAME "GeodeBootstrapper"
|
|
LIBRARY_OUTPUT_DIRECTORY "${GEODE_BIN_PATH}/nightly"
|
|
RUNTIME_OUTPUT_DIRECTORY "${GEODE_BIN_PATH}/nightly"
|
|
)
|
|
|
|
target_link_libraries(GeodeBootstrapper PRIVATE)
|
|
|
|
add_library(FakeGeode SHARED FakeGeode.cpp)
|
|
target_compile_features(FakeGeode PUBLIC cxx_std_17)
|
|
set_target_properties(FakeGeode PROPERTIES
|
|
PREFIX ""
|
|
OUTPUT_NAME "Geode"
|
|
)
|
|
|
|
target_link_libraries(GeodeBootstrapper PRIVATE geode-loader)
|