Day 6 completed

Removed the modular windows headers, it was no longer viable after xinput (rip 80 ms build times).
This commit is contained in:
2023-09-09 17:06:47 -04:00
parent 34ba5edfdd
commit eb1c2b2e57
20 changed files with 236 additions and 9872 deletions

View File

@ -307,7 +307,6 @@ $includes = @(
$path_deps,
$path_platform
)
$compiler_args = @()
$compiler_args += ( $flag_define + 'GEN_TIME' )
@ -333,9 +332,15 @@ if ( $false ) {
#endregion Handmade Generate
#region Handmade Runtime
$lib_user32 = 'User32.lib'
$includes = @(
$path_project,
$path_gen,
$path_deps,
$path_platform
)
$lib_gdi32 = 'Gdi32.lib'
$lib_xinput = 'Xinput.lib'
$lib_user32 = 'User32.lib'
$unit = Join-Path $path_project 'handmade_win32.cpp'
$executable = Join-Path $path_build 'handmade_win32.exe'
@ -344,6 +349,7 @@ $compiler_args = @()
$linker_args = @(
$lib_gdi32,
# $lib_xinput,
$lib_user32,
$flag_link_win_subsystem_windows
)

View File

@ -25,20 +25,4 @@ Expand-Archive -Path $destinationZip -DestinationPath $path_
Move-Item -Path (Join-Path $path_temp "gen.hpp") -Destination $path_deps -Force
#endregion gencpp
#region windows modular headers
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
}
& 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