CMakeLists.txt (1318B)
1 add_library(rcheevos 2 include/rcheevos.h 3 include/rc_api_editor.h 4 include/rc_api_info.h 5 include/rc_api_request.h 6 include/rc_api_runtime.h 7 include/rc_api_user.h 8 include/rc_client.h 9 include/rc_consoles.h 10 include/rc_error.h 11 include/rc_hash.h 12 include/rc_runtime.h 13 include/rc_runtime_types.h 14 include/rc_url.h 15 include/rc_util.h 16 src/rapi/rc_api_common.c 17 src/rapi/rc_api_common.h 18 src/rapi/rc_api_editor.c 19 src/rapi/rc_api_info.c 20 src/rapi/rc_api_runtime.c 21 src/rapi/rc_api_user.c 22 src/rcheevos/alloc.c 23 src/rcheevos/condition.c 24 src/rcheevos/condset.c 25 src/rcheevos/consoleinfo.c 26 src/rcheevos/format.c 27 src/rcheevos/lboard.c 28 src/rcheevos/memref.c 29 src/rcheevos/operand.c 30 src/rcheevos/rc_internal.h 31 src/rcheevos/richpresence.c 32 src/rcheevos/runtime.c 33 src/rcheevos/runtime_progress.c 34 src/rcheevos/trigger.c 35 src/rcheevos/value.c 36 src/rc_client.c 37 src/rc_client_internal.h 38 src/rc_compat.c 39 src/rc_compat.h 40 src/rc_util.c 41 src/rc_version.h 42 src/rhash/md5.c 43 src/rhash/md5.h 44 src/rurl/url.c 45 ) 46 47 target_include_directories(rcheevos PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include") 48 target_include_directories(rcheevos INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/include") 49 target_compile_definitions(rcheevos PRIVATE "RC_DISABLE_LUA=1" "RCHEEVOS_URL_SSL=1" "RC_NO_THREADS=1") 50