Skip to content
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

CMake: set_languages("c++17"), language not set in CMakeLists.txt #997

Closed
paul-reilly opened this issue Oct 19, 2020 · 2 comments
Closed
Milestone

Comments

@paul-reilly
Copy link
Contributor

Create an xmake project with:

set_languages("c++17")

Create a CMakeLists.txt project file with xmake:

xmake project -k cmake

The resulting CMakeLists.txt does not have the language standard set for the target, eg:

target_compile_features(my_target PRIVATE cxx_std_17)
@waruqi
Copy link
Member

waruqi commented Oct 19, 2020

I have supported it on dev branch. You can try it again.

@waruqi waruqi added this to the v2.3.9 milestone Oct 19, 2020
@paul-reilly
Copy link
Contributor Author

That's it fixed, thanks!

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

No branches or pull requests

2 participants