mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
6681fb8af5
So far we only have: - a function FindNTOSBootLoader() that detects the existence of a given boot loader; - a function EnumerateNTOSBootEntries() (and corresponding helpers) that enumerate the different boot entries in the configuration file(s) for a given boot loader, and for each entry, calls a user-provided callback. Only supported at the moment: ntldr and freeldr. Doing that allows me to simplify large portions of the NT-OS detection code so that it becomes more bootloader-agnostic, and this will help me for simplifying some parts of usetup/bootsup.c too, later... svn path=/branches/setup_improvements/; revision=74661
16 lines
271 B
CMake
16 lines
271 B
CMake
|
|
list(APPEND SOURCE
|
|
arcname.c
|
|
bldrsup.c
|
|
filesup.c
|
|
fsutil.c
|
|
genlist.c
|
|
inicache.c
|
|
ntverrsrc.c
|
|
osdetect.c
|
|
partlist.c
|
|
precomp.h)
|
|
|
|
add_library(setuplib ${SOURCE})
|
|
add_pch(setuplib precomp.h SOURCE)
|
|
add_dependencies(setuplib xdk) # psdk
|