Telem-GW6Lin-build-qtcreator: Difference between revisions
Jump to navigation
Jump to search
(Uus lehekülg: 'Edit your build configuration to look like this: =Build settings PC-DEBUG= ==General== Use shadow building ==Build Steps== ===qmake=== ====qmake build configuration==== debug ====…') |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Edit your build configuration to look like this: | Edit your build configuration to look like this: | ||
=Build settings PC-DEBUG= | ==Build settings PC-DEBUG== | ||
==General== | ===General=== | ||
Use shadow building | Use shadow building | ||
==Build Steps== | ===Build Steps=== | ||
===qmake=== | ====qmake==== | ||
====qmake build configuration==== | =====qmake build configuration===== | ||
debug | debug | ||
====Additional arguments==== | =====Additional arguments===== | ||
This makes qmake load necessary defines from file '''linux-debug.cache''' | This makes qmake load necessary defines from file '''linux-debug.cache''' | ||
-cache ${SOURCEDIR}/linux-debug.cache | -cache ${SOURCEDIR}/linux-debug.cache | ||
===make=== | ====make==== | ||
====make arguments==== | =====make arguments===== | ||
define number of | define number of cores to use for building, for example '''2''' | ||
-j'''2''' | -j'''2''' | ||
=Run settings PC-DEBUG= | ==Run settings PC-DEBUG== | ||
==Arguments== | ===Arguments=== | ||
--hw-conf gw6.hardware --user-conf gw6.user --log-folder log/ --app-name gw6 | --hw-conf gw6.hardware --user-conf gw6.user --log-folder log/ --app-name gw6 | ||
== mkspecs/arm-linux-g++ == | |||
<pre> | |||
# | |||
# qmake configuration for CodeSourcery G++ ( arm-none-linux-gnueabi-g++ ) | |||
# | |||
# Target Systems: | |||
# Systems running "full" Linux, i.e., Linux on CPUs with an MMU. Use Sourcery G++ to build both the Linux kernel and applications. | |||
# | |||
MAKEFILE_GENERATOR = UNIX | |||
TEMPLATE = app | |||
CONFIG += warn_on release incremental | |||
# These defines are available in every file during compilation | |||
#DEFINES += GATEWAY6_ARM MULTI_THREADING | |||
QMAKE_INCREMENTAL_STYLE = sublib | |||
#QMAKE_CFLAGS_RELEASE += -O1 | |||
include(../common/g++.conf) | |||
include(../common/linux.conf) | |||
QMAKE_CXX = arm-none-linux-gnueabi-g++ | |||
QMAKE_LINK = arm-none-linux-gnueabi-g++ | |||
QMAKE_CFLAGS_RELEASE = -O0 | |||
load(qt_config) | |||
</pre> |
Latest revision as of 08:45, 22 December 2011
Edit your build configuration to look like this:
Build settings PC-DEBUG
General
Use shadow building
Build Steps
qmake
qmake build configuration
debug
Additional arguments
This makes qmake load necessary defines from file linux-debug.cache
-cache ${SOURCEDIR}/linux-debug.cache
make
make arguments
define number of cores to use for building, for example 2
-j2
Run settings PC-DEBUG
Arguments
--hw-conf gw6.hardware --user-conf gw6.user --log-folder log/ --app-name gw6
mkspecs/arm-linux-g++
# # qmake configuration for CodeSourcery G++ ( arm-none-linux-gnueabi-g++ ) # # Target Systems: # Systems running "full" Linux, i.e., Linux on CPUs with an MMU. Use Sourcery G++ to build both the Linux kernel and applications. # MAKEFILE_GENERATOR = UNIX TEMPLATE = app CONFIG += warn_on release incremental # These defines are available in every file during compilation #DEFINES += GATEWAY6_ARM MULTI_THREADING QMAKE_INCREMENTAL_STYLE = sublib #QMAKE_CFLAGS_RELEASE += -O1 include(../common/g++.conf) include(../common/linux.conf) QMAKE_CXX = arm-none-linux-gnueabi-g++ QMAKE_LINK = arm-none-linux-gnueabi-g++ QMAKE_CFLAGS_RELEASE = -O0 load(qt_config)