Revision 4,
1.3 KB
checked in by ajaworski, 13 years ago
(diff) |
Added modified SAGE sources
|
Rev | Line | |
---|
[4] | 1 | # Mac - Linux : to expand with: qmake -spec macx-g++
|
---|
| 2 | # Win32 :
|
---|
| 3 | # set QMAKESPEC=win32-msvc2008
|
---|
| 4 | # qmake -tp vc -config debug
|
---|
| 5 |
|
---|
| 6 |
|
---|
| 7 | TARGET = qshare
|
---|
| 8 | DESTDIR= $$(PWD)
|
---|
| 9 | CONFIG += x86
|
---|
| 10 | TEMPLATE = app
|
---|
| 11 | FORMS = capturewindow.ui
|
---|
| 12 | SOURCES = main.cpp \
|
---|
| 13 | capturewindow.cpp \
|
---|
| 14 | FastDXT/libdxt.cpp \
|
---|
| 15 | FastDXT/dxt.cpp \
|
---|
| 16 | FastDXT/util.cpp \
|
---|
| 17 | FastDXT/intrinsic.cpp
|
---|
| 18 |
|
---|
| 19 | HEADERS += capturewindow.h
|
---|
| 20 |
|
---|
| 21 | INCLUDEPATH += FastDXT
|
---|
| 22 |
|
---|
| 23 | QMAKE_CXXFLAGS += -DDXT_INTR
|
---|
| 24 |
|
---|
| 25 | RC_FILE = qsharerc.rc
|
---|
| 26 |
|
---|
| 27 | macx {
|
---|
| 28 | INCLUDEPATH += ../../include
|
---|
| 29 | LIBS += -m32 -L../../lib -lsail -framework OpenGL -framework Cocoa -framework IOKit -lobjc -lm
|
---|
| 30 | }
|
---|
| 31 | unix:!macx {
|
---|
| 32 | INCLUDEPATH += ../../include
|
---|
| 33 | LIBS += -L../../lib -lsail -lquanta
|
---|
| 34 | }
|
---|
| 35 | win32 {
|
---|
| 36 | QMAKE_CXXFLAGS += -D_CRT_SECURE_NO_WARNINGS
|
---|
| 37 | CONFIG += embed_manifest_exe
|
---|
| 38 | INCLUDEPATH += ../../include
|
---|
| 39 | INCLUDEPATH += ../../win32/include
|
---|
| 40 | LIBS += -L../../lib -L../../win32/lib -lsail -lpthread -lWs2_32 -lquanta
|
---|
| 41 | }
|
---|
| 42 |
|
---|
| 43 | RESOURCES +=
|
---|
| 44 | target.path=../../bin
|
---|
| 45 | INSTALLS += target
|
---|
| 46 |
|
---|
| 47 | message(Qt version: $$[QT_VERSION])
|
---|
| 48 | message(Qt is installed in $$[QT_INSTALL_PREFIX])
|
---|
| 49 | message(Qt resources can be found in the following locations:)
|
---|
| 50 | message(Header files: $$[QT_INSTALL_HEADERS])
|
---|
| 51 | message(Libraries: $$[QT_INSTALL_LIBS])
|
---|
| 52 |
|
---|
| 53 | OTHER_FILES +=
|
---|
Note: See
TracBrowser
for help on using the repository browser.