Searching your project for all src/*/*.cpp files
-
Hey Derpinas and Derps,
My Project structure looks like this
@
src
| - A
| - somefile.cpp
| - more.cpp
| - B
| - xyz.cpp
| - onemore.cpp@What i would like to do ist to tell my qmake.pro file that it should search for every *.cpp file in src/.
In the makefile it works with this one:
@
SOURCE = $(wildcard src//.cpp)
OBJECTS = $(addprefix Debug/rc,$(notdir $(SOURCE:.cpp=.o)))
@But when i try to do this one in in my qmake.pro
@
SOURCE = $(wildcard src//.cpp)
@it looks like this in my makefile
@
SOURCES = $(wildcard
src//.cpp)
OBJECTS = Debug/src/$(wildcard.o
Debug/src/*.o
@Any ideas or hints?
Thanks!