include(PanoPainterAutomation)

pp_add_powershell_automation_target(panopainter_platform_build_headless
    COMMENT "Run the default headless platform build matrix."
    ARGUMENTS
        -File "${CMAKE_CURRENT_SOURCE_DIR}/scripts/automation/platform-build.ps1")

pp_add_powershell_automation_target(panopainter_platform_build_android_assets
    COMMENT "Build Android root CMake asset component across standard/VR presets."
    ARGUMENTS
        -File "${CMAKE_CURRENT_SOURCE_DIR}/scripts/automation/platform-build.ps1"
        -Presets android-arm64,android-x64,android-quest-arm64,android-focus-arm64
        -Targets pp_assets)

pp_add_powershell_automation_target(panopainter_platform_build_vcpkg_ui_core
    COMMENT "Build the Windows vcpkg-backed UI core dependency boundary."
    ARGUMENTS
        -File "${CMAKE_CURRENT_SOURCE_DIR}/scripts/automation/platform-build.ps1"
        -Presets windows-msvc-vcpkg-headless
        -Targets pp_ui_core,pp_ui_core_layout_xml_tests)

pp_add_powershell_automation_target(panopainter_platform_build_apple_remote
    COMMENT "Run remote Apple compile validation for macOS, iOS simulator, and iOS device."
    ARGUMENTS
        -File "${CMAKE_CURRENT_SOURCE_DIR}/scripts/automation/apple-remote-build.ps1"
        -Presets macos,ios-simulator,ios-device)
