geode/loader/launcher/mac/CMakeLists.txt

23 lines
651 B
Text
Raw Normal View History

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)