reactos/sdk/lib/rtl/CMakeLists.txt
Alex Ionescu 16e0cca7e1 [RTL]: Document and flesh out Boot Status Data (BSD) API/Structures
[NDK]: Document latest RTL_BSD_DATA as of RS3 based on ext.dll WinDBG
extension "!blackboxbsd" which outputs the entire structure field by
field :).
[NDK]: Update RTL_BSD_ITEM_TYPE thanks to ole32 symbols
[RTL]: Move system volume APIs to sysvol.c
[RTL]: Fill out BsdItemTable based on actual field offsets/sizes and not
hardcoded magic numbers which we won't ask where they came from.
[RTL]: Make RtlCreateBootStatusDataFile use an appropriate structure for
initializing the buffer instead of "UCHAR Buffer[12] = {0xC,0,0,0,
1,0,0,0, 1, 0x1e, 1, 0};" which appears like magic knowledge.
[RTL]: Rename "WriteMode" to "Read" in RtlGetSetBootStatusData since
it's much less confusing.
[RTL]: Some formatting fixes, SAL updates.
2018-02-04 09:33:32 -08:00

117 lines
2 KiB
CMake

add_definitions(
-D_NTOSKRNL_
-DNO_RTL_INLINES
-D_NTSYSTEM_
-D_NTDLLBUILD_)
list(APPEND SOURCE
access.c
acl.c
actctx.c
appverifier.c
assert.c
atom.c
avltable.c
bitmap.c
bootdata.c
compress.c
crc32.c
critical.c
dbgbuffer.c
debug.c
dos8dot3.c
encode.c
env.c
error.c
exception.c
generictable.c
handle.c
heap.c
heapdbg.c
heappage.c
heapuser.c
image.c
interlck.c
memstream.c
message.c
largeint.c
luid.c
network.c
nls.c
path.c
ppb.c
prefix.c
priv.c
process.c
propvar.c
random.c
rangelist.c
registry.c
res.c
resource.c
rxact.c
sd.c
security.c
slist.c
sid.c
splaytree.c
sysvol.c
thread.c
time.c
timezone.c
timerqueue.c
trace.c
unicode.c
unicodeprefix.c
vectoreh.c
version.c
wait.c
workitem.c
rtl.h)
if(ARCH STREQUAL "i386")
list(APPEND ASM_SOURCE
i386/debug_asm.S
i386/except_asm.s
i386/interlck.S
i386/rtlmem.s
i386/rtlswap.S
i386/res_asm.s)
list(APPEND SOURCE
i386/except.c
i386/thread.c)
elseif(ARCH STREQUAL "amd64")
list(APPEND ASM_SOURCE
amd64/debug_asm.S
amd64/except_asm.S
amd64/slist.S)
list(APPEND SOURCE
bitmap64.c
byteswap.c
amd64/unwind.c
amd64/stubs.c
mem.c)
elseif(ARCH STREQUAL "arm")
list(APPEND ASM_SOURCE arm/debug_asm.S)
list(APPEND SOURCE
arm/except.c
byteswap.c
mem.c)
elseif(ARCH STREQUAL "powerpc")
list(APPEND ASM_SOURCE
powerpc/rtlmem.s
powerpc/rtlswap.s)
list(APPEND SOURCE
byteswap.c
powerpc/debug.c
powerpc/except.c
powerpc/interlocked.c
powerpc/thread.c)
endif()
add_asm_files(rtl_asm ${ASM_SOURCE})
add_library(rtl ${SOURCE} ${rtl_asm})
add_pch(rtl rtl.h SOURCE)
add_dependencies(rtl psdk asm)