mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +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.
12 lines
308 B
CMake
12 lines
308 B
CMake
|
|
add_definitions(-D_DXAPI_)
|
|
spec2def(dxapi.sys dxapi.spec)
|
|
|
|
add_library(dxapi MODULE
|
|
main.c
|
|
dxapi.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/dxapi.def)
|
|
|
|
set_module_type(dxapi kernelmodedriver)
|
|
add_importlibs(dxapi ntoskrnl hal videoprt)
|
|
add_cd_file(TARGET dxapi DESTINATION reactos/system32/drivers FOR all)
|