mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
c2d0d784c7
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup - In the future, DO NOT under any circumstances branch another branch. This leads to merge problems! svn path=/branches/usb-bringup-trunk/; revision=55018
31 lines
717 B
CMake
31 lines
717 B
CMake
|
|
spec2def(framebuf_new.dll framebuf_new.spec)
|
|
|
|
list(APPEND SOURCE
|
|
debug.c
|
|
enable.c
|
|
palette.c
|
|
pointer.c
|
|
screen.c
|
|
framebuf_new.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/framebuf_new.def)
|
|
|
|
add_library(framebuf_new SHARED ${SOURCE})
|
|
|
|
if(ARCH MATCHES i386)
|
|
if(MSVC)
|
|
add_target_compile_flags(framebuf_new "/Gz")
|
|
else()
|
|
add_target_compile_flags(framebuf_new "-mrtd -fno-builtin")
|
|
endif()
|
|
endif()
|
|
|
|
set_entrypoint(framebuf_new DrvEnableDriver 12)
|
|
set_subsystem(framebuf_new native)
|
|
set_image_base(framebuf_new 0x00010000)
|
|
|
|
target_link_libraries(framebuf_new libcntpr)
|
|
|
|
add_importlibs(framebuf_new win32k)
|
|
add_pch(framebuf_new driver.h)
|
|
add_dependencies(framebuf_new psdk bugcodes)
|