2022-12-30 14:13:45 -05:00
|
|
|
|
cmake_minimum_required(VERSION 3.3.0)
|
|
|
|
|
|
|
|
|
|
set(PROJECT_NAME TestMembers)
|
|
|
|
|
|
|
|
|
|
project(${PROJECT_NAME} VERSION 1.0.0)
|
|
|
|
|
|
|
|
|
|
add_library(${PROJECT_NAME} SHARED MacOS.cpp Windows.cpp)
|
|
|
|
|
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_20)
|
|
|
|
|
|
2022-12-31 07:33:15 -05:00
|
|
|
|
target_include_directories(${PROJECT_NAME} PRIVATE
|
|
|
|
|
${GEODE_CODEGEN_PATH}
|
|
|
|
|
${GEODE_LOADER_PATH}/include
|
|
|
|
|
${GEODE_LOADER_PATH}/include/Geode/cocos/include
|
|
|
|
|
${GEODE_LOADER_PATH}/include/Geode/cocos/extensions
|
|
|
|
|
${GEODE_LOADER_PATH}/include/Geode/fmod
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
# For non existing pads
|
|
|
|
|
target_link_libraries(${PROJECT_NAME} PRIVATE ghc_filesystem)
|
|
|
|
|
|
|
|
|
|
add_dependencies(${PROJECT_NAME} CodegenRun)
|