Aktionen
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()
There are some depencies to "libcampo". Only the nodeId is needed. This can be made generic. The layout version information has to be in the config header.
Von Maximilian Seesslen vor 5 Monaten aktualisiert · 5 Revisionen