

Check for working C compiler: D:/dev/tools/x86_64-12.2.0-release-win32-seh-rt_v10-rev0/mingw64/bin/gcc.exe - skipped The CXX compiler identification is GNU 12.2.0 The C compiler identification is GNU 12.2.0 Not searching for unused variables given on the command line. Executing command: "D:\dev\tools\cmake-3.24.2-windows-x86_64\bin\cmake.exe " -no-warn-unused-cli -DCMAKE_MAKE_PROGRAM:STRING=D:\dev\tools\ninja-win\ninja.exe -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_C_COMPILER:FILEPATH=D:\dev\tools\x86_64-12.2.0-release-win32-seh-rt_v10-rev0\mingw64\bin\gcc.exe -DCMAKE_CXX_COMPILER:FILEPATH=D:\dev\tools\x86_64-12.2.0-release-win32-seh-rt_v10-rev0\mingw64\bin\g++.exe -SD:/dev/repos/Awl -Bd:/dev/repos/Awl/build -G Ninja Executing command: "D:\dev\tools\cmake-3.24.2-windows-x86_64\bin\cmake.exe " -version Successfully loaded 5 kits from C:\Users\dmitr\AppData\Local\CMakeTools\cmake-tools-kits.json D:/dev/repos/Awl/Awl/Sleep.h:23:36: error: template argument 1 is invalidĪnd even IntelliSense know somehow that std:: was not defined: D:/dev/repos/Awl/Awl/Sleep.h:23:31: note: 'std::mutex' is defined in header '' did you forget to '#include '? D:/dev/repos/Awl/Awl/Sleep.h:23:31: error: 'mutex' is not a member of 'std' D:/dev/repos/Awl/Awl/Sleep.h:13:1: note: 'std::mutex' is defined in header '' did you forget to '#include '? D:/dev/repos/Awl/Awl/Sleep.h:21:14: error: 'mutex' is not a member of 'std' D:/dev/repos/Awl/Awl/Sleep.h:13:1: note: 'std::condition_variable' is defined in header '' did you forget to '#include '? D:/dev/repos/Awl/Awl/Sleep.h:19:14: error: 'condition_variable' is not a member of 'std' D:/dev/repos/Awl/Awl/Sleep.h: In function 'void awl::sleep_for(const std::chrono::duration&, const std::stop_token&)': D:/dev/repos/Awl/Awl/CppStd/Thread.h:4:1: note: 'std::condition_variable_any' is defined in header '' did you forget to '#include '? 21 | using condition_variable_any = std::condition_variable_any D:/dev/repos/Awl/Awl/CppStd/Thread.h:21:45: error: 'condition_variable_any' in namespace 'std' does not name a type from D:/dev/repos/Awl/Tests/CancellationTest.cpp:9: In file included from D:/dev/repos/Awl/Awl/Sleep.h:12, D:\dev\tools\x86_64-12.2.0-release-win32-seh-rt_v10-rev0\mingw64\bin\g++.exe -ID:/dev/repos/Awl -O2 -g -DNDEBUG -Wall -Wextra -pedantic -std=gnu++20 -MD -MT CMakeFiles/AwlTest.dir/Tests/ -MF CMakeFiles\AwlTest.dir\Tests\ -o CMakeFiles/AwlTest.dir/Tests/ -c D:/dev/repos/Awl/Tests/CancellationTest.cpp

Building CXX object CMakeFiles/AwlTest.dir/Tests/ Unfortunately it appears that every time vscode is opened the CMake plugin triggers a new configuration, but it is probably better to address this issue in another question/forum.Executing command: "C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -build d:/dev/repos/Awl/build -config RelWithDebInfo -target all. Now you can select your targets using vscode. Answered yes to: "Would you like to configure project 'llvm-project'?"."LLVM_TARGETS_TO_BUILD" : "X86 NVPTX AMDGPU", DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DLLVM_ENABLE_LLD=ON \ DLLVM_TARGETS_TO_BUILD="X86 NVPTX AMDGPU" \ The project is big and requires passing this configuration to the command-line: git clone I am trying to configure vscode to develop llvm/mlir project with the CMake Tools plugin.
