diff --git a/Tools/GacBuild.ps1 b/Tools/GacBuild.ps1 index 86098179..80d59605 100644 --- a/Tools/GacBuild.ps1 +++ b/Tools/GacBuild.ps1 @@ -29,9 +29,24 @@ you should add the following metadata in GacGenConfig like this: - ... - ... - ... + + The output path for unscripted binary resource. Use GetResourceManager()->LoadResourceOrPending to load the resource. + The output path for unscripted compressed binary resource. Call DecompressStream before loading the resource. + The output path for unscripted binary resource embedded in C++ code. Just add this cpp file to your project and it just works. + The output path for unscripted binary resource embedded in C++ code. Just add this cpp file to your project and it just works. + #include targets in generated C++ files, seperated by semicolon. + #include targets in generated C++ files when you turn on reflection, seperated by semicolon. + General file name for generated C++ files without extension. + The output folder for all generated C++ files. + + + The output path for scripted binary resource. Use GetResourceManager()->LoadResourceOrPending with GuiResourceUsage::InstanceClass to load the resource. + The output path for scripted compressed binary resource. Use GetResourceManager()->LoadResourceOrPending to load the resource. + Generated Workflow script, which is equivalent to generated C++ code. All assemblies are included in scripted binary resources, but if you want to load unscripted binary resources and assemblies separately, you will need this file. + + + + ... @@ -56,7 +71,7 @@ try { throw "Input does not exist: $FileName" } $FileName = (Resolve-Path -Path $FileName).Path - if (Test-Path -Path "$($FileName).log") { + if (-not (Test-Path -Path "$($FileName).log")) { Remove-Item -Path "$($FileName).log" -Recurse | Out-Null New-Item -ItemType Directory "$($FileName).log" | Out-Null }