1
2spec2def(pciidex.sys pciidex.spec ADD_IMPORTLIB)
3
4list(APPEND SOURCE
5    fdo.c
6    miniport.c
7    pciidex.c
8    pdo.c
9    power.c
10    pciidex.h)
11
12add_library(pciidex MODULE
13    ${SOURCE}
14    pciidex.rc
15    ${CMAKE_CURRENT_BINARY_DIR}/pciidex.def)
16
17add_pch(pciidex pciidex.h SOURCE)
18set_module_type(pciidex kernelmodedriver)
19add_importlibs(pciidex ntoskrnl hal)
20add_cd_file(TARGET pciidex DESTINATION reactos/system32/drivers NO_CAB FOR all)
21