mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
0b366ea122
Used when we convert files to UTF16-LE during our build process. Removes duplicated code.
20 lines
763 B
CMake
20 lines
763 B
CMake
add_subdirectory(applications)
|
|
add_subdirectory(demos)
|
|
add_subdirectory(drivers)
|
|
add_subdirectory(include)
|
|
add_subdirectory(lib)
|
|
|
|
if(ENABLE_ROSAPPS_TEMPLATES)
|
|
add_subdirectory(templates)
|
|
endif()
|
|
|
|
list(APPEND ROSAPPS_INF_FILES rosapps_shortcuts.inf)
|
|
|
|
foreach(item ${ROSAPPS_INF_FILES})
|
|
set(_rosapps_converted_item ${CMAKE_CURRENT_BINARY_DIR}/${item})
|
|
set(_rosapps_source_item ${CMAKE_CURRENT_SOURCE_DIR}/${item})
|
|
utf16le_convert(${_rosapps_source_item} ${_rosapps_converted_item})
|
|
add_cd_file(TARGET converted_inf_files2 FILE ${_rosapps_converted_item} DESTINATION reactos/inf FOR all)
|
|
list(APPEND rosapps_converted_item ${_rosapps_converted_item})
|
|
endforeach(item)
|
|
add_custom_target(converted_inf_files2 DEPENDS ${rosapps_converted_item})
|