diff --git a/.gitignore b/.gitignore index 0d1d36d..9fc05d3 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ build/** # thirdparty/** logs .ark +logs*.zip diff --git a/scripts/build.ps1 b/scripts/build.ps1 index 1291a5c..9787847 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -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 + ' ' )