<code class="xref cmake cmake-manual docutils literal notranslate"><span class="pre">generator</span> <span class="pre">expressions</span></code></a>
to make the choice based on the build configuration.
The <code class="docutils literal notranslate"><span class="pre">.vcxproj</span></code> file entry for the source file will be
marked either <code class="docutils literal notranslate"><span class="pre">DeploymentContent</span></code> or <code class="docutils literal notranslate"><span class="pre">ExcludedFro