lni
8th March 2007, 16:07
Hi,
I need to add additional config handler to generate pre-process header, as
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.
I need to add additional config handler to generate pre-process header, as
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.