Wiki » Historie » Revision 3
Revision 2 (Maximilian Seesslen, 09.09.2024 11:51) → Revision 3/5 (Maximilian Seesslen, 09.09.2024 11:56)
h1. Wiki
Base application for functionsality which every device provides.
h2. Integration
The approach of a template class does work. But the hack of first defining structures and macros and then including the vagus header is dirty.
There are also defines for biwak and lepto. Spread this in the cmake files is not nice.
A central header file may work nicer.
<pre><code class="shell">
add_compile_options( "-fconcepts" -include ${CMAKE_CURRENT_SOURCE_DIR}/campo/config.h )
target_compile_options(
qhello
PRIVATE
-include ${QHELLO_CONFIG}
)
</code></pre>
Base application for functionsality which every device provides.
h2. Integration
The approach of a template class does work. But the hack of first defining structures and macros and then including the vagus header is dirty.
There are also defines for biwak and lepto. Spread this in the cmake files is not nice.
A central header file may work nicer.
<pre><code class="shell">
add_compile_options( "-fconcepts" -include ${CMAKE_CURRENT_SOURCE_DIR}/campo/config.h )
target_compile_options(
qhello
PRIVATE
-include ${QHELLO_CONFIG}
)
</code></pre>