-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ninja Generator Presets for CMake (#1401)
### Changelist <!-- Give a list of the changes covered in this PR. This will help both you and the reviewer keep this PR within scope. --> ### Testing Done <!-- Outline the testing that was done to demonstrate the changes are solid. This could be unit tests, integration tests, testing on the car, etc. Include relevant code snippets, screenshots, etc as needed. --> ### Resolved Tickets <!-- Link any tickets that this PR resolves. -->
- Loading branch information
Showing
1 changed file
with
77 additions
and
67 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,79 @@ | ||
{ | ||
"version": 6, | ||
"configurePresets": [ | ||
{ | ||
"name": "default", | ||
"hidden": true | ||
}, | ||
{ | ||
"name": "FW Dev", | ||
"description": "Development build for the Firmware, including debug information and no optimizations.", | ||
"inherits": "default", | ||
"toolchainFile": "${sourceDir}/gcc-arm-none-eabi.cmake", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Debug", | ||
"PLATFORM": "firmware", | ||
"TARGET": "binary", | ||
"HANDLE_DEPS": "OFF", | ||
"USE_COMMIT_INFO": "MINIMAL", | ||
"NO_VENV": "ON" | ||
}, | ||
"binaryDir": "build_fw_dev" | ||
}, | ||
{ | ||
"name": "FW Deploy", | ||
"description": "Deployment build for the Firmware, including optimizations and no debug information.", | ||
"inherits": "default", | ||
"toolchainFile": "${sourceDir}/gcc-arm-none-eabi.cmake", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Release", | ||
"PLATFORM": "firmware", | ||
"TARGET": "binary", | ||
"HANDLE_DEPS": "OFF", | ||
"USE_COMMIT_INFO": "ON", | ||
"NO_VENV": "ON" | ||
}, | ||
"binaryDir": "build_fw_deploy" | ||
}, | ||
{ | ||
"name": "FW Deploy CI", | ||
"inherits": "FW Deploy", | ||
"cacheVariables": { | ||
"FIX_FORMATTING": "OFF" | ||
}, | ||
"generator": "Unix Makefiles" | ||
}, | ||
{ | ||
"name": "FW Test", | ||
"description": "Test build for the Firmware, including debug information and no optimizations.", | ||
"inherits": "default", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Debug", | ||
"PLATFORM": "firmware", | ||
"TARGET": "test", | ||
"HANDLE_DEPS": "OFF", | ||
"NO_VENV": "ON" | ||
}, | ||
"binaryDir": "build_fw_test" | ||
}, | ||
{ | ||
"name": "FW Test CI", | ||
"inherits": "FW Test", | ||
"cacheVariables": { | ||
"FIX_FORMATTING": "OFF" | ||
}, | ||
"generator": "Unix Makefiles" | ||
} | ||
], | ||
"buildPresets": [] | ||
"version": 6, | ||
"configurePresets": [ | ||
{ | ||
"name": "default", | ||
"hidden": true | ||
}, | ||
{ | ||
"name": "FW Dev", | ||
"description": "Development build for the Firmware, including debug information and no optimizations.", | ||
"inherits": "default", | ||
"toolchainFile": "${sourceDir}/gcc-arm-none-eabi.cmake", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Debug", | ||
"PLATFORM": "firmware", | ||
"TARGET": "binary", | ||
"HANDLE_DEPS": "OFF", | ||
"USE_COMMIT_INFO": "MINIMAL", | ||
"NO_VENV": "ON" | ||
}, | ||
"binaryDir": "build_fw_dev" | ||
}, | ||
{ | ||
"name": "FW Deploy", | ||
"description": "Deployment build for the Firmware, including optimizations and no debug information.", | ||
"inherits": "default", | ||
"toolchainFile": "${sourceDir}/gcc-arm-none-eabi.cmake", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Release", | ||
"PLATFORM": "firmware", | ||
"TARGET": "binary", | ||
"HANDLE_DEPS": "OFF", | ||
"USE_COMMIT_INFO": "ON", | ||
"NO_VENV": "ON" | ||
}, | ||
"binaryDir": "build_fw_deploy" | ||
}, | ||
{ | ||
"name": "FW Dev Ninja", | ||
"inherits": "FW Dev", | ||
"generator": "Ninja" | ||
}, | ||
{ | ||
"name": "FW Deploy Ninja", | ||
"inherits": "FW Deploy", | ||
"generator": "Ninja" | ||
}, | ||
{ | ||
"name": "FW Deploy CI", | ||
"inherits": "FW Deploy", | ||
"cacheVariables": { | ||
"FIX_FORMATTING": "OFF" | ||
}, | ||
"generator": "Unix Makefiles" | ||
}, | ||
{ | ||
"name": "FW Test", | ||
"description": "Test build for the Firmware, including debug information and no optimizations.", | ||
"inherits": "default", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Debug", | ||
"PLATFORM": "firmware", | ||
"TARGET": "test", | ||
"HANDLE_DEPS": "OFF", | ||
"NO_VENV": "ON" | ||
}, | ||
"binaryDir": "build_fw_test" | ||
}, | ||
{ | ||
"name": "FW Test CI", | ||
"inherits": "FW Test", | ||
"cacheVariables": { | ||
"FIX_FORMATTING": "OFF" | ||
}, | ||
"generator": "Unix Makefiles" | ||
} | ||
], | ||
"buildPresets": [] | ||
} |