mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-27 09:55:34 -05:00
22 lines
626 B
CMake
22 lines
626 B
CMake
cmake_minimum_required(VERSION 3.3.0)
|
|
|
|
|
|
add_library(Bootstrapper SHARED Bootstrapper.cpp)
|
|
target_compile_features(Bootstrapper PUBLIC cxx_std_17)
|
|
set_target_properties(Bootstrapper PROPERTIES
|
|
PREFIX ""
|
|
OUTPUT_NAME "GeodeBootstrapper"
|
|
LIBRARY_OUTPUT_DIRECTORY "${GEODE_BIN_PATH}/nightly"
|
|
RUNTIME_OUTPUT_DIRECTORY "${GEODE_BIN_PATH}/nightly"
|
|
)
|
|
|
|
target_link_libraries(Bootstrapper 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(Bootstrapper PRIVATE geode-loader)
|