Use variables for the same directories.
This commit is contained in:
spacy51 2008-03-01 22:35:43 +00:00
parent 93d8df0e5e
commit f6b81b227b
1 changed files with 26 additions and 21 deletions

View File

@ -3,37 +3,42 @@ CONFIG += qt release
QT += opengl QT += opengl
TARGET = VisualBoyAdvance TARGET = VisualBoyAdvance
RESOURCES += ../../src/qt/vba-m.qrc # Directory Locations
M_DIR_QT = ../../src/qt/
M_DIR_LANG = ../../lang/
RESOURCES += $${M_DIR_QT}vba-m.qrc
win32 { win32 {
RC_FILE = ../../src/qt/vba-m.rc RC_FILE = $${M_DIR_QT}vba-m.rc
} }
TRANSLATIONS += ../../lang/german.ts # Language Files
TRANSLATIONS += ../../lang/spanish.ts TRANSLATIONS += $${M_DIR_LANG}german.ts
TRANSLATIONS += $${M_DIR_LANG}spanish.ts
PRECOMPILED_HEADER = ../../src/qt/precompile.h PRECOMPILED_HEADER = $${M_DIR_QT}precompile.h
HEADERS += ../../src/qt/version.h HEADERS += $${M_DIR_QT}version.h
HEADERS += ../../src/qt/main.h HEADERS += $${M_DIR_QT}main.h
SOURCES += ../../src/qt/main.cpp SOURCES += $${M_DIR_QT}main.cpp
HEADERS += ../../src/qt/MainWnd.h HEADERS += $${M_DIR_QT}MainWnd.h
SOURCES += ../../src/qt/MainWnd.cpp SOURCES += $${M_DIR_QT}MainWnd.cpp
FORMS += ../../src/qt/sidewidget_cheats.ui FORMS += $${M_DIR_QT}sidewidget_cheats.ui
HEADERS += ../../src/qt/sidewidget_cheats.h HEADERS += $${M_DIR_QT}sidewidget_cheats.h
SOURCES += ../../src/qt/sidewidget_cheats.cpp SOURCES += $${M_DIR_QT}sidewidget_cheats.cpp
HEADERS += ../../src/qt/MainOptions.h HEADERS += $${M_DIR_QT}MainOptions.h
SOURCES += ../../src/qt/MainOptions.cpp SOURCES += $${M_DIR_QT}MainOptions.cpp
HEADERS += ../../src/qt/configdialog.h HEADERS += $${M_DIR_QT}configdialog.h
SOURCES += ../../src/qt/configdialog.cpp SOURCES += $${M_DIR_QT}configdialog.cpp
HEADERS += ../../src/qt/EmuManager.h HEADERS += $${M_DIR_QT}EmuManager.h
SOURCES += ../../src/qt/EmuManager.cpp SOURCES += $${M_DIR_QT}EmuManager.cpp
HEADERS += ../../src/qt/GraphicsOutput.h HEADERS += $${M_DIR_QT}GraphicsOutput.h
SOURCES += ../../src/qt/GraphicsOutput.cpp SOURCES += $${M_DIR_QT}GraphicsOutput.cpp