reactos/win32ss/reactx/dxapi/CMakeLists.txt
Jérôme Gardou 23373acbb9 [CMAKE] Use modules instead of shared libraries
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.
2019-04-06 17:43:38 +02:00

13 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)