include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ) ##### libtblbootloader (static) add_custom_command( OUTPUT tbl_bootloader_data.cpp COMMAND xml_tbl_bootloader_parser ${CMAKE_CURRENT_SOURCE_DIR} ) tde_add_library( tblbootloader STATIC_PIC AUTOMOC SOURCES tbl_bootloader.cpp tbl_bootloader_prog.cpp ${CMAKE_CURRENT_BINARY_DIR}/tbl_bootloader_data.cpp )