mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
UWP: Logo assets
This commit is contained in:
parent
e84e1ed5a6
commit
6f796f1faf
7 changed files with 19 additions and 2 deletions
BIN
uwp/Assets/LockScreenLogo.scale-200.png
Normal file
BIN
uwp/Assets/LockScreenLogo.scale-200.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.8 KiB |
BIN
uwp/Assets/Square150x150Logo.png
Normal file
BIN
uwp/Assets/Square150x150Logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 79 KiB |
BIN
uwp/Assets/Square150x150Logo.scale-200.png
Normal file
BIN
uwp/Assets/Square150x150Logo.scale-200.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 79 KiB |
BIN
uwp/Assets/Square44x44Logo.scale-200.png
Normal file
BIN
uwp/Assets/Square44x44Logo.scale-200.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
BIN
uwp/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
Normal file
BIN
uwp/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
BIN
uwp/Assets/StoreLogo.png
Normal file
BIN
uwp/Assets/StoreLogo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.2 KiB |
|
|
@ -25,7 +25,15 @@ set(HASHLINK_DIR CACHE PATH "")
|
||||||
set(MBHAXE_DIR CACHE PATH "")
|
set(MBHAXE_DIR CACHE PATH "")
|
||||||
|
|
||||||
add_executable(${PROJECT_NAME} WIN32
|
add_executable(${PROJECT_NAME} WIN32
|
||||||
main.cpp
|
main.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
set(PkgAssets
|
||||||
|
Assets/LockScreenLogo.scale-200.png
|
||||||
|
Assets/Square44x44Logo.targetsize-24_altform-unplated.png
|
||||||
|
Assets/Square44x44Logo.scale-200.png
|
||||||
|
Assets/Square150x150Logo.scale-200.png
|
||||||
|
Assets/StoreLogo.png
|
||||||
)
|
)
|
||||||
|
|
||||||
set(BinDeps
|
set(BinDeps
|
||||||
|
|
@ -60,7 +68,7 @@ set(BinLibs
|
||||||
${HASHLINK_DIR}/uv.lib
|
${HASHLINK_DIR}/uv.lib
|
||||||
${MBHAXE_DIR}/marblegame.lib
|
${MBHAXE_DIR}/marblegame.lib
|
||||||
)
|
)
|
||||||
source_group("BinDep" FILES ${BinDeps})
|
source_group("BinDeps" FILES ${BinDeps})
|
||||||
|
|
||||||
set_source_files_properties(${BinDeps} PROPERTIES
|
set_source_files_properties(${BinDeps} PROPERTIES
|
||||||
VS_COPY_TO_OUT_DIR Always
|
VS_COPY_TO_OUT_DIR Always
|
||||||
|
|
@ -68,6 +76,14 @@ set_source_files_properties(${BinDeps} PROPERTIES
|
||||||
VS_DEPLOYMENT_LOCATION "."
|
VS_DEPLOYMENT_LOCATION "."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
source_group("PkgAssets" FILES ${PkgAssets})
|
||||||
|
|
||||||
|
set_source_files_properties(${PkgAssets} PROPERTIES
|
||||||
|
#VS_COPY_TO_OUT_DIR Always
|
||||||
|
VS_DEPLOYMENT_CONTENT TRUE
|
||||||
|
VS_DEPLOYMENT_LOCATION "Assets"
|
||||||
|
)
|
||||||
|
|
||||||
# Setup data deployment
|
# Setup data deployment
|
||||||
file(GLOB_RECURSE DATA_FILES
|
file(GLOB_RECURSE DATA_FILES
|
||||||
RELATIVE ${CMAKE_SOURCE_DIR}/..
|
RELATIVE ${CMAKE_SOURCE_DIR}/..
|
||||||
|
|
@ -93,6 +109,7 @@ target_sources(${PROJECT_NAME} PRIVATE
|
||||||
cacert.pem
|
cacert.pem
|
||||||
Package.appxmanifest
|
Package.appxmanifest
|
||||||
${BinDeps}
|
${BinDeps}
|
||||||
|
${PkgAssets}
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(${PROJECT_NAME} PRIVATE ${BinLibs} SDL2 WindowsApp.lib OneCore.lib)
|
target_link_libraries(${PROJECT_NAME} PRIVATE ${BinLibs} SDL2 WindowsApp.lib OneCore.lib)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue