QMAKE: Project clean directory tree



  • Hi guys, I am working on new project, and I want to have clean directory tree. My directory tree looks like this example:
    @
    Project/
    Project.pro
    Make/
    Default.release
    Subproject/
    Debug.Makefile
    Release.Makefile
    // other subproject's makefiles
    Bin/
    Debug/
    Release/
    Src/
    Project/
    Subproject/
    // and so on...
    Lib/
    Debug/
    Release/
    Tmp/
    Moc/
    Res/
    Res/
    @

    That's my problem, cause I don't have any idea to do this via qmake. Yes, I know Make (GNU Make) (it's pretty simple) and it's simple, but how can I manually add my own makefiles into the project file?


  • Moderators

    Moved to tools forum.



  • Probably hard question.

    //EDIT:
    I think I jump over the qmake and just I'll run Mingw32-make (from command line)...it's not very clever, but I think that's the best solution.



  • Is there any way to change OUT_PWD via cmd?

    (It seems like I am asking myself, sorry guys...)

    I've tried this:
    @qmake.exe -makefile make\Makefile@


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.