mirror of
https://github.com/reactos/reactos.git
synced 2025-07-28 11:51:54 +00:00
[INF]
- Save inf files as UTF-8 in SVN, convert them to UTF-16 at build time as needed. CORE-8221 svn path=/trunk/; revision=66289
This commit is contained in:
parent
88db04e8d6
commit
ea641395a6
38 changed files with 18 additions and 4 deletions
|
@ -8,20 +8,16 @@ list(APPEND INF_FILES
|
|||
c_image.inf
|
||||
cdrom.inf
|
||||
cpu.inf
|
||||
defltws.inf
|
||||
disk.inf
|
||||
display.inf
|
||||
fdc.inf
|
||||
flpydisk.inf
|
||||
font.inf
|
||||
hal.inf
|
||||
hdc.inf
|
||||
input.inf
|
||||
intl.inf
|
||||
keyboard.inf
|
||||
ks.inf
|
||||
kscaptur.inf
|
||||
layout.inf
|
||||
legcydrv.inf
|
||||
machine.inf
|
||||
monitor.inf
|
||||
|
@ -42,7 +38,25 @@ list(APPEND INF_FILES
|
|||
wdmaudio.inf
|
||||
xboxdisp.inf)
|
||||
|
||||
list(APPEND UTF8_INF_FILES
|
||||
defltws.inf
|
||||
font.inf
|
||||
intl.inf
|
||||
layout.inf)
|
||||
|
||||
foreach(item ${INF_FILES})
|
||||
set(_converted_item ${CMAKE_CURRENT_BINARY_DIR}/${item})
|
||||
set(_source_item ${CMAKE_CURRENT_SOURCE_DIR}/${item})
|
||||
add_custom_command(OUTPUT "${_converted_item}"
|
||||
COMMAND native-utf16le "${_source_item}" "${_converted_item}"
|
||||
DEPENDS native-utf16le "${_source_item}")
|
||||
add_cd_file(TARGET converted_inf_files FILE ${_converted_item} DESTINATION reactos/inf FOR all)
|
||||
list(APPEND _converted_inf_files ${_converted_item})
|
||||
endforeach(item)
|
||||
|
||||
add_custom_target(converted_inf_files DEPENDS ${_converted_inf_files})
|
||||
|
||||
foreach(item ${UTF8_INF_FILES})
|
||||
add_cd_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/${item}" DESTINATION reactos/inf FOR all)
|
||||
endforeach(item)
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue