Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Simple c++ 17 cmake test
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)
int main(){
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.