test.cpp gen_time compiles (has memory issues though)

This commit is contained in:
2023-04-02 01:07:44 -04:00
parent f09fe6aa15
commit d66c1e4eb4
13 changed files with 238 additions and 264 deletions

View File

@ -14,16 +14,16 @@ foreach ( $arg in $args )
}
if ($false)
{
#region Regular Build
write-host "Building project`n"
$path_root = git rev-parse --show-toplevel
$path_build = Join-Path $path_root build
$path_scripts = Join-Path $path_root scripts
if ($false)
{
#region Regular Build
write-host "Building project`n"
if ( -not( Test-Path $path_build ) )
{
$args_meson = @()
@ -87,7 +87,13 @@ Pop-Location
$args_ninja += $path_gen_build
Push-Location $path_root
ninja $args_ninja
& ninja $args_ninja
Pop-Location
$gencpp = Join-Path $path_gen_build gencpp.exe
Push-location $path_gen
& $gencpp
Pop-Location

View File

@ -1,7 +1,9 @@
$path_root = git rev-parse --show-toplevel
$path_build = Join-Path $path_root build
$path_test = Join-Path $path_root test
$path_gen = Join-Path $path_test gen
$path_test_build = Join-Path $path_test build
$path_gen_build = Join-Path $path_gen build
if ( Test-Path $path_build )
{
@ -13,6 +15,11 @@ if ( Test-Path $path_test_build )
Remove-Item $path_test_build -Recurse
}
if ( Test-Path $path_gen_build )
{
Remove-Item $path_gen_build -Recurse
}
# [string[]] $include = '*.h', '*.hpp', '*.cpp'
# [string[]] $exclude =