mirror of https://github.com/encounter/SDL.git
Only copy resources to PSP eboot directory if it exists
This commit is contained in:
parent
9d0b4d85fc
commit
cd6cb959c0
|
@ -134,6 +134,30 @@ endif()
|
|||
|
||||
file(GLOB RESOURCE_FILES *.bmp *.wav *.hex moose.dat utf8.txt)
|
||||
file(COPY ${RESOURCE_FILES} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||
if(PSP)
|
||||
set(NEEDS_RESOURCES
|
||||
testscale
|
||||
testrendercopyex
|
||||
controllermap
|
||||
testyuv
|
||||
testgamecontroller
|
||||
testshape
|
||||
testshader
|
||||
testspriteminimal
|
||||
testautomation
|
||||
testrendertarget
|
||||
testsprite2
|
||||
loopwave
|
||||
loopwavequeue
|
||||
testresample
|
||||
testaudiohotplug
|
||||
testmultiaudio
|
||||
testiconv
|
||||
testoverlay2
|
||||
teststreaming
|
||||
testviewport
|
||||
)
|
||||
else()
|
||||
set(NEEDS_RESOURCES
|
||||
testscale
|
||||
testrendercopyex
|
||||
|
@ -153,34 +177,18 @@ set(NEEDS_RESOURCES
|
|||
testaudiohotplug
|
||||
testmultiaudio
|
||||
testime
|
||||
testnative
|
||||
testiconv
|
||||
testoverlay2
|
||||
teststreaming
|
||||
testviewport
|
||||
)
|
||||
if(NOT PSP)
|
||||
set(NEEDS_RESOURCES ${NEEDS_RESOURCES} testnative)
|
||||
endif()
|
||||
|
||||
if(PSP)
|
||||
# Build EBOOT files if building for PSP
|
||||
set(BUILD_EBOOT
|
||||
testscale
|
||||
testrendercopyex
|
||||
controllermap
|
||||
testyuv
|
||||
testgamecontroller
|
||||
testshape
|
||||
testshader
|
||||
testspriteminimal
|
||||
testautomation
|
||||
testrendertarget
|
||||
testsprite2
|
||||
loopwave
|
||||
loopwavequeue
|
||||
testresample
|
||||
testaudiohotplug
|
||||
testmultiaudio
|
||||
${NEEDS_RESOURCES}
|
||||
testoffscreen
|
||||
testbounds
|
||||
testgl2
|
||||
|
|
Loading…
Reference in New Issue