On Tuesday 01 November 2011, Robert Dailey wrote:
> I don't see a way to join or normalize paths in CMake. For example, there
> is a "base path" that the user can specify in a cache variable, like so:
>
> BASE_PATH = "T:/stuff/"
>
> Later in my CMake script, I join a subpath to it like so:
>
> "
I don't see a way to join or normalize paths in CMake. For example, there
is a "base path" that the user can specify in a cache variable, like so:
BASE_PATH = "T:/stuff/"
Later in my CMake script, I join a subpath to it like so:
"${BASE_PATH}/morestuff"
The problem is, this becomes:
"T:/stuff/