Skip to content

Commit

Permalink
Feature/add apple m series to presets (#1809)
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio authored Oct 20, 2023
2 parents ff5be27 + 20eb0e1 commit 3a9fd60
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,20 @@
"CMAKE_CXX_COMPILER": "clang++"
}
},
{
"name": "apple-arm64-base",
"hidden": true,
"binaryDir": "${sourceDir}/build/${presetName}",
"architecture": {
"value": "arm64",
"strategy": "external"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Darwin"
}
},
{
"name": "ninja",
"hidden": true,
Expand Down Expand Up @@ -327,6 +341,33 @@
"QL_COMPILE_WARNING_AS_ERROR": "ON",
"CMAKE_CXX_COMPILER_LAUNCHER": "sccache"
}
},
{
"name": "apple-arm64-ninja-debug",
"description": "Apple M series preset Debug",
"inherits": [
"apple-arm64-base",
"ninja",
"_debug"
]
},
{
"name": "apple-arm64-ninja-release",
"description": "Apple M series preset Release",
"inherits": [
"apple-arm64-base",
"ninja",
"_release"
]
},
{
"name": "apple-arm64-ninja-relwithdebinfo",
"description": "Apple M series preset RelWithDebInfo",
"inherits": [
"apple-arm64-base",
"ninja",
"_relwithdebinfo"
]
}
]
}

0 comments on commit 3a9fd60

Please sign in to comment.