Last active
February 4, 2018 23:03
-
-
Save msis/b179a77f00b821024023 to your computer and use it in GitHub Desktop.
[Enable range for loop in C++ from CMakeLists.txt] #Cmake #C++ #for
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# when using the new C++11 for loops: | |
# for (auto i : range) {} | |
target_compile_features(myapp PRIVATE cxx_range_for) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment