Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
b0ab9b34
Commit
b0ab9b34
authored
Nov 29, 2010
by
lm
Browse files
Options
Browse Files
Download
Plain Diff
Merged
parents
5c298fa1
324f7556
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
31 deletions
+12
-31
qgroundcontrol.pri
qgroundcontrol.pri
+9
-27
qgroundcontrol.pro
qgroundcontrol.pro
+3
-4
No files found.
qgroundcontrol.pri
View file @
b0ab9b34
...
...
@@ -107,9 +107,10 @@ macx {
# GNU/Linux
linux-g++ {
debug {
DESTDIR = $$BUILDDIR/debug
CONFIG += debug
}
release {
...
...
@@ -124,18 +125,8 @@ linux-g++ {
# $$BASEDIR/lib/flite/lang
HARDWARE_PLATFORM = $$system(uname -a)
contains( HARDWARE_PLATFORM, x86_64 ) {
# 64-bit Linux
#LIBS += \
#-L$$BASEDIR/lib/flite/linux64
message(Building for GNU/Linux 64bit/x64)
} else {
# 32-bit Linux
#LIBS += \
#-L$$BASEDIR/lib/flite/linux32
message(Building for GNU/Linux 32bit/i386)
}
message(Building for GNU/Linux 32bit/i386)
LIBS += \
-L/usr/lib \
-lm \
...
...
@@ -186,10 +177,10 @@ linux-g++ {
}
linux-g++-64 {
CONFIG += debug
debug {
DESTDIR = $$BUILDDIR/debug
CONFIG += debug
}
release {
...
...
@@ -197,24 +188,16 @@ linux-g++-64 {
}
QMAKE_PRE_LINK += cp -rf $$BASEDIR/audio $$DESTDIR/.
INCLUDEPATH += /usr/include \
/usr/include/qt4/phonon
# $$BASEDIR/lib/flite/include \
# $$BASEDIR/lib/flite/lang
HARDWARE_PLATFORM = $$system(uname -a)
contains( HARDWARE_PLATFORM, x86_64 ) {
# 64-bit Linux
#LIBS += \
#-L$$BASEDIR/lib/flite/linux64
message(Building for GNU/Linux 64bit/x64)
} else {
# 32-bit Linux
#LIBS += \
#-L$$BASEDIR/lib/flite/linux32
message(Building for GNU/Linux 32bit/i386)
}
# 64-bit Linux
message(Building for GNU/Linux 64bit/x64 (g++-64))
LIBS += \
-L/usr/lib \
-lm \
...
...
@@ -251,7 +234,6 @@ linux-g++-64 {
LIBS += -lfreenect
DEFINES += QGC_LIBFREENECT_ENABLED
}
}
# Windows (32bit)
...
...
qgroundcontrol.pro
View file @
b0ab9b34
...
...
@@ -37,8 +37,7 @@ BASEDIR = $$IN_PWD
TARGETDIR
=
$$
OUT_PWD
BUILDDIR
=
$$
TARGETDIR
/
build
LANGUAGE
=
C
++
CONFIG
+=
debug_and_release
\
console
CONFIG
+=
console
OBJECTS_DIR
=
$$
BUILDDIR
/
obj
MOC_DIR
=
$$
BUILDDIR
/
moc
UI_HEADERS_DIR
=
src
/
ui
/
generated
...
...
@@ -351,9 +350,9 @@ contains(DEPENDENCIES_PRESENT, osgearth) {
}
}
contains
(
DEPENDENCIES_PRESENT
,
libfreenect
)
{
contains
(
DEPENDENCIES_PRESENT
,
libfreenect
)
{
message
(
"Including sources for libfreenect"
)
#
Enable
only
if
libfreenect
is
available
SOURCES
+=
src
/
input
/
Freenect
.
cc
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment