284cb624661a72a65e60608026e0d089bd20256f
[reactos.git] / drivers / video / displays / vga / CMakeLists.txt
1
2 spec2def(vgaddi ${CMAKE_CURRENT_SOURCE_DIR}/vgaddi.spec ${CMAKE_CURRENT_BINARY_DIR}/vgaddi.def)
3
4 add_library(vgaddi SHARED
5 main/enable.c
6 objects/screen.c
7 objects/pointer.c
8 objects/lineto.c
9 objects/paint.c
10 objects/bitblt.c
11 objects/transblt.c
12 objects/offscreen.c
13 objects/copybits.c
14 vgavideo/vgavideo.c
15 vgaddi.rc)
16
17 set_target_properties(vgaddi PROPERTIES LINK_FLAGS "-Wl,-entry,_DrvEnableDriver@12 -Wl,--subsystem,native -Wl,--image-base,0x00010000")
18
19 target_link_libraries(vgaddi ${CMAKE_CURRENT_BINARY_DIR}/vgaddi.def)
20
21 add_importlibs(vgaddi win32k)
22 add_dependencies(vgaddi vgaddi_def psdk bugcodes)
23 add_livecd_target(vgaddi reactos/system32)