bunjee
25th February 2010, 17:58
Hey there,
I have a command specific to win / mac / linux. I tried to run it this way in my qmake project:
win32: QMAKE_POST_LINK += $${QMAKE_COPY} ..\\..\\lib\\$${TARGET}.dll ..\\..\\bin
macx: QMAKE_POST_LINK += $${QMAKE_COPY} ../../lib/lib$${TARGET}.dylib ../../bin
linux: QMAKE_POST_LINK += $${QMAKE_COPY} ../../lib/lib$${TARGET}.so ../../bin
It seems that ubuntu doesn't fit into the "linux" category but "unix" category. The problem is MacOSX also fits in "unix".
How can I differentiiate them?
Thanks.
I have a command specific to win / mac / linux. I tried to run it this way in my qmake project:
win32: QMAKE_POST_LINK += $${QMAKE_COPY} ..\\..\\lib\\$${TARGET}.dll ..\\..\\bin
macx: QMAKE_POST_LINK += $${QMAKE_COPY} ../../lib/lib$${TARGET}.dylib ../../bin
linux: QMAKE_POST_LINK += $${QMAKE_COPY} ../../lib/lib$${TARGET}.so ../../bin
It seems that ubuntu doesn't fit into the "linux" category but "unix" category. The problem is MacOSX also fits in "unix".
How can I differentiiate them?
Thanks.