Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cmake): disable export targets when rmlui as a subproject #395

Merged
merged 1 commit into from
Dec 20, 2022

Conversation

cathaysia
Copy link
Contributor

Signed-off-by: Longtao Zhang DragonBillow@outlook.com

@cathaysia
Copy link
Contributor Author

sorry, please wait for a while

Signed-off-by: Longtao Zhang <DragonBillow@outlook.com>
@cathaysia
Copy link
Contributor Author

cathaysia commented Dec 20, 2022

add a .editorconfig is better, such as:

# EditorConfig is awesome: https://EditorConfig.org
root = true

[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
indent_style = tab
indent_size = 4

@mikke89 mikke89 added the build Build system and compilation label Dec 20, 2022
@mikke89 mikke89 merged commit d952d78 into mikke89:master Dec 20, 2022
@mikke89
Copy link
Owner

mikke89 commented Dec 20, 2022

Thanks again!

We already have a clang-format for C++ files, I don't think one is needed for CMake specifically. Generally, editors should be setup to follow the existing style of the file, then it usually turns out correct.

@cathaysia
Copy link
Contributor Author

yes, but many editor use spaces but not tab, and they will replace it. edit CMakeLists is not so easy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build system and compilation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants