cmake_path — CMake 3.23.0-rc4 Documentation
cmake.org › cmake › helpcmake_path (IS_ABSOLUTE <path-var> <out-var>) Sets <out-var> to true if <path-var> is absolute. An absolute path is a path that unambiguously identifies the location of a file without reference to an additional starting location. On Windows, this means the path must have both a root-name and a root-directory-separator to be considered absolute.
file — CMake 3.23.0-rc3 Documentation
cmake.org › cmake › helpA search path will be converted to a cmake-style list separated by ; characters. The TO_NATIVE_PATH mode converts a cmake-style <path> into a native path with platform-specific slashes (\ on Windows hosts and / elsewhere). Always use double quotes around the <path> to be sure it is treated as a single argument to this command. Transfer¶