<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[qmake pre-compiling]]></title><description><![CDATA[<p dir="auto">Hey guys,</p>
<p dir="auto">i have a question on how to handle pre-compiled files.<br />
In my case i would like to precompile some IDL Files with the TAO and Opendds IDL Compilers.</p>
<p dir="auto">I do it this way:</p>
<pre><code>opendds_idl.CONFIG = target_predeps
opendds_idl.dependency_type = TYPE_C
opendds_idl.commands = $$OPENDDS_IDL_COMPILER ${QMAKE_FILE_NAME}
opendds_idl.input = IDL_FILES
opendds_idl.output = $$IDL_FILES_DIR/${QMAKE_FILE_BASE}TypeSupport.idl
opendds_idl.clean = $$IDL_FILES_DIR/${QMAKE_FILE_BASE}TypeSupportImpl.cpp \
               $$IDL_FILES_DIR/${QMAKE_FILE_BASE}TypeSupportImpl.h
opendds_idl.variable_out = IDL_FILES_C
silent:opendds_idl.commands = @echo $$OPENDDS_IDL_COMPILER ${QMAKE_FILE_IN} &amp;&amp; $$opendds_idl.commands
QMAKE_EXTRA_COMPILERS += opendds_idl
</code></pre>
<p dir="auto">The problem i am facing now is, that i dont know how to split the generated files into more than one variable. The .cpp and .h files should be placed into SOURCES. THe generated .idl file should be placed into IDL_FILES so that i can use it in the second pre-compilation-step with the TAO-IDL-Compiler.</p>
<p dir="auto">Any suggestions on how to do that?</p>
<p dir="auto">Kind Regards and thank you very much!</p>
]]></description><link>https://forum.qt.io/topic/83941/qmake-pre-compiling</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Nov 2026 02:30:39 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/83941.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 06 Oct 2017 12:20:40 GMT</pubDate><ttl>60</ttl></channel></rss>