Generator expressions: any reason there is no $<PATH:NATIVE_PATH> ?

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

Probably an oversight.

Path lists might fit well in the $<LIST> proposal though.

@marc.chevrier

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.