Re: [CMake] ExternalProject with toolchain files for cross compiling?

2017-07-14 Thread Sergei Nikulov
2017-07-14 16:14 GMT+03:00 Robert Dailey : > So I'd like to use ExternalProject_Add() to pull down an external git > repository that builds with CMake. I'd like it to use the same > toolchain file that I"m using in my parent projects. However, I do not > see any explicit documentation regarding too

[CMake] ExternalProject with toolchain files for cross compiling?

2017-07-14 Thread Robert Dailey
So I'd like to use ExternalProject_Add() to pull down an external git repository that builds with CMake. I'd like it to use the same toolchain file that I"m using in my parent projects. However, I do not see any explicit documentation regarding toolchain support for ExternalProject. Do I need to ex

Re: [CMake] How to add project files?

2017-07-14 Thread rleigh
On 2017-07-14 03:33, Florian Lindner wrote: Now, in the docs I everywhere read not to add the files using GLOB. However, I have found no definitive guide how to add project files in a large project with subdirs like that. How would you do it in cmakeish fashion? List each file explicitly. For