Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pytorch/cpuinfo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CMakePresets.json')
-rw-r--r--CMakePresets.json63
1 files changed, 63 insertions, 0 deletions
diff --git a/CMakePresets.json b/CMakePresets.json
new file mode 100644
index 0000000..f80008f
--- /dev/null
+++ b/CMakePresets.json
@@ -0,0 +1,63 @@
+{
+ "version": 3,
+ "cmakeMinimumRequired": {
+ "major": 3,
+ "minor": 21,
+ "patch": 0
+ },
+ "configurePresets": [
+ {
+ "name": "x64-uwp",
+ "displayName": "x64(uwp)",
+ "generator": "Visual Studio 17 2022",
+ "architecture": "x64",
+ "binaryDir": "${sourceDir}/build/x64-uwp",
+ "installDir": "${sourceDir}/install",
+ "cacheVariables": {
+ "CPUINFO_BUILD_UNIT_TESTS": false,
+ "CPUINFO_BUILD_MOCK_TESTS": false,
+ "CPUINFO_BUILD_BENCHMARKS": false,
+ "CMAKE_SYSTEM_NAME": "WindowsStore",
+ "CMAKE_SYSTEM_VERSION": "10.0",
+ "CMAKE_SYSTEM_PROCESSOR": "x86_64"
+ },
+ "condition": {
+ "type": "equals",
+ "lhs": "${hostSystemName}",
+ "rhs": "Windows"
+ }
+ },
+ {
+ "name": "arm64-uwp",
+ "displayName": "arm64(uwp)",
+ "inherits": "x64-uwp",
+ "architecture": "ARM64",
+ "binaryDir": "${sourceDir}/build/arm64-uwp",
+ "cacheVariables": {
+ "CMAKE_SYSTEM_PROCESSOR": "ARM64"
+ }
+ }
+ ],
+ "buildPresets": [
+ {
+ "name": "x64-uwp-dbg",
+ "configurePreset": "x64-uwp",
+ "configuration": "Debug"
+ },
+ {
+ "name": "x64-uwp-rel",
+ "configurePreset": "x64-uwp",
+ "configuration": "Release"
+ },
+ {
+ "name": "arm64-uwp-dbg",
+ "configurePreset": "arm64-uwp",
+ "configuration": "Debug"
+ },
+ {
+ "name": "arm64-uwp-rel",
+ "configurePreset": "arm64-uwp",
+ "configuration": "Release"
+ }
+ ]
+} \ No newline at end of file