mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
23373acbb9
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.
26 lines
484 B
CMake
26 lines
484 B
CMake
|
|
spec2def(dxg.sys dxg.spec)
|
|
|
|
list(APPEND SOURCE
|
|
main.c
|
|
ddhmg.c
|
|
d3d.c
|
|
dd.c
|
|
ddraw.c
|
|
ddsurf.c
|
|
eng.c
|
|
historic.c
|
|
dxg_int.h)
|
|
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/win32ss/include)
|
|
|
|
add_library(dxg MODULE
|
|
${SOURCE}
|
|
dxg.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/dxg.def)
|
|
|
|
set_module_type(dxg kernelmodedriver)
|
|
add_importlibs(dxg dxgthk ntoskrnl)
|
|
add_pch(dxg dxg_int.h SOURCE)
|
|
add_cd_file(TARGET dxg DESTINATION reactos/system32/drivers FOR all)
|