# replace with the result of `echo %INCLUDE%`
# if you want a specific includePath for a specific compiler,
# you can set it up in that compiler's config, with, say
# compiler.my_clang.includePath=path_to_libc++

includePath=c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include;c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\ATLMFC\include;c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include;C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um

# replace with the result of `where undname.exe` from a developer command prompt
demangler=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\Hostx64\x64\undname.exe
demanglerType=win32
# replace with the result of `where dumpbin.exe` from a developer command prompt
objdumper=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\Hostx64\x64\dumpbin.exe
objdumperType=vc
# the compiler you want compiler explorer to start up in

defaultCompiler=vc2022_64


# note: adding new compiler groups
# the default compiler groups should be fine for most,
# but if you'd like to add more groups
# (for example, for vc 2015, or for gcc),
# you can uncomment and edit the following lines.
# check `c++.win32.properties` for how to modify the group options

compilers=&vc2022:&clang


# visual C++ 2022 compilers
# follow the same instructions as for clang
# note that if CE doesn't find a compiler, it won't break anything

group.vc2022.compilers=vc2022_32:vc2022_64
group.vc2022.options=-EHsc
group.vc2022.compilerType=win32-vc
group.vc2022.needsMulti=false
group.vc2022.includeFlag=/I
group.vc2022.versionFlag=/?
group.vc2022.versionRe=^.*Microsoft \(R\).*$
group.vc2022.groupName=Visual Studio MSVC

# these are pointed at my own installation;
# you'll likely have to change the paths for your own machine

compiler.vc2022_32.exe=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\Hostx64\x86\cl.exe
compiler.vc2022_32.name=VC 2022 x86
compiler.vc2022_32.libPath=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\lib\x86;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x86;C:\Program Files (x86)\Windows Kits\10\lib\10.0.26100.0\ucrt\x86;C:\Program Files (x86)\Windows Kits\10\\lib\10.0.26100.0\\um\x86

compiler.vc2022_64.exe=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\Hostx64\x64\cl.exe
compiler.vc2022_64.name=VC 2022 amd64
# obtain by `> echo %LIB%` from a developer command prompt:
compiler.vc2022_64.libPath=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\lib\x64;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.26100.0\ucrt\x64;C:\Program Files (x86)\Windows Kits\10\\lib\10.0.26100.0\\um\x64

# clang compilers
# if you want more compilers, you can do that by separating the names with `:`
# and then setting up a compiler.my_clang.exe and compiler.my_clang.name
group.clang.compilers=clang_32:clang_64

# this is the default path that clang++ is installed in
# if you installed it somewhere else, you should edit both variables

compiler.clang_32.exe=C:\Program Files\LLVM\bin\clang++.exe
compiler.clang_32.name=clang x86

compiler.clang_64.exe=C:\Program Files\LLVM\bin\clang++.exe
compiler.clang_64.name=clang amd64

