Add a CMake Presets file (#44)

Adds the following presets: 

- `ci` - to match the common CI settings - including tests and asserts
- `debug` - True debug build - include building tests
- `debug-optimized` - include building tests
- `release` - To match the "build-release` script - no tests.

The default build folder will be `${sourceDir}/build/<preset>`.

---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>
Tá an tiomantas seo le fáil i:
ajanicijamd
2025-07-16 18:49:22 -04:00
tiomanta ag GitHub
tuismitheoir 0ec3072e05
tiomantas 92e1d84c72
D'athraigh 6 comhad le 104 breiseanna agus 0 scriosta
+2
Féach ar an gComhad
@@ -16,6 +16,7 @@ on:
- '.github/workflows/weekly-mainline-sync.yml'
- 'docker/**'
- .wordlist.txt
- CMakePresets.json
pull_request:
branches: [ amd-mainline, amd-staging, release/** ]
paths-ignore:
@@ -30,6 +31,7 @@ on:
- '.github/workflows/weekly-mainline-sync.yml'
- 'docker/**'
- .wordlist.txt
- CMakePresets.json
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
+2
Féach ar an gComhad
@@ -16,6 +16,7 @@ on:
- '.github/workflows/weekly-mainline-sync.yml'
- 'docker/**'
- .wordlist.txt
- CMakePresets.json
pull_request:
branches: [ amd-mainline, amd-staging, release/** ]
paths-ignore:
@@ -30,6 +31,7 @@ on:
- '.github/workflows/weekly-mainline-sync.yml'
- 'docker/**'
- .wordlist.txt
- CMakePresets.json
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
+2
Féach ar an gComhad
@@ -16,6 +16,7 @@ on:
- '.github/workflows/weekly-mainline-sync.yml'
- 'docker/**'
- .wordlist.txt
- CMakePresets.json
pull_request:
branches: [ amd-mainline, amd-staging, release/** ]
paths-ignore:
@@ -30,6 +31,7 @@ on:
- '.github/workflows/weekly-mainline-sync.yml'
- 'docker/**'
- .wordlist.txt
- CMakePresets.json
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
+2
Féach ar an gComhad
@@ -16,6 +16,7 @@ on:
- '.github/workflows/weekly-mainline-sync.yml'
- 'docker/**'
- .wordlist.txt
- CMakePresets.json
pull_request:
branches: [ amd-mainline, amd-staging, release/** ]
paths-ignore:
@@ -30,6 +31,7 @@ on:
- '.github/workflows/weekly-mainline-sync.yml'
- 'docker/**'
- .wordlist.txt
- CMakePresets.json
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
+2
Féach ar an gComhad
@@ -16,6 +16,7 @@ on:
- '.github/workflows/weekly-mainline-sync.yml'
- 'docker/**'
- .wordlist.txt
- CMakePresets.json
pull_request:
branches: [ amd-mainline, amd-staging, release/** ]
paths-ignore:
@@ -30,6 +31,7 @@ on:
- '.github/workflows/weekly-mainline-sync.yml'
- 'docker/**'
- .wordlist.txt
- CMakePresets.json
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}