macro(add_parser_docker_targets)
    add_custom_target(bl-parsers-builder
        COMMAND docker build --force-rm --tag bl/parsers/builder --file tools/docker/bl_parser_builder.docker .
        WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
        COMMENT "Building bl-parsers-builder."
        VERBATIM)
    add_custom_target(bl-parsers-builder-minimal
        COMMAND docker build --force-rm --tag bl/parsers/builder/minimal --file tools/docker/bl_parser_builder_minimal.docker .
        WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
        COMMENT "Building bl-parsers-builder-minimal."
        VERBATIM)
endmacro()
