Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TPF
jmess
Commits
b55708e9
Commit
b55708e9
authored
Jul 21, 2007
by
jcaceres
Browse files
Mac Version Ready with Static Links. Binary is installed on bin directory
parent
908bf5cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
jmess/src/m.osx
View file @
b55708e9
...
...
@@ -3,6 +3,12 @@
APP_NAME
=
jmess
######################################
## Created by Juan-Pablo Caceres
## qmake file to generate universal binary.
## you need at least OSX 10.3.9
## Notes: this qmake files compiles using Static Qt Librairies.
## to install qt using static librairies on osx, configure as:
## ./configure -nomake examples -static -release -no-framework -universal -sdk /Developer/SDKs/MacOSX10.4u.sdk
## You need JackOsx Installed, since it's using the jack Framework
#Cleanup
#rm $APP_NAME.pro
...
...
@@ -12,20 +18,27 @@ APP_NAME=jmess
#Create project (.pro) file
qmake
-project
-o
$APP_NAME
.pro
echo
"qmake
-qt4
.pro built."
echo
"qmake .pro built."
#Create Makefile
qmake
-makefile
-spec
macx-g++
-o
Makefile
\
qmake
-makefile
-o
Makefile
\
"CONFIG += release"
\
"CONFIG -= app_bundle"
\
"QT += xml"
\
"QT -= gui"
\
"QMAKE_CLEAN +=
$APP_NAME
"
\
"LIBS += -framework jack -framework CoreAudio"
\
"TARGET =
$APP_NAME
"
\
"LIBS += -dead_strip /usr/local/lib/libjack.0.dylib -framework CoreAudio"
\
"QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk"
\
"CONFIG += x86 ppc sdk"
\
"CONFIG += x86 ppc"
\
"TARGET =
$APP_NAME
"
\
"DESTDIR = ../bin/"
\
"QMAKE_CLEAN +=
$APP_NAME
"
\
"target.path = /usr/bin"
\
"INSTALLS += target"
\
$APP_NAME
.pro
echo
"done"
#Add something like this to statically link librairies
#"LIBS+=$QTDIR/lib/libQtCore.a" \
\ No newline at end of file
#To link jack as framework
#"LIBS += -framework jack
Write
Preview
Supports
Markdown
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