c_library compiles

This commit is contained in:
2024-12-10 23:35:47 -05:00
parent c0aa4fee95
commit 44d0a9cf9d
11 changed files with 178 additions and 222 deletions

View File

@ -4,7 +4,6 @@
$devshell = Join-Path $PSScriptRoot 'helpers/devshell.ps1'
$misc = Join-Path $PSScriptRoot 'helpers/misc.psm1'
$refactor_c_library = Join-Path $PSScriptRoot 'refactor_c_library.ps1'
$refactor_unreal = Join-Path $PSScriptRoot 'refactor_unreal.ps1'
$incremental_checks = Join-Path $PSScriptRoot 'helpers/incremental_checks.ps1'
$vendor_toolchain = Join-Path $PSScriptRoot 'helpers/vendor_toolchain.ps1'
@ -222,7 +221,7 @@ if ( $c_library )
New-Item -ItemType Directory -Path $path_gen
}
$includes = @( $path_project )
$includes = @( $path_base )
$unit = join-path $path_c_library "c_library.cpp"
$executable = join-path $path_build "c_library.exe"
@ -247,8 +246,6 @@ if ( $c_library )
}
Pop-Location
. $refactor_c_library
$unit = join-path $path_c_library "gen.c"
$executable = join-path $path_build "gen_c_library_test.exe"
@ -289,7 +286,7 @@ if ( $unreal )
New-Item -ItemType Directory -Path $path_gen
}
$includes = @( $path_project )
$includes = @( $path_base )
$unit = join-path $path_unreal "unreal.cpp"
$executable = join-path $path_build "unreal.exe"