Skip to content

Commit

Permalink
Added extra check for skipping over compilation if not required (see #2)
Browse files Browse the repository at this point in the history
  • Loading branch information
wietze committed Oct 3, 2020
1 parent b26b1ec commit 9f4ea01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 2_compiling_dlls/generate_dlls.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ def generate_ps1_file(dll_process_mapping: Dict[str, List[str]], ps1_file: str)
# Iterate over all DLLs that have entry point information
print("Compiling DLLs...")
for dll_name, entry_points in tqdm.tqdm(dll_to_entrypoint.items()):
# If dll not present in our mapping, there is no point in compiling it
if not dll_name in dll_process_mapping:
continue
# Compile DLL
if compile_dll(dll_name, entry_points):
# If successful, add to list
Expand Down

0 comments on commit 9f4ea01

Please sign in to comment.