Wiki » Historie » Version 3
  Maximilian Seesslen, 09.09.2024 11:56 
  
| 1 | 1 | Maximilian Seesslen | h1. Wiki  | 
|---|---|---|---|
| 2 | |||
| 3 | 2 | Maximilian Seesslen | Base application for functionsality which every device provides.  | 
| 4 | 1 | Maximilian Seesslen | |
| 5 | h2. Integration  | 
||
| 6 | |||
| 7 | 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.  | 
||
| 8 | There are also defines for biwak and lepto. Spread this in the cmake files is not nice.  | 
||
| 9 | A central header file may work nicer.  | 
||
| 10 | 2 | Maximilian Seesslen | |
| 11 | <pre><code class="shell">  | 
||
| 12 | 3 | Maximilian Seesslen | |
| 13 | 2 | Maximilian Seesslen | add_compile_options( "-fconcepts" -include ${CMAKE_CURRENT_SOURCE_DIR}/campo/config.h ) | 
| 14 | 3 | Maximilian Seesslen | |
| 15 | target_compile_options(  | 
||
| 16 | qhello  | 
||
| 17 | PRIVATE  | 
||
| 18 |       -include ${QHELLO_CONFIG} | 
||
| 19 | )  | 
||
| 20 | |||
| 21 | 2 | Maximilian Seesslen | </code></pre>  |