geode/loader/test/members/CMakeLists.txt

22 lines
695 B
Text
Raw Normal View History

2023-12-20 05:47:04 -05:00
cmake_minimum_required(VERSION 3.21)
2022-12-30 14:13:45 -05:00
set(PROJECT_NAME TestMembers)
project(${PROJECT_NAME} VERSION 1.0.0)
2023-09-14 07:50:13 -04:00
add_library(${PROJECT_NAME} SHARED MacOS.cpp Windows.cpp Android.cpp)
2022-12-30 14:13:45 -05:00
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_20)
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
)
2022-12-31 07:48:05 -05:00
target_compile_definitions(${PROJECT_NAME} PRIVATE -DGEODE_DONT_WARN_INCORRECT_MEMBERS)
target_link_libraries(${PROJECT_NAME} PRIVATE ghc_filesystem mat-json)
add_dependencies(${PROJECT_NAME} CodegenRun)