gradle / gradle-native

The home of Gradle's support for natively compiled languages
https://blog.gradle.org/introducing-the-new-cpp-plugins
Apache License 2.0
92 stars 8 forks source link

Publish generated pdb files #932

Open amz-shahji opened 5 years ago

amz-shahji commented 5 years ago

When publishing libraries and executables, the process should include generated pdb files, either as part of the same or a new artifact.

Expected Behavior

Generated pdb files will be published and made available when consuming.

Current Behavior

PDB files are ignored.

Context

When compiling under MSVS, the linker throws a warning (LNK4099 specifically) when pdb files are not available.

amz-shahji commented 5 years ago

Related to #610

lacasseio commented 5 years ago

This issue contains three distinct parts of the work: 1) the producer, 2) the consumer and 3) the publishing.

Thinking quickly about this, here is a small outline of the work to be done: