Modify

Opened 8 years ago

Closed 8 years ago

Last modified 22 months ago

#3010 closed enhancement (wontfix)

CMake OpenWRT cross compile examples

Reported by: Frank Cervenka Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version:
Keywords: CMake Cc:

Description

This package demonstrates how you can build apps and libs (shared or static)
for an OpenWRT target with the CMake build system.
You also can build these apps and libs for the host system without changing
the buildfiles or the sources.

Attachments (2)

CMakeOpenWRTExamples.tar.gz (6.2 KB) - added by Frank Cervenka 8 years ago.
CMake examples
CMakeOpenWRTExamples.tar.2.gz (6.2 KB) - added by Frank Cervenka 8 years ago.
Some fixes and source code cleaning, please use this file

Download all attachments as: .zip

Change History (8)

Changed 8 years ago by Frank Cervenka

CMake examples

Changed 8 years ago by Frank Cervenka

Some fixes and source code cleaning, please use this file

comment:1 follow-up: Changed 8 years ago by anonymous

I can't unzip this file 'tar xzf CMakeOpenWRTExamples.tar.2.gz'

comment:2 in reply to: ↑ 1 ; follow-up: Changed 8 years ago by anonymous

Replying to anonymous:

I can't unzip this file 'tar xzf CMakeOpenWRTExamples.tar.2.gz'

Sorry, gzip -d worked.

comment:3 in reply to: ↑ 2 Changed 8 years ago by Frank Cervenka

Replying to anonymous:

Replying to anonymous:

I can't unzip this file 'tar xzf CMakeOpenWRTExamples.tar.2.gz'

Sorry, gzip -d worked.

Seems that something happens to the file during up- or download.
My original here works with 'tar zxvf CMakeOpenWRTExamples.tar.gz' perfectly.
After up- and downloading i have to use:
'gunzip CMakeOpenWRTExamples.tar.2.gz'
and
'tar xvf CMakeOpenWRTExamples.tar.2'

comment:4 follow-up: Changed 8 years ago by florian

  • Resolution set to wontfix
  • Status changed from new to closed

Thanks for providing examples of CMake, but will not use it in OpenWrt right now, sticking to GNU make is sufficient for our needs.

comment:5 in reply to: ↑ 4 Changed 3 years ago by anonymous

Replying to florian:

Thanks for providing examples of CMake, but will not use it in OpenWrt right now, sticking to GNU make is sufficient for our needs.

I don't think these are what you think they are for. They are just examples. Using this you can build cmake projects in OpenWrt. Perhaps the content of this report should be moved to the Wiki.

comment:6 Changed 22 months ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.