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