Skip to content

Instantly share code, notes, and snippets.

@hhyyrylainen
Last active February 27, 2018 21:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hhyyrylainen/4476df542b231aa3d8071459c2034d4d to your computer and use it in GitHub Desktop.
Save hhyyrylainen/4476df542b231aa3d8071459c2034d4d to your computer and use it in GitHub Desktop.
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