mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 04:11:30 +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.
18 lines
422 B
CMake
18 lines
422 B
CMake
|
|
set_cpp()
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
list(APPEND SOURCE
|
|
hdaudbus.cpp
|
|
fdo.cpp
|
|
pdo.cpp
|
|
businterface.cpp)
|
|
|
|
add_library(hdaudbus MODULE ${SOURCE})
|
|
set_module_type(hdaudbus kernelmodedriver)
|
|
target_link_libraries(hdaudbus libcntpr ${PSEH_LIB})
|
|
add_importlibs(hdaudbus ntoskrnl hal)
|
|
add_cd_file(TARGET hdaudbus DESTINATION reactos/system32/drivers FOR all)
|