[REACTOS] Fix 64 bit build (#465)
[reactos.git] / modules / rosapps / CMakeLists.txt
1 add_subdirectory(applications)
2 add_subdirectory(demos)
3 add_subdirectory(drivers)
4 add_subdirectory(include)
5 add_subdirectory(lib)
6 add_subdirectory(templates)
7
8 list(APPEND ROSAPPS_INF_FILES rosapps_shortcuts.inf)
9
10 foreach(item ${ROSAPPS_INF_FILES})
11 set(_rosapps_converted_item ${CMAKE_CURRENT_BINARY_DIR}/${item})
12 set(_rosapps_source_item ${CMAKE_CURRENT_SOURCE_DIR}/${item})
13 add_custom_command(OUTPUT "${_rosapps_converted_item}"
14 COMMAND native-utf16le "${_rosapps_source_item}" "${_rosapps_converted_item}"
15 DEPENDS native-utf16le "${_rosapps_source_item}")
16 add_cd_file(TARGET converted_inf_files2 FILE ${_rosapps_converted_item} DESTINATION reactos/inf FOR all)
17 list(APPEND rosapps_converted_item ${_rosapps_converted_item})
18 endforeach(item)
19 add_custom_target(converted_inf_files2 DEPENDS ${rosapps_converted_item})