make QMAKE_CLEAN delete whole directories?
I wonder how I can make qmake delete complete directories when doing a "make clean"? I can add additional file, or wildcards by:
QMAKE_CLEAN += foo/bar/*
but this will invoke "rm -f" only. is there a way to make qmake delete complete directory structures on an invokation to make clean?
Re: make QMAKE_CLEAN delete whole directories?
I think you can edit qmake.conf
in mkspecs folder
some example
Code:
QMAKE_COPY = copy /y
QMAKE_COPY_DIR = xcopy /s /q /y /i
QMAKE_MOVE = move
QMAKE_DEL_FILE = del
QMAKE_DEL_DIR = rmdir
QMAKE_CHK_DIR_EXISTS = if not exist
QMAKE_MKDIR = mkdir
Re: make QMAKE_CLEAN delete whole directories?
Quote:
Originally Posted by
Teerayoot
I think you can edit qmake.conf
in mkspecs folder
some example
Code:
QMAKE_COPY = copy /y
QMAKE_COPY_DIR = xcopy /s /q /y /i
QMAKE_MOVE = move
QMAKE_DEL_FILE = del
QMAKE_DEL_DIR = rmdir
QMAKE_CHK_DIR_EXISTS = if not exist
QMAKE_MKDIR = mkdir
well, but that's basically overriding the official qmake setup...