Skip to content

Do not collect source files via globbing #139

Description

@90degs2infty

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions