aca811a5963b6a28b6285844204aaea3507b13a6
[reactos.git] / reactos / drivers / video / displays / framebuf_new / CMakeLists.txt
1
2 spec2def(framebuf_new.dll framebuf_new.spec)
3
4 list(APPEND SOURCE
5 debug.c
6 enable.c
7 palette.c
8 pointer.c
9 screen.c
10 framebuf_new.rc
11 ${CMAKE_CURRENT_BINARY_DIR}/framebuf_new.def)
12
13 add_library(framebuf_new SHARED ${SOURCE})
14
15 if(ARCH MATCHES i386)
16 if(MSVC)
17 add_target_compile_flags(framebuf_new "/Gz")
18 else()
19 add_target_compile_flags(framebuf_new "-mrtd -fno-builtin")
20 endif()
21 endif()
22
23 set_entrypoint(framebuf_new DrvEnableDriver 12)
24 set_subsystem(framebuf_new native)
25 set_image_base(framebuf_new 0x00010000)
26
27 target_link_libraries(framebuf_new libcntpr)
28
29 add_importlibs(framebuf_new win32k)
30 add_pch(framebuf_new driver.h)
31 add_dependencies(framebuf_new psdk bugcodes)