On Mon, 14 Sep 2009, Boudewijn Rempt wrote:
> my target_link_libraries looks like this:
>
> target_link_libraries(HyvesDesktop HyvesDesktopLib ${QT_LIBRARIES})
>
> HyvesDesktopLib provides the CrashHandler object, and I've checked whether
> ${QT_LIBRARIES} was set correctly, and it points to the right Qt.
>
But indeed, if I add the bundle flag, there are no libraries on the
command line, if I don't, it looks like:
/usr/bin/c++ -mmacosx-version-min=10.6 -Wall -arch i386
-Wl,-search_paths_first -headerpad_max_install_names -fPIC
CMakeFiles/HyvesDesktop.dir/src/main.cpp.o
CMakeFiles/HyvesDesktop.dir/qrc_HyvesDesktop.cxx.o -o HyvesDesktop
-F/Users/boudewijn/qt46-carbon-no-dbus/lib
-F/Users/boudewijn/hyves/hyves-desktop/trunk/3rdparty
-L/Users/boudewijn/hyves/hyves-desktop/trunk/build/src
-L/Users/boudewijn/qt46-carbon-no-dbus/lib
-L/Users/boudewijn/hyves/hyves-desktop/trunk/build/3rdparty/qtsingleapplication-2.6-opensource
-L/Users/boudewijn/hyves/hyves-desktop/trunk/build/3rdparty/genusapis
-L/Users/boudewijn/hyves/hyves-desktop/trunk/build/3rdparty/google-breakpad-read-only
-L/Users/boudewijn/hyves/hyves-desktop/trunk/build/3rdparty/idle
-L/Users/boudewijn/hyves/hyves-desktop/trunk/build/3rdparty/qjson/lib
-L/Users/boudewijn/hyves/hyves-desktop/trunk/build/3rdparty/quazip
src/libHyvesDesktopLib.dylib -framework QtSvg
/Users/boudewijn/qt46-carbon-no-dbus/lib/libQtUiTools.a -framework QtWebKit
-framework QtGui -framework Carbon -framework AppKit -framework QtTest
-framework QtXml -framework QtNetwork /usr/lib/libssl.dylib -framework QtCore
/usr/lib/libz.dylib -framework ApplicationServices
3rdparty/qtsingleapplication-2.6-opensource/libqtsingleapplication.a
3rdparty/genusapis/libgenusapis.a
3rdparty/google-breakpad-read-only/libbreakpad.a -lcrypto -framework COCOA
3rdparty/idle/libidle.a /Users/boudewijn/qt46-carbon-no-dbus/lib/libqca.dylib
3rdparty/qjson/lib/libqjson.a 3rdparty/quazip/libquazip.a -framework QtSvg
/Users/boudewijn/qt46-carbon-no-dbus/lib/libQtUiTools.a -framework QtWebKit
-framework QtGui -framework Carbon -framework AppKit -framework QtTest
-framework QtXml -framework QtNetwork /usr/lib/libssl.dylib -framework QtCore
/usr/lib/libz.dylib -framework ApplicationServices -framework Carbon -framework
IOKit -framework Growl
But I don't get a bundle, of course.
_______________________________________________
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