-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot specify WINAPI version to build against #63
Comments
@Lastique what do you think about this? A CMake option in |
In my libraries, I'm mirroring C++ defines to CMake options, so one would specify e.g. |
This allows users to specify BOOST_USE_WINAPI_VERSION in the CMake command line to select the Windows version for Boost to target. Requested in boostorg/cmake#63.
Done in boostorg/winapi@c5fb9c8. |
Not sure if this is the right place for this nor am i involved with boost and know their policies, but looking at the cache variables, it looks like they are following the form |
That's OK because it mirrors the macro name. |
The intention was that |
With
b2
i can specify the Windows API version to build against with e.g.define=BOOST_USE_WINAPI_VERSION=0x0601
but unless i miss something this cannot be done for the CMake build.The text was updated successfully, but these errors were encountered: