mirror of
https://github.com/Ed94/HandmadeHero.git
synced 2025-06-15 03:01:48 -07:00
Day 5 complete
This commit is contained in:
@ -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.
@ -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
|
||||
|
Reference in New Issue
Block a user