Need help with QMAKE_EXTRA_UNIX_COMPILERS
Hi,
I need to add additional config handler to generate pre-process header, as
Quote:
ser.input = SER_HEADERS
ser.output = ser_${QMAKE_FILE_NAME}
ser.commands = $$SER_CC ${QMAKE_FILE_NAME}
QMAKE_EXTRA_UNIX_COMPILERS += ser
where $$SER_CC is my own compiler, which will generate a ASCII header file. The problem is that when linking to create the executable, the "ser.output" is treated as an object files and is linked in to create the executable. Of course the linking fails.
How can I have a rule not to link with the "ser" outputs?
Thanks.
Re: Need help with QMAKE_EXTRA_UNIX_COMPILERS
Got it, I need to add
Quote:
ser.CONFIG = no_link
Thanks anyway