Debian Codegraph @

depends/common/rcheevos/CMakeLists.txt

raw
1 project(rcheevos)
2
3 cmake_minimum_required(VERSION 3.0...4.0)
4
5 # Disable Lua for now
6 add_definitions(-DRC_DISABLE_LUA)
7
8 include_directories(
9 include
10 )
11
12 add_library(${PROJECT_NAME}lib
13 src/rcheevos/alloc.c
14 src/rcheevos/compat.c
15 src/rcheevos/condition.c
16 src/rcheevos/condset.c
17 src/rcheevos/consoleinfo.c
18 src/rcheevos/format.c
19 src/rcheevos/lboard.c
20 src/rcheevos/memref.c
21 src/rcheevos/operand.c
22 src/rcheevos/richpresence.c
23 src/rcheevos/runtime.c
24 src/rcheevos/runtime_progress.c
25 src/rcheevos/trigger.c
26 src/rcheevos/value.c
27 src/rhash/cdreader.c
28 src/rhash/hash.c
29 src/rhash/md5.c
30 src/rurl/url.c
31 )
32
33 #add_dependencies(rcheevos
34 # lua # TODO
35 #)
36
37 #target_link_libraries(rcheevos
38 # lua
39 #)
40
41 install(TARGETS
42 ${PROJECT_NAME}lib
43 ARCHIVE DESTINATION
44 lib
45 DESTINATION
46 lib
47 )
48
49 install(
50 FILES
51 include/rcheevos.h
52 include/rconsoles.h
53 include/rhash.h
54 include/rurl.h
55 DESTINATION
56 include/${PROJECT_NAME}
57 )
58
59 #install(
60 # DIRECTORY
61 # include
62 # DESTINATION
63 # include
64 #)