Hi,
there is a generator expression to convert a native path to cmake path, $PATH:CMAKE_PATH.
Is there a reason that there is no $PATH:NATIVE_PATH ?
What about versions which would do the conversion for lists of paths ?
Thanks
Alex
Hi,
there is a generator expression to convert a native path to cmake path, $PATH:CMAKE_PATH.
Is there a reason that there is no $PATH:NATIVE_PATH ?
What about versions which would do the conversion for lists of paths ?
Thanks
Alex
For conversion to native path, there is the $<SHELL_PATH>
genex.
And, starting with the next version of CMake
(3.27), $<PATH>
, for decomposition and transformations subparts, supports the lists.
Because it’s not cross-platform, that’s why.