From 60e7d1075aa22142c8b58d5fbef98043806a1203 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Fri, 8 Sep 2023 13:00:05 -0400 Subject: [PATCH] Doc & script updates --- README.md | 7 +++++++ scripts/build.ps1 | 3 --- scripts/clean.ps1 | 6 +++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index af5a20c..62cc1a5 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,10 @@ Any code I do for this series will be here. +Building requires msvc or llvm's clang + lld, and powershell 7 + +## Scripts + +* `build.ps1` - Builds the project use `.\scripts\build msvc` or `.\scripts\build clang`, add `release` to build in release mode +* `clean.ps1` - Cleans the project +* `update.ps1` - Updates the project dependencies to their latest from their respective repos. (Not done automatically on build) diff --git a/scripts/build.ps1 b/scripts/build.ps1 index d37ffb1..a4f2464 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -9,9 +9,6 @@ Push-Location $path_root #region Arguments $vendor = $null $release = $null -[bool] $bootstrap = $false -[bool] $singleheader = $false -[bool] $test = $false [array] $vendors = @( "clang", "msvc" ) diff --git a/scripts/clean.ps1 b/scripts/clean.ps1 index 84cb2bc..d0f5b7d 100644 --- a/scripts/clean.ps1 +++ b/scripts/clean.ps1 @@ -5,9 +5,9 @@ $path_project = join-path $path_root "project" $path_build = join-path $path_project "build" $path_dependencies = join-path $path_project "dependencies" -if ( Test-Path $path_dependencies ) { - Remove-Item $path_dependencies -Recurse -} +# if ( Test-Path $path_dependencies ) { +# Remove-Item $path_dependencies -Recurse +# } if ( Test-Path $path_project ) { Remove-Item $path_build -Recurse }