Skip to main content

Win32API

VSCode Ctrl+Shift+p->

CMake: Quick Start ->

Visual Studio Community 2022 Release - amd64 ->

C++ -> Executable

VSCode Ctrl+Shift+p->

CMake: Configure

Debug ->

C/C++: cl.exe build and debug active file

Preprocessor

# Perform preprocessing without compilation when building.
# May cause interrupt debugger to behave erratically.
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /P")