update build script to remove pdbs before building (msvc issues)

Also update ignores to ignore log zips
This commit is contained in:
Edward R. Gonzalez 2024-03-20 20:50:46 -04:00
parent 714d60ee34
commit ca66f517e9
2 changed files with 9 additions and 0 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ build/**
# thirdparty/**
logs
.ark
logs*.zip

View File

@ -150,6 +150,10 @@ push-location $path_root
$module_dll = join-path $path_build ( $project_name + '.dll' )
$pdb = join-path $path_build ( $project_name + '.pdb' )
if (test-path $pdb) {
remove-item $pdb
}
$linker_args = ""
$linker_args += ( $flag_msvc_link_disable_dynamic_base + ' ' )
$linker_args += ( $flag_msvc_link_fixed_base_address + ' ' )
@ -230,6 +234,10 @@ push-location $path_root
return
}
if (test-path $pdb) {
remove-item $pdb
}
write-host 'Building Host Module'
$linker_args = ""
# $linker_args += ( $flag_msvc_link_disable_dynamic_base + ' ' )