something like ... ?
file(RELATIVE_PATH variable directory file)
On Fri, Oct 9, 2015 at 2:09 PM, Howard Rubin
wrote:
> Is it possible to get the relative path from PROJECT_BINARY_DIR (or
> CMAKE_BINARY_DIR) to CMAKE_SOURCE_DIR?
>
>
>
> I’m using CMAKE_SOURCE_DIR to add files to *.csproj file (co
Is it possible to get the relative path from PROJECT_BINARY_DIR (or
CMAKE_BINARY_DIR) to CMAKE_SOURCE_DIR?
I'm using CMAKE_SOURCE_DIR to add files to *.csproj file (copied with
configure_file) using CMake on Windows. This results in lots of warnings
like the below that I'd like to get rid of. I