/* * Copyright (C) 2019 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief Test the CFLAGS handling * * @author Gaëtan Harter * * @} */ #include /* Define a CFLAGS string with spaces from outside docker */ /* DOCKER_ENVIRONMENT_CMDLINE=$'-e CFLAGS=-DSTRING_FROM_DOCKER=\'\\\"with\ space\\\"\''*/ #ifndef STRING_FROM_DOCKER #define STRING_FROM_DOCKER "" #endif int main(void) { puts("The output of the configuration variables:"); printf("SUPER_STRING: %s\n", SUPER_STRING); printf("DEFINED_AFTER_MAKEFILE_INCLUDE: %u\n", DEFINED_AFTER_MAKEFILE_INCLUDE); printf("CFLAGS_STRING_FROM_DOCKER: %s\n", STRING_FROM_DOCKER); return 0; }