[cmake common definitions] add variable VCPKG_BUILD_DEBUG#21206
[cmake common definitions] add variable VCPKG_BUILD_DEBUG#21206autoantwort wants to merge 1 commit intomicrosoft:masterfrom
Conversation
94ebfbc to
cf63519
Compare
cf63519 to
81c1b3f
Compare
81c1b3f to
84d6554
Compare
see #16110 vcpkg itself does not support debug only for now |
We did not prevent users from setting |
|
@cenit I'm curious, what is the purpose of debug-only library? |
|
I also expect very low usage of such a triplet too. I can imagine quick iterations on -dev version libraries (debug are quicker to build than release, because of missing optimizations, and in case of problems you have full symbols to inspect runtime errors), but nothing more. |
|
In fact, we mostly desire to have an easy way to build a single primary config (usually called release, but it might be release with debug info, or with profiling, even per port), without wasting space and time for another config in |
|
exactly. |
84d6554 to
203d59d
Compare
|
Agreed with points above; the future for Given that, and given that |
But for now, it is unrealistic to use the condition |
I think that the point was: |
|
It's exactly as @dg0yt said, though I'm sorry for using somewhat confusing language. My observations are:
|
Add this convenience variable so that you don't have to write
all the time.
We can also add
VCPKG_BUILD_RELEASEbut I think there is no port that supports debug only builds.