│ Makefile
│ alles.pro
│ Vorgaben.pri
│
└───Bestandteile
├───Plugin1
│ Plugin1.pro
└Quellen
xx.cpp
.
.
.
└───Hauptprogramm
│ Makefile
│ Makefile.Debug
│ Makefile.Release
│ Hauprprogramm.pro
│
└───Quellen
haupt.cpp
Das stehen in den Dateien:
alles.pro
Code: Alles auswählen
TEMPLATE =subdirs
PFAD =C:/c++/Projekte/SmartCard/Entwicklung
SUBDIRS += Bestandteile/Hauptprogramm\
Bestandteile/Plugin1\
Bestandteile/PluginX
Code: Alles auswählen
CONFIG += qt release
#Mit Debug Infos??
CONFIG += MEINDEBUG
#Müll entfernen
#QMAKE_POST_LINK =strip -s $(TARGET)
message(Pfad ist $$PFAD)
DESTDIR = $$PFAD/bin
MOC_DIR = $$PFAD/tmp/moc
OBJECTS_DIR = $$PFAD/tmp/obj
UI_HEADERS_DIR = $$PFAD/tmp/ui_headers
Code: Alles auswählen
include (../../Vorgaben.pri)
CONFIG(MEINDEBUG)
{
message("Erstelle Version mit Hilfsmeldungen")
DEFINES +=MEINDEBUG
win32:config+=console
}
TEMPLATE = app
TARGET = tests
SOURCES += Quellen/haupt.cpp
nach dem aufruf von qmake und make passiert nix
keine Fehlermeldung und auch der Compiler wird nicht ageworfen.
Das einzige, was man erhält ist:
cd Bestandteile\Hauptprogramm && mingw32-make
mingw32-make[1]: Entering directory `C:/c++/Projekte/SmartCard/Entwicklung/Bestandteile/Hauptprogramm'
mingw32-make -f Makefile.Release
mingw32-make[2]: Entering directory `C:/c++/Projekte/SmartCard/Entwicklung/Bestandteile/Hauptprogramm'
mingw32-make[2]: Nothing to be done for `first'.
mingw32-make[2]: Leaving directory `C:/c++/Projekte/SmartCard/Entwicklung/Bestandteile/Hauptprogramm'
mingw32-make[1]: Leaving directory `C:/c++/Projekte/SmartCard/Entwicklung/Bestandteile/Hauptprogramm'