set(UWP_RESOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "UWP resources directory")

set(
  UWP_RESOURCE_ASSETS
        Assets/LockScreenLogo.scale-200.png
        Assets/SplashScreen.png
        Assets/Square44x44Logo.scale-200.png
        Assets/Square44x44Logo.targetsize-24_altform-unplated.png
        Assets/Square150x150Logo.scale-200.png
        Assets/StoreLogo.png
        Assets/Wide310x150Logo.scale-200.png
  CACHE INTERNAL "UWP resource asset files"
)

set_property(SOURCE ${UWP_RESOURCE_ASSETS} PROPERTY VS_DEPLOYMENT_CONTENT 1)
set_property(SOURCE ${UWP_RESOURCE_ASSETS} PROPERTY VS_DEPLOYMENT_LOCATION "Assets")

# Add absolute filepaths to UWP_RESOURCES
set(UWP_RESOURCES "")

foreach(asset ${UWP_RESOURCE_ASSETS})
  list(APPEND UWP_RESOURCES ${UWP_RESOURCE_DIR}/${asset})
endforeach()

set(UWP_RESOURCES ${UWP_RESOURCES} CACHE INTERNAL "UWP resources")
