mirror of
https://github.com/Ed94/HandmadeHero.git
synced 2024-11-10 03:44:53 -08:00
Doc & script updates
This commit is contained in:
parent
4928a07c44
commit
60e7d1075a
@ -2,3 +2,10 @@
|
|||||||
|
|
||||||
Any code I do for this series will be here.
|
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)
|
||||||
|
@ -9,9 +9,6 @@ Push-Location $path_root
|
|||||||
#region Arguments
|
#region Arguments
|
||||||
$vendor = $null
|
$vendor = $null
|
||||||
$release = $null
|
$release = $null
|
||||||
[bool] $bootstrap = $false
|
|
||||||
[bool] $singleheader = $false
|
|
||||||
[bool] $test = $false
|
|
||||||
|
|
||||||
[array] $vendors = @( "clang", "msvc" )
|
[array] $vendors = @( "clang", "msvc" )
|
||||||
|
|
||||||
|
@ -5,9 +5,9 @@ $path_project = join-path $path_root "project"
|
|||||||
$path_build = join-path $path_project "build"
|
$path_build = join-path $path_project "build"
|
||||||
$path_dependencies = join-path $path_project "dependencies"
|
$path_dependencies = join-path $path_project "dependencies"
|
||||||
|
|
||||||
if ( Test-Path $path_dependencies ) {
|
# if ( Test-Path $path_dependencies ) {
|
||||||
Remove-Item $path_dependencies -Recurse
|
# Remove-Item $path_dependencies -Recurse
|
||||||
}
|
# }
|
||||||
if ( Test-Path $path_project ) {
|
if ( Test-Path $path_project ) {
|
||||||
Remove-Item $path_build -Recurse
|
Remove-Item $path_build -Recurse
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user