Skip to content

Changing VCLIBS_SUFFIX to be a cache CMake variable#649

Merged
cbezault merged 2 commits intomicrosoft:masterfrom
bhardwajs:sumitb/issue_115
Apr 1, 2020
Merged

Changing VCLIBS_SUFFIX to be a cache CMake variable#649
cbezault merged 2 commits intomicrosoft:masterfrom
bhardwajs:sumitb/issue_115

Conversation

@bhardwajs
Copy link
Contributor

Description

Currently VCLIBS_SUFFIX is not a cache variable and as a result, users can not change it via the cmake command line. This PR changes it to cache variable.

Closes #115

Checklist

Be sure you've read README.md and understand the scope of this repo.

If you're unsure about a box, leave it unchecked. A maintainer will help you.

  • Identifiers in product code changes are properly _Ugly as per
    https://eel.is/c++draft/lex.name#3.1 or there are no product code changes.
  • The STL builds successfully and all tests have passed (must be manually
    verified by an STL maintainer before automated testing is enabled on GitHub,
    leave this unchecked for initial submission).
  • These changes introduce no known ABI breaks (adding members, renaming
    members, adding virtual functions, changing whether a type is an aggregate
    or trivially copyable, etc.).
  • These changes were written from scratch using only this repository,
    the C++ Working Draft (including any cited standards), other WG21 papers
    (excluding reference implementations outside of proposed standard wording),
    and LWG issues as reference material. If they were derived from a project
    that's already listed in NOTICE.txt, that's fine, but please mention it.
    If they were derived from any other project (including Boost and libc++,
    which are not yet listed in NOTICE.txt), you must mention it here,
    so we can determine whether the license is compatible and what else needs
    to be done.

@bhardwajs bhardwajs requested a review from a team as a code owner March 28, 2020 00:11
@cbezault cbezault added infrastructure Related to repository automation enhancement Something can be improved labels Mar 28, 2020
Copy link
Member

@BillyONeal BillyONeal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I double checked that this variable isn't used in the name of any targets or similar so it probably should work if someone changes it after the fact.

I still find this idea of editing cache variables after the fact a bit ... broken but there's no reason to prevent attempts at working where it might.

@bhardwajs bhardwajs closed this Mar 28, 2020
@bhardwajs bhardwajs reopened this Mar 28, 2020
Co-Authored-By: Casey Carter <cartec69@gmail.com>
@cbezault cbezault self-assigned this Mar 31, 2020
@cbezault cbezault merged commit e1d9d8b into microsoft:master Apr 1, 2020
@cbezault
Copy link
Contributor

cbezault commented Apr 1, 2020

Thanks for the contribution!

@bhardwajs bhardwajs deleted the sumitb/issue_115 branch April 7, 2020 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Something can be improved infrastructure Related to repository automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CMakeLists.txt: VCLIBS_SUFFIX should be a cache variable

5 participants