mirror of
https://github.com/Ed94/gencpp.git
synced 2025-06-14 18:51:47 -07:00
test.cpp gen_time compiles (has memory issues though)
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
|
@ -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 =
|
||||
|
||||
|
Reference in New Issue
Block a user