Added -p switch to cp command in ODB build phase.

print
Josef Rokos 9 years ago
parent c722fe743c
commit 69c6068c0d

@ -72,7 +72,12 @@ odb.clean = $$TARGET-odb.cxx $$TARGET-odb.hxx $$TARGET-odb.ixx $$TARGET.sql
QMAKE_EXTRA_COMPILERS += odb QMAKE_EXTRA_COMPILERS += odb
odbhc.target = odbhc odbhc.target = odbhc
unix {
odbhc.commands = $(COPY) -p $$H_DIR .
}
win32 {
odbhc.commands = $(COPY) $$H_DIR . odbhc.commands = $(COPY) $$H_DIR .
}
QMAKE_EXTRA_TARGETS += odbhc QMAKE_EXTRA_TARGETS += odbhc
PRE_TARGETDEPS += odbhc PRE_TARGETDEPS += odbhc

Loading…
Cancel
Save