2022-10-08 05:41:36 -04:00
|
|
|
cmake_minimum_required(VERSION 3.3.0)
|
|
|
|
|
|
|
|
|
2023-08-02 08:58:37 -04:00
|
|
|
add_library(GeodeBootstrapper SHARED Bootstrapper.cpp)
|
|
|
|
target_compile_features(GeodeBootstrapper PUBLIC cxx_std_17)
|
|
|
|
set_target_properties(GeodeBootstrapper PROPERTIES
|
2022-10-08 05:41:36 -04:00
|
|
|
PREFIX ""
|
|
|
|
OUTPUT_NAME "GeodeBootstrapper"
|
|
|
|
LIBRARY_OUTPUT_DIRECTORY "${GEODE_BIN_PATH}/nightly"
|
|
|
|
RUNTIME_OUTPUT_DIRECTORY "${GEODE_BIN_PATH}/nightly"
|
|
|
|
)
|
2022-10-08 06:43:24 -04:00
|
|
|
|
2023-08-02 08:58:37 -04:00
|
|
|
target_link_libraries(GeodeBootstrapper PRIVATE)
|
2023-07-08 09:38:09 -04:00
|
|
|
|
|
|
|
add_library(FakeGeode SHARED FakeGeode.cpp)
|
|
|
|
target_compile_features(FakeGeode PUBLIC cxx_std_17)
|
|
|
|
set_target_properties(FakeGeode PROPERTIES
|
|
|
|
PREFIX ""
|
|
|
|
OUTPUT_NAME "Geode"
|
|
|
|
)
|
|
|
|
|
2023-08-02 08:58:37 -04:00
|
|
|
target_link_libraries(GeodeBootstrapper PRIVATE geode-loader)
|