mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
add ios launchscreen switch according to edit cfg (#3946)
This commit is contained in:
@@ -13,6 +13,11 @@ set(PROJ_COMMON_SOURCES
|
||||
${CMAKE_CURRENT_LIST_DIR}/../common/Classes/Game.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/../common/Classes/Game.cpp
|
||||
)
|
||||
if (USE_PORTRAIT)
|
||||
configure_file(${CMAKE_CURRENT_LIST_DIR}/LaunchScreenBackgroundPortrait.png ${CMAKE_CURRENT_LIST_DIR}/LaunchScreenBackground.png COPYONLY)
|
||||
else()
|
||||
configure_file(${CMAKE_CURRENT_LIST_DIR}/LaunchScreenBackgroundLandscape.png ${CMAKE_CURRENT_LIST_DIR}/LaunchScreenBackground.png COPYONLY)
|
||||
endif()
|
||||
|
||||
set(UI_RESOURCES
|
||||
${CMAKE_CURRENT_LIST_DIR}/LaunchScreenBackground.png
|
||||
|
||||
|
Before Width: | Height: | Size: 501 KiB After Width: | Height: | Size: 501 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 454 KiB |
Reference in New Issue
Block a user