::------------------------------------------------------------------------------------------------------- :: Copyright (C) Microsoft. All rights reserved. :: Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. ::------------------------------------------------------------------------------------------------------- :: PGO Build Workflow: :: - init_pgi.cmd :: - build (with PGI instrumentation enabled) :: * init_pgo.cmd :: - build (using PGO profile) set binpath_pgo=%1 if "%binpath_pgo%"=="" ( goto:usage ) set POGO_TYPE= REM Clean binaries we no longer need if exist %binpath_pgo%\*.pgc ( del %binpath_pgo%\*.pgc ) if exist %binpath_pgo%\*.pgd ( del %binpath_pgo%\*.pgd ) if exist %binpath_pgo%\pgort* ( del %binpath_pgo%\pgort* ) goto:eof :usage echo Invalid/missing arguments echo. echo Usage: post_pgo.cmd ^ echo - binary_path: output path of your binaries exit /b 1