Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Building MDd packages with Release build type

See original GitHub issue

I’d like to build packages with MSVC in release mode but using MDd runtime. However, setting CONAN_VISUAL_RUNTIMES="MD,MDd" and CONAN_BUILD_TYPES=Release variables doesn’t allow that, as MDd runtime is filtered out for Release build type.

Could you please support such combination? Use case is building 3rd-partty libraries which are not intended to be stepped into when debugging.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

annulencommented, Feb 23, 2020

Thanks, this code provides configurations which I wanted from CONAN_VISUAL_RUNTIMES="MD,MDd" CONAN_BUILD_TYPES="Release,Debug"

builder.update_build_if(lambda build: build.settings["build_type"] == "Debug" and build.settings["compiler"] == "Visual Studio" and build.settings["compiler.runtime"] == "MDd",
    new_settings={"build_type": "Release"})
annulencommented, Feb 24, 2020

E.g. CONAN_VISUAL_RUNTIMES="MD,MDd" CONAN_BUILD_TYPES=Release CONAN_BUILD_YES_I_REALLY_MEAN_IT=1 (proposed variable name is just kidding)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Packaging Approaches — conan 1.56.0 documentation
It's possible that an existing build script is simultaneously building binaries for different configurations, like debug/release, or different architectures (32 ...
Read more >
Create a NuGet package using MSBuild - Microsoft Learn
A detailed guide to the process of designing and creating a NuGet package using MSBuild, including key decision points like files and ...
Read more >
Build Instructions - Google Git
Follow the build instructions in the SPIRV-Tools file. You must also take note of the SPIRV-Tools install directory and pass it on...
Read more >
USD/ at release · PixarAnimationStudios/USD
Users may specify libraries to build USD against and other build options by passing arguments when running cmake. Documentation for these arguments are...
Read more >
Common Configuration - electron-builder
in the package.json file of your project using the build key on the top level: ... linux or windows ) or in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found