Skip to content

3d: use custom .clang-format assumed to exist in output directory#186

Merged
tahina-pro merged 4 commits into
masterfrom
_taramana_3d_clang_format_file
May 20, 2025
Merged

3d: use custom .clang-format assumed to exist in output directory#186
tahina-pro merged 4 commits into
masterfrom
_taramana_3d_clang_format_file

Conversation

@tahina-pro

Copy link
Copy Markdown
Member

So far with --clang_format, 3D copies the style configuration file from https://github.com/project-everest/everparse/blob/master/src/3d/.clang-format into the output directory specified by --odir.

This PR introduces --clang_format_use_custom_config to skip that copy. Instead, 3D will assume that a .clang-format file already exists in the output directory. In particular, the Makefile generated by --makefile will still add .clang-format to the prerequisites of .c and .h files, but will no longer generate a rule to produce/copy it.

@tahina-pro
tahina-pro requested a review from nikswamy May 19, 2025 18:18
@tahina-pro
tahina-pro merged commit a911b9d into master May 20, 2025
@tahina-pro
tahina-pro deleted the _taramana_3d_clang_format_file branch June 9, 2025 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant