Author: akhaldi Date: Thu Sep 30 19:10:49 2010 New Revision: 48946
URL: http://svn.reactos.org/svn/reactos?rev=48946&view=rev Log: [CMAKE] - Add vgaddi, bmfd, vbemp, vgamp, vga, vmx_svga and xboxvmp to build. By Alexey Komarov.
Added: branches/cmake-bringup/drivers/video/displays/CMakeLists.txt (with props) branches/cmake-bringup/drivers/video/displays/vga/CMakeLists.txt (with props) branches/cmake-bringup/drivers/video/font/bmfd/CMakeLists.txt (with props) branches/cmake-bringup/drivers/video/miniport/CMakeLists.txt (with props) branches/cmake-bringup/drivers/video/miniport/vbe/CMakeLists.txt (with props) branches/cmake-bringup/drivers/video/miniport/vga/CMakeLists.txt (with props) branches/cmake-bringup/drivers/video/miniport/vga_new/CMakeLists.txt (with props) branches/cmake-bringup/drivers/video/miniport/vmx_svga/CMakeLists.txt (with props) branches/cmake-bringup/drivers/video/miniport/xboxvmp/CMakeLists.txt (with props) branches/cmake-bringup/importlibs/libvideoprt.a (with props) branches/cmake-bringup/importlibs/libwin32k.a (with props) Modified: branches/cmake-bringup/drivers/video/CMakeLists.txt
Modified: branches/cmake-bringup/drivers/video/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/video/CMak... ============================================================================== --- branches/cmake-bringup/drivers/video/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/drivers/video/CMakeLists.txt [iso-8859-1] Thu Sep 30 19:10:49 2010 @@ -1,3 +1,5 @@
+add_subdirectory(displays) add_subdirectory(font) +add_subdirectory(miniport) add_subdirectory(videoprt)
Added: branches/cmake-bringup/drivers/video/displays/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/video/disp... ============================================================================== --- branches/cmake-bringup/drivers/video/displays/CMakeLists.txt (added) +++ branches/cmake-bringup/drivers/video/displays/CMakeLists.txt [iso-8859-1] Thu Sep 30 19:10:49 2010 @@ -1,0 +1,2 @@ + +add_subdirectory(vga)
Propchange: branches/cmake-bringup/drivers/video/displays/CMakeLists.txt ------------------------------------------------------------------------------ svn:eol-style = native
Added: branches/cmake-bringup/drivers/video/displays/vga/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/video/disp... ============================================================================== --- branches/cmake-bringup/drivers/video/displays/vga/CMakeLists.txt (added) +++ branches/cmake-bringup/drivers/video/displays/vga/CMakeLists.txt [iso-8859-1] Thu Sep 30 19:10:49 2010 @@ -1,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)
Propchange: branches/cmake-bringup/drivers/video/displays/vga/CMakeLists.txt ------------------------------------------------------------------------------ svn:eol-style = native
Added: branches/cmake-bringup/drivers/video/font/bmfd/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/video/font... ============================================================================== --- branches/cmake-bringup/drivers/video/font/bmfd/CMakeLists.txt (added) +++ branches/cmake-bringup/drivers/video/font/bmfd/CMakeLists.txt [iso-8859-1] Thu Sep 30 19:10:49 2010 @@ -1,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)
Propchange: branches/cmake-bringup/drivers/video/font/bmfd/CMakeLists.txt ------------------------------------------------------------------------------ svn:eol-style = native
Added: branches/cmake-bringup/drivers/video/miniport/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/video/mini... ============================================================================== --- branches/cmake-bringup/drivers/video/miniport/CMakeLists.txt (added) +++ branches/cmake-bringup/drivers/video/miniport/CMakeLists.txt [iso-8859-1] Thu Sep 30 19:10:49 2010 @@ -1,0 +1,6 @@ + +add_subdirectory(vbe) +add_subdirectory(vga) +add_subdirectory(vga_new) +add_subdirectory(vmx_svga) +add_subdirectory(xboxvmp)
Propchange: branches/cmake-bringup/drivers/video/miniport/CMakeLists.txt ------------------------------------------------------------------------------ svn:eol-style = native
Added: branches/cmake-bringup/drivers/video/miniport/vbe/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/video/mini... ============================================================================== --- branches/cmake-bringup/drivers/video/miniport/vbe/CMakeLists.txt (added) +++ branches/cmake-bringup/drivers/video/miniport/vbe/CMakeLists.txt [iso-8859-1] Thu Sep 30 19:10:49 2010 @@ -1,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)
Propchange: branches/cmake-bringup/drivers/video/miniport/vbe/CMakeLists.txt ------------------------------------------------------------------------------ svn:eol-style = native
Added: branches/cmake-bringup/drivers/video/miniport/vga/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/video/mini... ============================================================================== --- branches/cmake-bringup/drivers/video/miniport/vga/CMakeLists.txt (added) +++ branches/cmake-bringup/drivers/video/miniport/vga/CMakeLists.txt [iso-8859-1] Thu Sep 30 19:10:49 2010 @@ -1,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)
Propchange: branches/cmake-bringup/drivers/video/miniport/vga/CMakeLists.txt ------------------------------------------------------------------------------ svn:eol-style = native
Added: branches/cmake-bringup/drivers/video/miniport/vga_new/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/video/mini... ============================================================================== --- branches/cmake-bringup/drivers/video/miniport/vga_new/CMakeLists.txt (added) +++ branches/cmake-bringup/drivers/video/miniport/vga_new/CMakeLists.txt [iso-8859-1] Thu Sep 30 19:10:49 2010 @@ -1,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)
Propchange: branches/cmake-bringup/drivers/video/miniport/vga_new/CMakeLists.txt ------------------------------------------------------------------------------ svn:eol-style = native
Added: branches/cmake-bringup/drivers/video/miniport/vmx_svga/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/video/mini... ============================================================================== --- branches/cmake-bringup/drivers/video/miniport/vmx_svga/CMakeLists.txt (added) +++ branches/cmake-bringup/drivers/video/miniport/vmx_svga/CMakeLists.txt [iso-8859-1] Thu Sep 30 19:10:49 2010 @@ -1,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)
Propchange: branches/cmake-bringup/drivers/video/miniport/vmx_svga/CMakeLists.txt ------------------------------------------------------------------------------ svn:eol-style = native
Added: branches/cmake-bringup/drivers/video/miniport/xboxvmp/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/video/mini... ============================================================================== --- branches/cmake-bringup/drivers/video/miniport/xboxvmp/CMakeLists.txt (added) +++ branches/cmake-bringup/drivers/video/miniport/xboxvmp/CMakeLists.txt [iso-8859-1] Thu Sep 30 19:10:49 2010 @@ -1,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)
Propchange: branches/cmake-bringup/drivers/video/miniport/xboxvmp/CMakeLists.txt ------------------------------------------------------------------------------ svn:eol-style = native
Added: branches/cmake-bringup/importlibs/libvideoprt.a URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/importlibs/libvide... ============================================================================== Binary file - no diff available.
Propchange: branches/cmake-bringup/importlibs/libvideoprt.a ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream
Added: branches/cmake-bringup/importlibs/libwin32k.a URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/importlibs/libwin3... ============================================================================== Binary file - no diff available.
Propchange: branches/cmake-bringup/importlibs/libwin32k.a ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream