Skip to content

Commit

Permalink
Use the Xcode generator on Apple platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
friendlyanon committed Mar 25, 2024
1 parent f8c5c54 commit 9b14750
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
9 changes: 3 additions & 6 deletions cmake-init/templates/common/CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,21 +113,18 @@
},
{
"name": "ci-linux",
"inherits": ["flags-gcc-clang", "ci-std"],
"generator": "Unix Makefiles",
"hidden": true,
"inherits": ["flags-gcc-clang", "ci-std"],
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "ci-darwin",
"generator": "Unix Makefiles",
"hidden": true,
"inherits": ["flags-appleclang", "ci-std"],
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
"generator": "Xcode",
"hidden": true
},
{
"name": "ci-win64",
Expand Down
6 changes: 1 addition & 5 deletions cmake-init/templates/common/CMakeUserPresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@
{
"name": "dev-darwin",
"binaryDir": "${sourceDir}/build/dev-darwin",
"inherits": ["dev-common", "ci-darwin"],
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
"inherits": ["dev-common", "ci-darwin"]
},
{
"name": "dev-win64",
Expand Down

0 comments on commit 9b14750

Please sign in to comment.