Skip to content

[Enhancement] A path typo in CMakeLists #22

@x12301450

Description

@x12301450

In Test/Language/CMakeLists.txt, you define variable script_path like this:

set(script_path ${TEST_HOME}/Language/Test${lang}/Scripts/)

This variables have trailing slash. However, the variable is used as follows, leading to a double slash problem:

file(GLOB_RECURSE scripts ${script_path}/*.${ext})

Although it will not cause problems for now, I think it's better to remove the trailing slash at the time of definition:

set(script_path ${TEST_HOME}/Language/Test${lang}/Scripts)

I hope this will help improve your project.

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