c++ - qmake project with app and tests target -


can hint me how should configure qmake build app , tests executables separately? have read need use "subdirs" template cant make work. have dir tree:

myproject -myproject.pro -app  -app.pro  -main.cpp  -source -test   -test.pro   -main.cpp   -source 

how configure .pro files? can somehow configure common settings in myproject.pro (add source files etc) , make app.pro , test.pro use config (plus add more)?


Comments