Radek Krejci | ce24ab8 | 2015-10-08 15:37:02 +0200 | [diff] [blame] | 1 | /** |
Michal Vasko | 6cf75dd | 2016-02-03 15:35:11 +0100 | [diff] [blame] | 2 | * @file config.h |
Radek Krejci | ce24ab8 | 2015-10-08 15:37:02 +0200 | [diff] [blame] | 3 | * @author Radek Krejci <rkrejci@cesnet.cz> |
| 4 | * @brief cmocka tests configuration header. |
| 5 | * |
| 6 | * Copyright (c) 2015 CESNET, z.s.p.o. |
| 7 | * |
Radek Krejci | 9b81f5b | 2016-02-24 13:14:49 +0100 | [diff] [blame] | 8 | * This source code is licensed under BSD 3-Clause License (the "License"). |
| 9 | * You may not use this file except in compliance with the License. |
| 10 | * You may obtain a copy of the License at |
Michal Vasko | ad1cc6a | 2016-02-26 15:06:06 +0100 | [diff] [blame] | 11 | * |
Radek Krejci | 9b81f5b | 2016-02-24 13:14:49 +0100 | [diff] [blame] | 12 | * https://opensource.org/licenses/BSD-3-Clause |
Radek Krejci | ce24ab8 | 2015-10-08 15:37:02 +0200 | [diff] [blame] | 13 | */ |
| 14 | |
Michal Vasko | ba06534 | 2017-01-30 14:50:08 +0100 | [diff] [blame] | 15 | #ifdef __GNUC__ |
| 16 | # define UNUSED(x) UNUSED_ ## x __attribute__((__unused__)) |
| 17 | #else |
| 18 | # define UNUSED(x) UNUSED_ ## x |
| 19 | #endif |
| 20 | |
Radek Krejci | 695d4fa | 2015-10-22 13:23:54 +0200 | [diff] [blame] | 21 | #define TESTS_DIR "@CMAKE_SOURCE_DIR@/tests/" |
Radek Krejci | ce24ab8 | 2015-10-08 15:37:02 +0200 | [diff] [blame] | 22 | |
Michal Vasko | 6cf75dd | 2016-02-03 15:35:11 +0100 | [diff] [blame] | 23 | @SSH_MACRO@ |
| 24 | @TLS_MACRO@ |