mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00
25 lines
514 B
CMake
25 lines
514 B
CMake
|
|
list(APPEND SOURCE
|
|
modeset.c
|
|
vgadata.c
|
|
vga.c
|
|
vbemodes.c
|
|
vbe.c
|
|
vga.rc)
|
|
|
|
add_library(vga SHARED ${CMAKE_CURRENT_BINARY_DIR}/vga_vga.h.gch ${SOURCE})
|
|
|
|
target_link_libraries(vga libcntpr)
|
|
|
|
if(MSVC)
|
|
set_target_properties(vga PROPERTIES COMPILE_FLAGS "/Gz")
|
|
else()
|
|
set_target_properties(vga PROPERTIES COMPILE_FLAGS "-mrtd -fno-builtin")
|
|
endif()
|
|
|
|
set_module_type(vga kernelmodedriver)
|
|
add_importlibs(vga videoprt)
|
|
|
|
add_pch(vga ${CMAKE_CURRENT_SOURCE_DIR}/vga.h ${SOURCE})
|
|
|
|
add_cab_target(vga 2)
|