Skip to content

Complete quoting for parameters of some CMake commands #378

@elfring

Description

@elfring

Some parameters (like "${CMAKE_BINARY_DIR}/lib" and "${CMAKE_SOURCE_DIR}/Foundation/src") are passed to CMake commands in your build scripts without enclosing them by quotation marks. I see that these places will result in build difficulties if the contents of the used variables will contain special characters like spaces.

I would recommend to apply advices from a Wiki article.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions