1
2add_definitions(-DBUILDING_DRMK)
3spec2def(drmk.sys drmk.spec ADD_IMPORTLIB)
4
5list(APPEND SOURCE
6    stubs.cpp
7    drmk.rc
8    ${CMAKE_CURRENT_BINARY_DIR}/drmk.def)
9
10add_library(drmk MODULE ${SOURCE})
11set_module_type(drmk kernelmodedriver ENTRYPOINT 0)
12add_importlibs(drmk ntoskrnl)
13add_cd_file(TARGET drmk DESTINATION reactos/system32/drivers FOR all)
14