mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 10:56:05 +00:00
[CMAKE]
- Add vgaddi, bmfd, vbemp, vgamp, vga, vmx_svga and xboxvmp to build. By Alexey Komarov. svn path=/branches/cmake-bringup/; revision=48946
This commit is contained in:
parent
06bc5262ae
commit
98d310566e
12 changed files with 102 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
|
||||
add_subdirectory(displays)
|
||||
add_subdirectory(font)
|
||||
add_subdirectory(miniport)
|
||||
add_subdirectory(videoprt)
|
||||
|
|
2
drivers/video/displays/CMakeLists.txt
Normal file
2
drivers/video/displays/CMakeLists.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
|
||||
add_subdirectory(vga)
|
22
drivers/video/displays/vga/CMakeLists.txt
Normal file
22
drivers/video/displays/vga/CMakeLists.txt
Normal file
|
@ -0,0 +1,22 @@
|
|||
|
||||
spec2def(vgaddi ${CMAKE_CURRENT_SOURCE_DIR}/vgaddi.spec ${CMAKE_CURRENT_BINARY_DIR}/vgaddi.def)
|
||||
|
||||
add_library(vgaddi SHARED
|
||||
main/enable.c
|
||||
objects/screen.c
|
||||
objects/pointer.c
|
||||
objects/lineto.c
|
||||
objects/paint.c
|
||||
objects/bitblt.c
|
||||
objects/transblt.c
|
||||
objects/offscreen.c
|
||||
objects/copybits.c
|
||||
vgavideo/vgavideo.c
|
||||
vgaddi.rc)
|
||||
|
||||
set_target_properties(vgaddi PROPERTIES LINK_FLAGS "-Wl,-entry,_DrvEnableDriver@12 -Wl,--subsystem,native -Wl,--image-base,0x00010000")
|
||||
|
||||
target_link_libraries(vgaddi ${CMAKE_CURRENT_BINARY_DIR}/vgaddi.def)
|
||||
|
||||
add_importlibs(vgaddi win32k)
|
||||
add_dependencies(vgaddi vgaddi_def psdk bugcodes)
|
12
drivers/video/font/bmfd/CMakeLists.txt
Normal file
12
drivers/video/font/bmfd/CMakeLists.txt
Normal file
|
@ -0,0 +1,12 @@
|
|||
|
||||
add_library(bmfd SHARED
|
||||
enable.c
|
||||
font.c
|
||||
glyph.c)
|
||||
|
||||
set_target_properties(bmfd PROPERTIES LINK_FLAGS "-Wl,-entry,_BmfdEnableDriver@12 -Wl,--subsystem,native -Wl,--image-base,0x00010000")
|
||||
|
||||
target_link_libraries(bmfd libcntpr)
|
||||
|
||||
add_importlibs(bmfd win32k)
|
||||
add_dependencies(bmfd psdk bugcodes)
|
6
drivers/video/miniport/CMakeLists.txt
Normal file
6
drivers/video/miniport/CMakeLists.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
add_subdirectory(vbe)
|
||||
add_subdirectory(vga)
|
||||
add_subdirectory(vga_new)
|
||||
add_subdirectory(vmx_svga)
|
||||
add_subdirectory(xboxvmp)
|
10
drivers/video/miniport/vbe/CMakeLists.txt
Normal file
10
drivers/video/miniport/vbe/CMakeLists.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
|
||||
add_library(vbemp SHARED
|
||||
edid.c
|
||||
vbemp.c
|
||||
vbemp.rc)
|
||||
|
||||
set_target_properties(vbemp PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native -Wl,--exclude-all-symbols" SUFFIX ".sys")
|
||||
|
||||
add_importlibs(vbemp videoprt)
|
||||
add_dependencies(vbemp psdk bugcodes)
|
13
drivers/video/miniport/vga/CMakeLists.txt
Normal file
13
drivers/video/miniport/vga/CMakeLists.txt
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
list(APPEND SOURCE
|
||||
initvga.c
|
||||
vgamp.c
|
||||
vgamp.rc)
|
||||
|
||||
add_library(vgamp SHARED ${CMAKE_CURRENT_BINARY_DIR}/vgamp_vgamp.h.gch ${SOURCE})
|
||||
|
||||
set_target_properties(vgamp PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native -Wl,--exclude-all-symbols" SUFFIX ".sys")
|
||||
|
||||
add_importlibs(vgamp videoprt)
|
||||
add_pch(vgamp ${CMAKE_CURRENT_SOURCE_DIR}/vgamp.h ${SOURCE})
|
||||
add_dependencies(vgamp psdk bugcodes)
|
18
drivers/video/miniport/vga_new/CMakeLists.txt
Normal file
18
drivers/video/miniport/vga_new/CMakeLists.txt
Normal file
|
@ -0,0 +1,18 @@
|
|||
|
||||
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})
|
||||
|
||||
set_target_properties(vga PROPERTIES COMPILE_FLAGS "-mrtd -fno-builtin" LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native -Wl,--exclude-all-symbols" SUFFIX ".sys")
|
||||
|
||||
target_link_libraries(vga libcntpr)
|
||||
|
||||
add_importlibs(vga videoprt)
|
||||
add_pch(vga ${CMAKE_CURRENT_SOURCE_DIR}/vga.h ${SOURCE})
|
||||
add_dependencies(vga psdk bugcodes)
|
10
drivers/video/miniport/vmx_svga/CMakeLists.txt
Normal file
10
drivers/video/miniport/vmx_svga/CMakeLists.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
|
||||
list(APPEND SOURCE vmx_svga.c vmx_svga.rc)
|
||||
|
||||
add_library(vmx_svga SHARED ${CMAKE_CURRENT_BINARY_DIR}/vmx_svga_precomp.h.gch ${SOURCE})
|
||||
|
||||
set_target_properties(vmx_svga PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native -Wl,--exclude-all-symbols" SUFFIX ".sys")
|
||||
|
||||
add_importlibs(vmx_svga ntoskrnl videoprt)
|
||||
add_pch(vmx_svga ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
||||
add_dependencies(vmx_svga psdk bugcodes)
|
7
drivers/video/miniport/xboxvmp/CMakeLists.txt
Normal file
7
drivers/video/miniport/xboxvmp/CMakeLists.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
add_library(xboxvmp SHARED xboxvmp.c xboxvmp.rc)
|
||||
|
||||
set_target_properties(xboxvmp PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--subsystem,native -Wl,--exclude-all-symbols" SUFFIX ".sys")
|
||||
|
||||
add_importlibs(xboxvmp ntoskrnl videoprt)
|
||||
add_dependencies(xboxvmp psdk bugcodes)
|
BIN
importlibs/libvideoprt.a
Normal file
BIN
importlibs/libvideoprt.a
Normal file
Binary file not shown.
BIN
importlibs/libwin32k.a
Normal file
BIN
importlibs/libwin32k.a
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue