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>


[ROCm/rocprofiler-systems commit: 92e1d84c72]
This commit is contained in:
ajanicijamd
2025-07-16 18:49:22 -04:00
committed by GitHub
orang tua 7eb189db84
melakukan 1a57db0395
6 mengubah file dengan 104 tambahan dan 0 penghapusan
@@ -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 }}
@@ -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 }}
@@ -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 }}
@@ -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 }}
@@ -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 }}