Re: [CMake] include_directories converting CMAKE_BINARY_DIR into relative path

2018-01-09 Thread Russell L. Carter
Ah well, I figured out the problem, it was located between my chair and my keyboard. Everything works perfectly now. I sure do love cmake. Thanks, Russell On 01/09/18 15:46, Russell L. Carter wrote: Greetings, I am trying to generate a platform specific file by copying it from the source tre

[CMake] include_directories converting CMAKE_BINARY_DIR into relative path

2018-01-09 Thread Russell L. Carter
Greetings, I am trying to generate a platform specific file by copying it from the source tree into a specific directory in the separate out-of-source build tree. The file generation works fine. When I try the following cmake code: set(target_dir ${CMAKE_BINARY_DIR}/nail/platform) message("tar