{ "name": "Windows", "displayName": "Windows x64 Debug", "description": "Sets Ninja generator, compilers, x64 architecture, build and install directory, debug build type", "generator": "Visual Studio 17 2022", "binaryDir": "${sourceDir}/build", "condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Windows" }, "architecture": { "value": "x64", "strategy": "external" }, "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug", "CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}", "CMAKE_TOOLCHAIN_FILE": { "type": "FILEPATH", "value": "${sourceDir}/Toolchains/toolchain-windows.cmake" } }, "vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Windows" ] } } },
cmake_minimum_required(VERSION 3.24)set(CMAKE_SYSTEM_NAME WindowsStore)set(CMAKE_SYSTEM_VERSION 8.1)#set(CMAKE_Fortran_COMPILER /opt/nec/ve/bin/nfort CACHE FILEPATH "Aurora Fortran compiler")set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe")set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe")set(CMAKE_PREFIX_PATH "C:/Qt/6.5.2/msvc2019_64/lib/cmake")set(CMAKE_CXX_FLAGS "/MP")
A Windows Store component with CMake requires both the Windows Desktop SDK as well as the Windows Store '8.1' SDK. Please make sure that you have both installed
Severity Code Description Project File Line Suppression StateError CMake Error at cmake/preset.cmake:73 (find_package): Found package configuration file: /home/test/Qt/6.5.3/gcc_64/lib/cmake/Qt6/Qt6Config.cmake but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND. Reason given by package: Qt6 could not be found because dependency Threads could not be found. Configuring with --debug-find-pkg=Threads might reveal details why the package was not found. Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some of the path variables that find_package uses to try and find the package. C:\dev2\sourcen\cmake/preset.cmake 73