mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 08:43:28 +00:00
795de760bd
add importlib targets for bootvid, kdcom, ttfd svn path=/branches/cmake-bringup/; revision=49664
30 lines
811 B
CMake
30 lines
811 B
CMake
|
|
spec2def(bootvid.dll bootvid.spec)
|
|
|
|
list(APPEND SOURCE
|
|
bootvid.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/bootvid.def)
|
|
|
|
if(ARCH MATCHES i386 OR ARCH MATCHES amd64)
|
|
list(APPEND SOURCE
|
|
i386/bootvid.c
|
|
i386/bootdata.c
|
|
i386/vga.c)
|
|
elseif(ARCH MATCHES arm)
|
|
list(APPEND SOURCE
|
|
arm/bootvid.c
|
|
arm/bootdata.c)
|
|
endif(ARCH MATCHES i386 OR ARCH MATCHES amd64)
|
|
|
|
add_library(bootvid SHARED ${CMAKE_CURRENT_BINARY_DIR}/bootvid_precomp.h.gch ${SOURCE})
|
|
|
|
set_entrypoint(bootvid 0)
|
|
set_subsystem(bootvid native)
|
|
set_image_base(bootvid 0x00010000)
|
|
|
|
add_importlibs(bootvid ntoskrnl hal)
|
|
add_pch(bootvid ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
|
add_dependencies(bootvid psdk buildno_header bugcodes)
|
|
add_minicd_target(bootvid reactos bootvid.dll)
|
|
add_cab_target(bootvid 1)
|
|
add_importlib_target(bootvid.spec)
|