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

Do not collect source files via globbing #139

Open
90degs2infty opened this issue Jun 20, 2023 · 0 comments
Open

Do not collect source files via globbing #139

90degs2infty opened this issue Jun 20, 2023 · 0 comments

Comments

@90degs2infty
Copy link

Currently, the project's source files are collected via globbing. src/libdbcppp/CMakeLists.txt is one example (see lines 31ff), but this certainly applies to other CMakeLists.txt as well.

The docs explicitly discourage this way of collecting sources:

We do not recommend using GLOB to collect a list of source files from your source tree.

-- reference

Instead, consider listing the sources explicitly.

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

No branches or pull requests

1 participant