Last active
February 27, 2018 21:00
-
-
Save hhyyrylainen/4476df542b231aa3d8071459c2034d4d to your computer and use it in GitHub Desktop.
Simple c++ 17 cmake test
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
cmake_minimum_required(VERSION 3.10) | |
project(someproject) | |
add_executable(main main.cpp) | |
set_property(TARGET main PROPERTY CXX_STANDARD 17) | |
set_property(TARGET main PROPERTY CXX_EXTENSIONS OFF) |
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
int main(){ | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment