Skip to content

Conversation

@anpol
Copy link
Contributor

@anpol anpol commented Jul 12, 2022

PDB files should be created at the same location as their primary artifact, which is either static library or a DLL.

On Windows, an artifact location is controlled by:

  • RUNTIME_OUTPUT_DIRECTORY is a directory of a DLL artifact.
  • ARCHIVE_OUTPUT_DIRECTORY is a directory of a LIB artifact.

A PDB file location is controlled:

  • PDB_OUTPUT_DIRECTORY should match a directory of a DLL artifact.
  • COMPILE_PDB_OUTPUT_DIRECTORY should match a directory of a LIB artifact.

PDB files should be created at the same location as their primary
artifact, which is either static library or a DLL.

On Windows, an artifact location is controlled by:

* RUNTIME_OUTPUT_DIRECTORY is a directory of a DLL artifact.
* ARCHIVE_OUTPUT_DIRECTORY is a directory of a LIB artifact.

A PDB file location is controlled:

* PDB_OUTPUT_DIRECTORY should match a directory of a DLL artifact.
* COMPILE_PDB_OUTPUT_DIRECTORY should match a directory of a LIB artifact.
@copybara-service copybara-service bot merged commit 7735334 into google:main Jul 18, 2022
@anpol anpol deleted the pdb-static-lib branch July 19, 2022 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant