mirror of
https://github.com/reactos/reactos.git
synced 2024-08-30 23:28:58 +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.
13 lines
308 B
CMake
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)
|