-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cmake: Add presets for building Arch Linux package
- Loading branch information
Showing
2 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"version": 6, | ||
"include": [ | ||
"Base_configurations.json", | ||
"Linux.json" | ||
], | ||
"configurePresets": [ | ||
{ | ||
"name": "arch-linux-release", | ||
"inherits": ["linux", "release"], | ||
"displayName": "Arch Linux Release", | ||
"description": "Configuration for Arch Linux Release builds", | ||
"binaryDir": "${sourceDir}/../build", | ||
"cacheVariables": { | ||
"CMAKE_INSTALL_PREFIX": "/usr" | ||
}, | ||
"condition": { | ||
"type": "equals", | ||
"lhs": "${hostSystemName}", | ||
"rhs": "Linux" | ||
} | ||
} | ||
], | ||
"buildPresets": [ | ||
{ | ||
"name": "arch-linux-release", | ||
"configurePreset": "arch-linux-release", | ||
"displayName": "Arch Linux Release", | ||
"description": "Cmake build configuration for Arch Linux Release builds", | ||
"jobs": 4, | ||
"condition": { | ||
"type": "equals", | ||
"lhs": "${hostSystemName}", | ||
"rhs": "Linux" | ||
} | ||
} | ||
], | ||
"workflowPresets": [ | ||
{ | ||
"name": "arch-linux-release", | ||
"displayName": "Arch Linux Release", | ||
"description": "Workflow for Arch Linux Release builds", | ||
"steps": [ | ||
{ | ||
"type": "configure", | ||
"name": "arch-linux-release" | ||
}, | ||
{ | ||
"type": "build", | ||
"name": "arch-linux-release" | ||
} | ||
] | ||
} | ||
] | ||
} |