From d890f27e480cdb37428f1b7c4bb37475ed38348d Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Fri, 15 Jan 2021 07:31:59 +0100 Subject: Reworking pre-compile scripts for Windows (#1594) * Updated pre-compile scripts for OSVVM. * Reworked script for Vivado. * Reworked script for ISE. * Reworked UVVM compile script. Cannot be tested due to missing feature in GHDL see #1593. * Reworked scripts for Altera, Intel and Lattice. * Updated module imports. * Adjusted warnings. * Read OSVVM package files from compile-order file 'osvvm.pro'. * Support OSVVM and OSVVMLibraries as source directory. * Added support for OSVVM models to precompile script. * First update to the pre-compile scripts documentation. * Minimized file headers and redundant documentation. Using PowerShell's feature to document files, functions and modules. * Updated README in precompile scripts directory. * license: update headers of pyGHDL, scripts/windows, libraries/vendors * Fixed ForegroundColor and InvocationName. Co-authored-by: umarcor --- scripts/windows/compile.ps1 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'scripts/windows/compile.ps1') diff --git a/scripts/windows/compile.ps1 b/scripts/windows/compile.ps1 index da3c67731..1c12b7867 100644 --- a/scripts/windows/compile.ps1 +++ b/scripts/windows/compile.ps1 @@ -3,11 +3,12 @@ # kate: tab-width 2; replace-tabs off; indent-width 2; # # ============================================================================== -# Authors: Patrick Lehmann (ported batch file to PowerShell) -# Brian Davis (contributions to the batch file) -# Tristan Gingold (initial batch file for compilations on Windows) +# Authors: +# Patrick Lehmann (ported batch file to PowerShell) +# Brian Davis (contributions to the batch file) +# Tristan Gingold (initial batch file for compilations on Windows) # -# PowerShell Script: Script to compile GHDL for Windows +# PowerShell Script: Script to compile GHDL for Windows # # Description: # ------------------------------------ @@ -128,7 +129,7 @@ Write-Host "GHDL for Windows - GHDL compile and bundle script" -ForegroundColor Write-Host "================================================================================" -ForegroundColor Magenta if ($Help) -{ Get-Help $MYINVOCATION.InvocationName -Detailed +{ Get-Help $MYINVOCATION.MyCommand.Path -Detailed Exit-CompileScript } -- cgit v1.2.3