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
-DCMAKE_TOOLCHAIN_FILE="../frontends/blackberry/cmake/Toolchain-QNX-8.0.0.cmake"
-DBUILD_WIKIREADER_BLACKBERRY=ON ..

==========

*Proposed*

cmake -DBUILD_WIKIREADER_BLACKBERRY=ON ..

and

../CMakeListst.txt:
set_toolchain_file("../frontends/blackberry/cmake/Toolchain-QNX-8.0.0.cmake")

This is pseudo code, but you get my point, don't you? It would be shorter
for the developer, packager or user to use cmake.


> Can you attach your toolchain file here so we can have a look ?
>

http://quickgit.kde.org/?p=scratch%2Flpapp%2Fwikireader.git&a=blob&h=2e3e197590bfdce77ae282be840d7b167afafb94&hb=7bf46fccfa4c087500a12116588e071b1183b4e7&f=frontends%2Fblackberry%2Fcmake%2FToolchain-QNX-8.0.0.cmake

Laszlo
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to