Skip to content

Commit

Permalink
Add -g build option (#11066)
Browse files Browse the repository at this point in the history
Generate source-level debug information
  • Loading branch information
JohnsterID authored Jul 3, 2024
1 parent 779c3f1 commit 034d255
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions build_vp_clang.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ def build_cl_config_args(config: Config) -> list[str]:
args.append('-flto')
else:
args.append('/Od')
args.append('-g')
for predef in PREDEFS[config]:
args.append(f'/D{predef}')
for include_dir in INCLUDE_DIRS:
Expand Down
1 change: 1 addition & 0 deletions build_vp_clang_sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ def build_cl_config_args(config: Config) -> list[str]:
args.append('-flto')
else:
args.append('/Od')
args.append('-g')
for predef in PREDEFS[config]:
args.append(f'/D{predef}')
for include_dir in INCLUDE_DIRS:
Expand Down

0 comments on commit 034d255

Please sign in to comment.