mirror of
https://github.com/reactos/reactos.git
synced 2024-08-16 16:39:08 +00:00
![Jérôme Gardou](/assets/img/avatar_default.png)
There is no need to compile our DLLs as shared libraries since we are managing symbols exports and imports through spec files. On my system, this reduces the configure-time by a factor of two.
20 lines
438 B
CMake
20 lines
438 B
CMake
|
|
list(APPEND SOURCE
|
|
enable.c
|
|
palette.c
|
|
pointer.c
|
|
screen.c
|
|
surface.c
|
|
framebuf.h)
|
|
|
|
add_library(framebuf MODULE
|
|
${SOURCE}
|
|
framebuf.rc)
|
|
|
|
set_module_type(framebuf kerneldll ENTRYPOINT DrvEnableDriver 12)
|
|
add_pch(framebuf framebuf.h SOURCE)
|
|
target_link_libraries(framebuf libcntpr)
|
|
add_importlibs(framebuf win32k)
|
|
add_dependencies(framebuf psdk)
|
|
add_cd_file(TARGET framebuf DESTINATION reactos/system32 FOR all)
|