Re: [CMake] How to find/run external host executables when using cross compiling

2013-12-10 Thread Williams, Norman K
This is a case for using the ExternalProject module! You have a top level 'SuperBuild' whose job it is to find all the prerequisites for the actual project build. Then it configures and builds it. This means that the tricky configuration is handled by CMake, instead of working it out yourself b

Re: [CMake] How to find/run external host executables when using cross compiling

2013-12-10 Thread Eric Noulard
2013/12/10 Eric Wing : > On 12/4/13, Eric Wing wrote: >> I'm currently trying to port a rather large, complex project to >> Android. It has an existing CMake project so I'm trying to leverage >> that. I've taken and enhanced one of the Android-CMake toolchains I've >> found. >> >> This particular

Re: [CMake] How to find/run external host executables when using cross compiling

2013-12-09 Thread Eric Wing
On 12/4/13, Eric Wing wrote: > I'm currently trying to port a rather large, complex project to > Android. It has an existing CMake project so I'm trying to leverage > that. I've taken and enhanced one of the Android-CMake toolchains I've > found. > > This particular project I'm porting has unfortu

[CMake] How to find/run external host executables when using cross compiling

2013-12-04 Thread Eric Wing
I'm currently trying to port a rather large, complex project to Android. It has an existing CMake project so I'm trying to leverage that. I've taken and enhanced one of the Android-CMake toolchains I've found. This particular project I'm porting has unfortunate dependencies on running the host sys