projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[CMAKE]
[reactos.git]
/
reactos
/
lib
/
rtl
/
CMakeLists.txt
1
2
add_definitions(
3
-D_NTOSKRNL_
4
-DNO_RTL_INLINES
5
-D_NTSYSTEM_
6
-D_NTDLLBUILD_)
7
8
list(APPEND SOURCE
9
access.c
10
acl.c
11
actctx.c
12
assert.c
13
atom.c
14
avltable.c
15
bitmap.c
16
bootdata.c
17
compress.c
18
condvar.c
19
crc32.c
20
critical.c
21
dbgbuffer.c
22
debug.c
23
dos8dot3.c
24
encode.c
25
env.c
26
error.c
27
exception.c
28
generictable.c
29
handle.c
30
heap.c
31
heapdbg.c
32
heappage.c
33
image.c
34
interlck.c
35
message.c
36
largeint.c
37
luid.c
38
network.c
39
nls.c
40
path.c
41
ppb.c
42
process.c
43
propvar.c
44
qsort.c
45
random.c
46
rangelist.c
47
registry.c
48
res.c
49
resource.c
50
sd.c
51
security.c
52
slist.c
53
sid.c
54
srw.c
55
splaytree.c
56
thread.c
57
time.c
58
timezone.c
59
timerqueue.c
60
unicode.c
61
unicodeprefix.c
62
vectoreh.c
63
version.c
64
wait.c
65
workitem.c)
66
67
if(ARCH MATCHES i386)
68
list(APPEND SOURCE
69
i386/debug_asm.S
70
i386/except_asm.s
71
i386/except.c
72
i386/interlck.S
73
i386/rtlmem.s
74
i386/res_asm.s
75
i386/thread.c)
76
elseif(ARCH MATCHES amd64)
77
list(APPEND SOURCE
78
amd64/debug_asm.S
79
amd64/except_asm.S
80
amd64/slist.S
81
amd64/unwind.c
82
amd64/stubs.c
83
mem.c
84
memgen.c)
85
elseif(ARCH MATCHES arm)
86
list(APPEND SOURCE
87
arm/debug_asm.S
88
mem.c
89
memgen.c)
90
elseif(ARCH MATCHES powerpc)
91
list(APPEND SOURCE
92
powerpc/debug.c
93
powerpc/except.c
94
powerpc/interlocked.c
95
powerpc/rtlmem.s
96
powerpc/rtlswap.s
97
powerpc/thread.c)
98
endif()
99
100
add_library(rtl ${SOURCE})
101
add_pch(rtl rtl.h)
102
add_dependencies(rtl psdk asm)