xref: /reactos/media/inf/CMakeLists.txt (revision c2c66aff)
1*c2c66affSColin Finck
2*c2c66affSColin Fincklist(APPEND INF_FILES
3*c2c66affSColin Finck    acpi.inf
4*c2c66affSColin Finck    audio.inf
5*c2c66affSColin Finck    battery.inf
6*c2c66affSColin Finck    bda.inf
7*c2c66affSColin Finck    bth.inf
8*c2c66affSColin Finck    c_image.inf
9*c2c66affSColin Finck    cdrom.inf
10*c2c66affSColin Finck    cpu.inf
11*c2c66affSColin Finck    disk.inf
12*c2c66affSColin Finck    display.inf
13*c2c66affSColin Finck    fdc.inf
14*c2c66affSColin Finck    flpydisk.inf
15*c2c66affSColin Finck    hal.inf
16*c2c66affSColin Finck    hdaudbus.inf
17*c2c66affSColin Finck    hdc.inf
18*c2c66affSColin Finck    input.inf
19*c2c66affSColin Finck    keyboard.inf
20*c2c66affSColin Finck    ks.inf
21*c2c66affSColin Finck    kscaptur.inf
22*c2c66affSColin Finck    legcydrv.inf
23*c2c66affSColin Finck    machine.inf
24*c2c66affSColin Finck    monitor.inf
25*c2c66affSColin Finck    msmouse.inf
26*c2c66affSColin Finck    NET_NIC.inf
27*c2c66affSColin Finck    netamd.inf
28*c2c66affSColin Finck    netisa.inf
29*c2c66affSColin Finck    netrtl.inf
30*c2c66affSColin Finck    netrtpnt.inf
31*c2c66affSColin Finck    nettcpip.inf
32*c2c66affSColin Finck    ports.inf
33*c2c66affSColin Finck    scsi.inf
34*c2c66affSColin Finck    shortcuts.inf
35*c2c66affSColin Finck    unknown.inf
36*c2c66affSColin Finck    usb.inf
37*c2c66affSColin Finck    usbport.inf
38*c2c66affSColin Finck    usbstor.inf
39*c2c66affSColin Finck    wdmaudio.inf
40*c2c66affSColin Finck    wmiacpi.inf
41*c2c66affSColin Finck    xboxdisp.inf)
42*c2c66affSColin Finck
43*c2c66affSColin Fincklist(APPEND UTF8_INF_FILES
44*c2c66affSColin Finck    defltws.inf
45*c2c66affSColin Finck    font.inf
46*c2c66affSColin Finck    intl.inf
47*c2c66affSColin Finck    layout.inf)
48*c2c66affSColin Finck
49*c2c66affSColin Finckforeach(item ${INF_FILES})
50*c2c66affSColin Finck    set(_converted_item ${CMAKE_CURRENT_BINARY_DIR}/${item})
51*c2c66affSColin Finck    set(_source_item ${CMAKE_CURRENT_SOURCE_DIR}/${item})
52*c2c66affSColin Finck    add_custom_command(OUTPUT "${_converted_item}"
53*c2c66affSColin Finck                       COMMAND native-utf16le "${_source_item}" "${_converted_item}"
54*c2c66affSColin Finck                       DEPENDS native-utf16le "${_source_item}")
55*c2c66affSColin Finck    add_cd_file(TARGET converted_inf_files FILE ${_converted_item} DESTINATION reactos/inf FOR all)
56*c2c66affSColin Finck    list(APPEND _converted_inf_files ${_converted_item})
57*c2c66affSColin Finckendforeach(item)
58*c2c66affSColin Finck
59*c2c66affSColin Finckadd_custom_target(converted_inf_files DEPENDS ${_converted_inf_files})
60*c2c66affSColin Finck
61*c2c66affSColin Finckforeach(item ${UTF8_INF_FILES})
62*c2c66affSColin Finck    add_cd_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/${item}" DESTINATION reactos/inf FOR all)
63*c2c66affSColin Finckendforeach(item)
64*c2c66affSColin Finck
65*c2c66affSColin Finckadd_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/syssetup.inf DESTINATION reactos/inf FOR all)
66