Re: [CMake] Implicit toolchain file usage

2013-01-18 Thread Laszlo Papp
On Thu, Jan 17, 2013 at 8:43 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Thursday 17 January 2013, Laszlo Papp wrote: On Thu, Jan 17, 2013 at 8:31 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: do you mean using -DCMAKE_SYSTEM_NAME=qnx should trigger something

[CMake] Implicit toolchain file usage

2013-01-17 Thread Laszlo Papp
Hi, I have been pondering for a while if it was possible (theoritically, and then practically) to get the toolchain fine defined inside one (main?) of the cmake files? I have been using the -DCMAKE_TOOLCHAIN_FILE=my-toolchain-file.cmake option, but I think this can become duplicated easily. That

Re: [CMake] Implicit toolchain file usage

2013-01-17 Thread Laszlo Papp
On Thu, Jan 17, 2013 at 8:31 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: do you mean using -DCMAKE_SYSTEM_NAME=qnx should trigger something ? Don't know, my experience is that cross compiling environments usually vary a lot in their setup. *Current* cmake

Re: [CMake] Implicit toolchain file usage

2013-01-17 Thread Alexander Neundorf
On Thursday 17 January 2013, Laszlo Papp wrote: On Thu, Jan 17, 2013 at 8:31 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: do you mean using -DCMAKE_SYSTEM_NAME=qnx should trigger something ? Don't know, my experience is that cross compiling environments usually vary a lot