Skip to content

Instantly share code, notes, and snippets.

@whoisryosuke
Last active October 17, 2022 08:07
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 whoisryosuke/33b7b3a166014ec373868d28e8030e8f to your computer and use it in GitHub Desktop.
Save whoisryosuke/33b7b3a166014ec373868d28e8030e8f to your computer and use it in GitHub Desktop.
C++ / CMake / Windows - Setup a new project for Visual Studio with a CMake file (see example here: https://github.com/SaschaWillems/Vulkan/blob/master/CMakeLists.txt or https://github.com/TheLartians/MiniCppStarter/blob/master/CMakeLists.txt)
# VS 2019
cmake -G "Visual Studio 16 2019" -A x64
# VS 2022
cmake -G "Visual Studio 17 2022" -A x64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment