wut/share/wut.cmake

15 lines
365 B
CMake
Raw Normal View History

2018-05-22 23:08:13 +01:00
cmake_minimum_required(VERSION 3.2)
macro(wut_create_rpx target source)
2018-05-25 11:31:38 +01:00
target_link_libraries(${source}
wutnewlib
coreinit)
add_custom_target(${target} ALL
COMMAND ${WUT_ELF2RPL} ${source} ${target}
DEPENDS ${source}
COMMENT "Converting to RPX ${target}")
2018-05-22 23:08:13 +01:00
add_dependencies(${target} ${source})
endmacro(wut_create_rpx)