Day 5 complete

This commit is contained in:
2023-09-09 12:47:06 -04:00
parent 4b8671772b
commit 34ba5edfdd
6 changed files with 100 additions and 110 deletions

View File

@ -165,9 +165,7 @@ if ( $vendor -match "clang" )
$flag_target_arch, $target_arch,
$flag_wall,
$flag_preprocess_non_intergrated,
( $flag_define + 'GEN_TIME' ),
( $flag_path_output + $object ),
( $flag_include + $includes )
( $flag_path_output + $object )
)
if ( $release -eq $false ) {
$compiler_args += ( $flag_define + 'Build_Debug' )
@ -178,8 +176,7 @@ if ( $vendor -match "clang" )
$warning_ignores | ForEach-Object {
$compiler_args += $flag_warning + $_
}
# $compiler_args += $flag_preprocess
$compiler_args += $includes | ForEach-Object { $flag_include + $_ }
$compiler_args += $flag_compile, $unit
run-compiler $compiler $unit $compiler_args

Binary file not shown.

View File

@ -26,17 +26,19 @@ Move-Item -Path (Join-Path $path_temp "gen.hpp") -Destination $path_
#endregion gencpp
#region windows modular headers
$repo = 'https://github.com/Leandros/WindowsHModular.git'
if ($false) {
$repo = 'https://github.com/Leandros/WindowsHModular.git'
Push-Location $path_temp
if ( -not(test-path $path_deps_windows)) {
New-Item -ItemType Directory -Path $path_deps_windows
Push-Location $path_temp
if ( -not(test-path $path_deps_windows)) {
New-Item -ItemType Directory -Path $path_deps_windows
}
& git clone $repo
Copy-Item -Recurse .\WindowsHModular\include\win32\* $path_deps_windows
Remove-Item (Get-ChildItem -Path $path_deps_windows -Exclude '*.h' -Recurse -Force)
Pop-Location
}
& git clone $repo
Copy-Item -Recurse .\WindowsHModular\include\win32\* $path_deps_windows
Remove-Item (Get-ChildItem -Path $path_deps_windows -Exclude '*.h' -Recurse -Force)
Pop-Location
#endregion windows modular headers
Remove-Item $path_temp -Recurse -Force