Projekt

Allgemein

Profil

Aktionen

Wiki » Historie » Revision 4

« Zurück | Revision 4/5 (diff) | Weiter »
Maximilian Seesslen, 09.09.2024 12:58


Wiki

Base application for functionsality which every device provides.

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.


add_compile_options( "-fconcepts" -include ${CMAKE_CURRENT_SOURCE_DIR}/campo/config.h )

if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/campo/config.h )
   set ( QHELLO_CONFIG ${CMAKE_CURRENT_SOURCE_DIR}/campo/config.h )
endif()

if ( QHELLO_CONFIG )
   target_compile_options(
      qhello
      PRIVATE
         -include ${QHELLO_CONFIG}
   )
endif()

Von Maximilian Seesslen vor 5 Monaten aktualisiert · 4 Revisionen