mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-09 06:30:39 +01:00
15 lines
365 B
CMake
15 lines
365 B
CMake
cmake_minimum_required(VERSION 3.2)
|
|
|
|
macro(wut_create_rpx target source)
|
|
target_link_libraries(${source}
|
|
wutnewlib
|
|
coreinit)
|
|
|
|
add_custom_target(${target} ALL
|
|
COMMAND ${WUT_ELF2RPL} ${source} ${target}
|
|
DEPENDS ${source}
|
|
COMMENT "Converting to RPX ${target}")
|
|
|
|
add_dependencies(${target} ${source})
|
|
endmacro(wut_create_rpx)
|