[CMAKE]
[reactos.git] / drivers / video / miniport / vga_new / CMakeLists.txt
1
2 list(APPEND SOURCE
3 modeset.c
4 vgadata.c
5 vga.c
6 vbemodes.c
7 vbe.c
8 vga.rc)
9
10 add_library(vga SHARED ${CMAKE_CURRENT_BINARY_DIR}/vga_vga.h.gch ${SOURCE})
11
12 set_target_properties(vga PROPERTIES COMPILE_FLAGS "-mrtd -fno-builtin" LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native -Wl,--exclude-all-symbols" SUFFIX ".sys")
13
14 target_link_libraries(vga libcntpr)
15
16 add_importlibs(vga videoprt)
17 add_pch(vga ${CMAKE_CURRENT_SOURCE_DIR}/vga.h ${SOURCE})
18 add_dependencies(vga psdk bugcodes)
19 add_livecd_target(vga reactos/system32/drivers)