-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issues found when bootstrapping trimja
When installing `trimja-action` on this repository there were a few issues found: * CMake unity build creates the source files at the configure step and not within the Ninja build file. This means that we lose the connection and we cannot use trimja with unity builds * Affected files are not converted in an intuitive manner from relative to absolute. CMake generates absolute file paths in the `${build-dir}/build.ninja` file. If we run `git diff --name-only` in the root directory we will get paths in the format `src/header.h`. `trimja` will convert these to absolute paths using the Ninja build file directory as the base, where we probably need to use the current working directory.
- Loading branch information
1 parent
a160c50
commit 9a3cb2c
Showing
6 changed files
with
10 additions
and
9 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
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
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 |
---|---|---|
|
@@ -25,6 +25,7 @@ | |
|
||
#include "fixed_string.h" | ||
|
||
#include <numeric> | ||
#include <optional> | ||
#include <set> | ||
#include <string> | ||
|
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