Skip to content

Instantly share code, notes, and snippets.

@whoisryosuke
Last active October 17, 2022 08:07
Show Gist options
  • Select an option

  • Save whoisryosuke/33b7b3a166014ec373868d28e8030e8f to your computer and use it in GitHub Desktop.

Select an option

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