mirror of
https://github.com/reactos/reactos.git
synced 2024-08-26 21:28:48 +00:00
![Amine Khaldi](/assets/img/avatar_default.png)
* Create a branch for some evul shell experiments. svn path=/branches/shell-experiments/; revision=61927
30 lines
702 B
CMake
30 lines
702 B
CMake
|
|
spec2def(bootvid.dll bootvid.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
bootvid.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/bootvid.def)
|
|
|
|
if(ARCH STREQUAL "i386" OR ARCH STREQUAL "amd64")
|
|
list(APPEND SOURCE
|
|
i386/bootvid.c
|
|
i386/bootdata.c
|
|
i386/vga.c)
|
|
elseif(ARCH STREQUAL "arm")
|
|
list(APPEND SOURCE
|
|
arm/bootvid.c
|
|
arm/bootdata.c)
|
|
endif(ARCH STREQUAL "i386" OR ARCH STREQUAL "amd64")
|
|
|
|
add_library(bootvid SHARED ${SOURCE})
|
|
|
|
set_entrypoint(bootvid 0)
|
|
set_subsystem(bootvid native)
|
|
set_image_base(bootvid 0x00010000)
|
|
|
|
add_importlibs(bootvid ntoskrnl hal)
|
|
add_pch(bootvid precomp.h)
|
|
add_dependencies(bootvid psdk bugcodes)
|
|
add_cd_file(TARGET bootvid DESTINATION reactos/system32 NO_CAB FOR all)
|
|
|