[CMake] CMake and OpenWrt

Tim Just tim.just at rwth-aachen.de
Wed Dec 9 08:00:26 EST 2009


Hi,

Tim Just wrote:
> Thanks for your fast reply!
> 
> Cedric GESTES wrote:
>> Yep I did. in fact with openembedded, not openwrt.
>>
>> You need a toolchain.cmake file to be passed to cmake. This file will 
>> configure cmake to use your cross-tool-chain. (compiler and staged 
>> library).
> 
> Ok, so you first run cmake using the toolchain.cmake file and then use 
> the produced Makefile during the openembedded respectively openwrt build 
> process?
> 
> Do you have an usage example?

Has anybody further information on using CMake in combination with openwrt?

Cedric: Could you please give me additional information regarding your 
solution with openembedded?

Best regards,

Tim
> 
> BR,
> 
> Tim
> 
>>
>> see: http://www.cmake.org/Wiki/CMake_Cross_Compiling
>>
>>
>> On Mon, Dec 7, 2009 at 4:05 PM, Tim Just <tim.just at rwth-aachen.de 
>> <mailto:tim.just at rwth-aachen.de>> wrote:
>>
>>     Hi,
>>
>>     we want to use CMake as replacement of GNU Autotools within a
>>     research project. The CMake build system for Unix platforms is
>>     almost working.
>>
>>     The next step would be to build our project within OpenWrt[1].
>>     Because autotools is widely used in combination with OpenWrt, there
>>     was little effort to build our software using this combination.
>>
>>     Now I'm not sure if it is possible to use CMake as build system
>>     within OpenWrt. The point is, that during the build process the
>>     whole toolchain has to be compiled for the target platform...
>>
>>     My searches on google only produced [2].
>>
>>     Has anybody already used CMake in combination with OpenWrt or has
>>     some ideas how to start?
>>
>>     Best regards,
>>
>>     Tim
>>
>>
>>
>>     [1] http://www.openwrt.org/
>>     [2] https://dev.openwrt.org/ticket/3010
>>     _______________________________________________
>>     Powered by www.kitware.com <http://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
>>
>>
> 
> _______________________________________________
> 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



More information about the CMake mailing list