From 22c5b9f24eb7126e6c053f31b9f7df6f08994b03 Mon Sep 17 00:00:00 2001 From: Paolo Cignoni cignoni Date: Thu, 29 Jul 2010 13:51:21 +0000 Subject: [PATCH] added in the pro commands to avoid that when you re-compile everything you still find old incompatible dll's in the plugins dir. --- src/common/common.pro | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/common/common.pro b/src/common/common.pro index ef35fe1da..7dcc0326c 100644 --- a/src/common/common.pro +++ b/src/common/common.pro @@ -16,6 +16,12 @@ win32-g++:DLLDESTDIR = ../distrib mac:DLLDESTDIR = . +# The following lines are necessary to avoid that when you re-compile everything you still find old dll in the plugins dir +macx:QMAKE_CLEAN += ../distrib/plugins/*.dylib +win32:QMAKE_CLEAN += ../distrib/plugins/*.dll +linux-g++:QMAKE_CLEAN += ../distrib/plugins/*.so + + macx:QMAKE_POST_LINK = "\ if [ -d ../distrib/meshlab.app/Contents/MacOs/ ]; \ then \