mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:24:17 +01:00
cmake: Add wut_link_rpl for linking to an rpl that has exports.
The exports must have been added with wut_add_exports.
This commit is contained in:
parent
07e77e9136
commit
191200b5cb
@ -48,6 +48,10 @@ function(wut_add_exports target exports_file)
|
||||
target_link_libraries(${target}_imports INTERFACE "-T${RPL_IMPORT_LINKER_SCRIPT}")
|
||||
endfunction()
|
||||
|
||||
function(wut_link_rpl target source)
|
||||
target_link_libraries(${target} ${source}_imports)
|
||||
endfunction()
|
||||
|
||||
function(wut_create_rpl_deprecated target source)
|
||||
set(RPL_OPTIONS IS_RPX)
|
||||
set(RPL_SINGLE_ARGS "")
|
||||
|
Loading…
Reference in New Issue
Block a user