c741d6ee9ef016d3261466b495b2b2d70ed064a5
[reactos.git] / drivers / video / displays / framebuf / CMakeLists.txt
1
2 spec2def(framebuf ${CMAKE_CURRENT_SOURCE_DIR}/framebuf.spec ${CMAKE_CURRENT_BINARY_DIR}/framebuf.def)
3
4 add_library(framebuf SHARED
5 enable.c
6 palette.c
7 pointer.c
8 screen.c
9 surface.c
10 framebuf.rc)
11
12 set_target_properties(framebuf PROPERTIES LINK_FLAGS "-Wl,-entry,_DrvEnableDriver@12 -Wl,--image-base,0x00010000 -Wl,--subsystem,native")
13
14 target_link_libraries(framebuf
15 ${CMAKE_CURRENT_BINARY_DIR}/framebuf.def)
16
17 add_importlibs(framebuf win32k)
18 add_dependencies(framebuf framebuf_def psdk bugcodes)
19 add_livecd_target(framebuf reactos/system32)