blob: cef6d237e12d699f3b8a25d082d56adb4fc7899c [file] [log] [blame] [edit]
dofile('rive_tools_project.lua')
if not _OPTIONS['for_unreal'] then
rive_tools_project('bench', _OPTIONS['os'] == 'ios' and 'StaticLib' or 'ConsoleApp')
do
files({ 'bench/*.cpp' })
end
end
rive_tools_project('gms', 'RiveTool')
do
files({ 'gm/*.cpp', RIVE_PLS_DIR .. '/shader_hotload/**.cpp' })
filter({ 'options:for_unreal' })
do
defines({ 'RIVE_UNREAL' })
end
end
rive_tools_project('goldens', 'RiveTool')
do
exceptionhandling('On')
files({ 'goldens/goldens.cpp', RIVE_PLS_DIR .. '/shader_hotload/**.cpp' })
filter({ 'options:for_unreal' })
do
defines({ 'RIVE_UNREAL' })
end
end
rive_tools_project('player', 'RiveTool')
do
files({ 'player/player.cpp', RIVE_PLS_DIR .. '/shader_hotload/**.cpp' })
end