[DISPLAYS]

- DrvEnableDriver does not need to be exported. Fixes MSVC warnings (LNK4216: Exported entry point _DrvEnableDriver@12)

svn path=/trunk/; revision=69049
This commit is contained in:
Thomas Faber 2015-09-06 08:35:01 +00:00
parent 68f6155242
commit 813a68a73c
8 changed files with 3 additions and 17 deletions

View file

@ -1,6 +1,4 @@
spec2def(framebuf.dll framebuf.spec)
list(APPEND SOURCE
enable.c
palette.c
@ -11,8 +9,7 @@ list(APPEND SOURCE
add_library(framebuf SHARED
${SOURCE}
framebuf.rc
${CMAKE_CURRENT_BINARY_DIR}/framebuf.def)
framebuf.rc)
set_module_type(framebuf kerneldll ENTRYPOINT DrvEnableDriver 12)
add_pch(framebuf framebuf.h SOURCE)

View file

@ -1 +0,0 @@
@ stdcall DrvEnableDriver(long long ptr)

View file

@ -1,6 +1,4 @@
spec2def(framebuf_new.dll framebuf_new.spec)
list(APPEND SOURCE
debug.c
enable.c
@ -11,8 +9,7 @@ list(APPEND SOURCE
add_library(framebuf_new SHARED
${SOURCE}
framebuf_new.rc
${CMAKE_CURRENT_BINARY_DIR}/framebuf_new.def)
framebuf_new.rc)
set_module_type(framebuf_new kerneldll ENTRYPOINT DrvEnableDriver 12)
target_link_libraries(framebuf_new libcntpr)

View file

@ -1 +0,0 @@
@ stdcall DrvEnableDriver(long long ptr)

View file

@ -1 +0,0 @@
@ stdcall DrvEnableDriver(long long ptr)

View file

@ -1,6 +1,4 @@
spec2def(vgaddi.dll vgaddi.spec)
list(APPEND SOURCE
main/enable.c
objects/screen.c
@ -16,8 +14,7 @@ list(APPEND SOURCE
add_library(vgaddi SHARED
${SOURCE}
vgaddi.rc
${CMAKE_CURRENT_BINARY_DIR}/vgaddi.def)
vgaddi.rc)
set_module_type(vgaddi kerneldll ENTRYPOINT DrvEnableDriver 12)
add_pch(vgaddi vgaddi.h SOURCE)

View file

@ -1 +0,0 @@
@ stdcall DrvEnableDriver(long long ptr)

View file

@ -1 +0,0 @@
@ stdcall DrvEnableDriver(long long ptr)