[uxtheme]
[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 set_target_properties(framebuf_new PROPERTIES COMPILE_FLAGS "/Gz")
18 else()
19 set_target_properties(framebuf_new PROPERTIES COMPILE_FLAGS "-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)