wildcards for qmake variables SOURCES and HEADERS

This commit is contained in:
Mathew Sutcliffe
2013-04-09 18:05:52 +01:00
parent 01cfbf2516
commit e3a8ad2987
13 changed files with 22 additions and 102 deletions

View File

@@ -12,10 +12,9 @@ DEPENDPATH += . ../../src
INCLUDEPATH += . ../../src
SOURCES += main.cpp\
client.cpp
SOURCES += *.cpp
HEADERS += client.h
HEADERS += *.h
LIBS += -L../../lib -lblackmisc

View File

@@ -11,10 +11,9 @@ DEPENDPATH += . ../../src
INCLUDEPATH += . ../../src
SOURCES += main.cpp \
server.cpp
SOURCES += *.cpp
HEADERS += server.h
HEADERS += *.h
LIBS += -L../../lib -lblackmisc

View File

@@ -8,7 +8,7 @@ DEPENDPATH += . ../../src
INCLUDEPATH += . ../../src
SOURCES += main.cpp\
SOURCES += *.cpp
LIBS += -L../../lib -lblackmisc

View File

@@ -11,7 +11,7 @@ DEPENDPATH += . ../../src
INCLUDEPATH += . ../../src
SOURCES += main.cpp
SOURCES += *.cpp
LIBS += -L../../lib -lblackmisc -lblackcore

View File

@@ -11,7 +11,7 @@ DEPENDPATH += . ../../src
INCLUDEPATH += . ../../src
SOURCES += main.cpp
SOURCES += *.cpp
LIBS += -L../../lib -lblackmisc -lblackcore

View File

@@ -11,7 +11,7 @@ DEPENDPATH += . ../../src
INCLUDEPATH += . ../../src
SOURCES += main.cpp
SOURCES += *.cpp
LIBS += -L../../lib -lblackmisc

View File

@@ -7,14 +7,9 @@ INCLUDEPATH += . ..
TARGET = BlackBox
TEMPLATE = app
SOURCES += main.cpp \
blackbox.cpp \
dialog_chat.cpp \
dialog_connect.cpp
SOURCES += *.cpp
HEADERS += blackbox.h \
dialog_chat.h \
dialog_connect.h
HEADERS += *.h
FORMS += blackbox.ui dialog_connect.ui dialog_chat.ui

View File

@@ -20,36 +20,9 @@ precompile_header:!isEmpty(PRECOMPILED_HEADER) {
DEFINES += LOG_IN_FILE
HEADERS += \
sim_callbacks.h \
constants.h \
fsd_protocol.h \
ecef.h \
fsd_client.h \
fsd_messages.h \
interpolator.h \
mathematics.h \
matrix_3d.h \
multiplayer.h \
ned.h \
plane.h \
simulator.h \
vector_3d.h \
vector_geo.h
HEADERS += *.h
SOURCES += \
ecef.cpp \
fsd_client.cpp \
fsd_messages.cpp \
interpolator.cpp \
mathematics.cpp \
matrix_3d.cpp \
multiplayer.cpp \
ned.cpp \
plane.cpp \
simulator.cpp \
vector_3d.cpp \
vector_geo.cpp
SOURCES += *.cpp
DESTDIR = ../../lib

View File

@@ -10,12 +10,9 @@ DEPENDPATH += . ..
INCLUDEPATH += ..
SOURCES += main.cpp \
blackd.cpp \
qt_displayer.cpp \
SOURCES += *.cpp
HEADERS += blackd.h \
qt_displayer.h \
HEADERS += *.h
FORMS += blackd.ui

View File

@@ -16,46 +16,9 @@ precompile_header:!isEmpty(PRECOMPILED_HEADER) {
DEFINES += LOG_IN_FILE
HEADERS += \
logmessage.h \
log.h \
display.h \
debug.h \
context.h \
config.h \
config_manager.h \
serialize.h \
com_client.h \
com_server.h \
com_client_buffer.h \
message.h \
com_handler.h \
message_factory.h \
message_handler.h \
type_info.h \
message_dispatcher.h \
message_system.h \
gui_messages.h
HEADERS += *.h
SOURCES += \
logmessage.cpp \
log.cpp \
display.cpp \
debug.cpp \
context.cpp \
config.cpp \
config_manager.cpp \
serialize.cpp \
com_client.cpp \
com_server.cpp \
com_client_buffer.cpp \
message.cpp \
com_handler.cpp \
message_factory.cpp \
message_handler.cpp \
type_info.cpp \
message_dispatcher.cpp \
message_system.cpp
SOURCES += *.cpp
DESTDIR = ../../lib

View File

@@ -8,11 +8,9 @@ DESTDIR = ../../../bin
DEPENDPATH += .
HEADERS += \
driver_fs9.h
HEADERS += *.h
SOURCES += \
driver_fs9.cpp
SOURCES += *.cpp

View File

@@ -8,11 +8,9 @@ DESTDIR = ../../../bin
DEPENDPATH += .
HEADERS += \
driver_fsx.h
HEADERS += *.h
SOURCES += \
driver_fsx.cpp
SOURCES += *.cpp

View File

@@ -8,11 +8,9 @@ DESTDIR = ../../../bin
DEPENDPATH += .
HEADERS += \
driver_xplane.h
HEADERS += *.h
SOURCES += \
driver_xplane.cpp
SOURCES += *.cpp