Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.
This repository was archived by the owner on Jan 19, 2026. It is now read-only.

Need BuildLibs_rel to support static library in release, dynamic library in debug #201

Description

Description:

A common development practice is to use a library that links dynamically to the CRT in debug builds, and statically in release builds. We have Libs_rel and Libs_dbg that let us specify the different library names if we are linking without building. However, we have only one BuildLibs option.

We should let BuildLibs stay as is for common and debug builds, but if the user needs to differentiate release builds, then we should support a BuildLibs_rel option which would override BuildLibs when building a release version. For consistency, we should also support a BuildLibs_dbg option (which internally would be identical to BuildLibs)

Issue Type:

  • Bug report
  • Feature request
  • Design change request
  • Other

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions