[A] Initial commit
This commit is contained in:
commit
cc06b4c22f
52
CMakeLists.txt
Normal file
52
CMakeLists.txt
Normal file
@ -0,0 +1,52 @@
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
project(libfort)
|
||||
|
||||
option(CERAII_TEST_BUILD "Test build with sanitizers and small library stack size" ON)
|
||||
option(CERAII_GCC_BUILD "Build with gcc" ON)
|
||||
|
||||
set(CMAKE_VERBOSE_MAKEFILE ON)
|
||||
|
||||
include_directories(include)
|
||||
include_directories(src)
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
|
||||
|
||||
|
||||
|
||||
|
||||
FILE(GLOB_RECURSE FortHeaders "include/*.h" "tests/*.h")
|
||||
add_custom_target(headers SOURCES ${FortHeaders})
|
||||
|
||||
|
||||
set(FORT_SOURCES src/fort.c)
|
||||
|
||||
|
||||
add_executable(${PROJECT_NAME}
|
||||
example/main.c
|
||||
${FORT_SOURCES})
|
||||
|
||||
|
||||
include_directories(tests/cmocka-1.1.0/include)
|
||||
link_directories(${CMAKE_SOURCE_DIR}/tests/cmocka-1.1.0/build/src)
|
||||
|
||||
add_executable(TEST
|
||||
tests/test.c
|
||||
tests/test_vector.c
|
||||
tests/test_table.c)
|
||||
|
||||
target_link_libraries(TEST
|
||||
cmocka)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if(CERAII_TEST_BUILD)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fsanitize=address")
|
||||
if(CERAII_GCC_BUILD)
|
||||
target_link_libraries(${PROJECT_NAME} asan)
|
||||
target_link_libraries(TEST asan)
|
||||
endif(CERAII_GCC_BUILD)
|
||||
endif(CERAII_TEST_BUILD)
|
||||
|
24
example/main.c
Normal file
24
example/main.c
Normal file
@ -0,0 +1,24 @@
|
||||
#include <stdio.h>
|
||||
#include "fort.h"
|
||||
|
||||
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
FTABLE *table = ft_create_table();
|
||||
|
||||
int n = ft_hdr_printf(table, "%d , %c|| %s|%f", 3, 'c', "234", 3.14);
|
||||
|
||||
fprintf(stderr, "n = %d\n", n);
|
||||
|
||||
fprintf(stderr, "result: %s\n", ft_to_string(table));
|
||||
|
||||
// printf("Hello, world!\n");
|
||||
// char buffer[3] = {'a', 'b', 'c'};
|
||||
// int ret = snprintf(buffer, 3, "so");
|
||||
// printf("result is %s = lent = %d\n", buffer, ret);
|
||||
// fprintf(stderr, "asd %d|", 3);
|
||||
// fprintf(stderr, "%d\n", 3.14);
|
||||
ft_destroy_table(table);
|
||||
}
|
100
include/fort.h
Normal file
100
include/fort.h
Normal file
@ -0,0 +1,100 @@
|
||||
/*
|
||||
libfort
|
||||
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2017 - 2018 Seleznev Anton
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef LIBFORT_H
|
||||
#define LIBFORT_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
/*
|
||||
* Determine compiler
|
||||
*/
|
||||
#if defined(__clang__)
|
||||
#define FORT_CLANG_COMPILER
|
||||
#elif defined(__GNUC__)
|
||||
#define FORT_GCC_COMPILER
|
||||
#elif defined(_MSC_VER)
|
||||
#define FORT_MICROSOFT_COMPILER
|
||||
#else
|
||||
#define FORT_UNDEFINED_COMPILER
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Declare restrict
|
||||
*/
|
||||
#if defined(__cplusplus)
|
||||
#if defined(FORT_CLANG_COMPILER)
|
||||
#define FORT_RESTRICT __restrict__
|
||||
#else
|
||||
#define FORT_RESTRICT __restrict
|
||||
#endif /* if defined(FORT_CLANG_COMPILER) */
|
||||
#else
|
||||
#define FORT_RESTRICT restrict
|
||||
#endif /* if defined(__cplusplus) */
|
||||
|
||||
|
||||
/*
|
||||
* C++ needs to know that types and declarations are C, not C++.
|
||||
*/
|
||||
#ifdef __cplusplus
|
||||
# define FORT_BEGIN_DECLS extern "C" {
|
||||
# define FORT_END_DECLS }
|
||||
#else
|
||||
# define FORT_BEGIN_DECLS
|
||||
# define FORT_END_DECLS
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* libfort structures and functions declarations
|
||||
*/
|
||||
|
||||
FORT_BEGIN_DECLS
|
||||
|
||||
struct fort_table;
|
||||
typedef struct fort_table FTABLE;
|
||||
|
||||
FTABLE * ft_create_table(void);
|
||||
void ft_destroy_table(FTABLE *FORT_RESTRICT table);
|
||||
|
||||
|
||||
int ft_printf(FTABLE *FORT_RESTRICT table, const char* FORT_RESTRICT fmt, ...);
|
||||
int ft_hdr_printf(FTABLE *FORT_RESTRICT table, const char* FORT_RESTRICT fmt, ...);
|
||||
int ft_row_printf(FTABLE *FORT_RESTRICT table, size_t row, const char* FORT_RESTRICT fmt, ...);
|
||||
int ft_cell_printf(FTABLE *FORT_RESTRICT table, size_t row, size_t col, const char* FORT_RESTRICT fmt, ...);
|
||||
|
||||
const char* ft_to_string(const FTABLE *FORT_RESTRICT table);
|
||||
const char* ft_n_to_string(const FTABLE *FORT_RESTRICT table, char *FORT_RESTRICT dst, size_t dst_len);
|
||||
|
||||
const char* ft_header_to_string(const FTABLE *FORT_RESTRICT table);
|
||||
const char* ft_n_header_to_string(const FTABLE *FORT_RESTRICT table, char *FORT_RESTRICT dst, size_t dst_len);
|
||||
|
||||
const char* ft_row_to_string(const FTABLE *FORT_RESTRICT table, size_t row);
|
||||
const char* ft_n_row_to_string(const FTABLE *FORT_RESTRICT table, size_t row, char *FORT_RESTRICT dst, size_t dst_len);
|
||||
|
||||
FORT_END_DECLS
|
||||
|
||||
#endif // LIBFORT_H
|
776
src/fort.c
Normal file
776
src/fort.c
Normal file
@ -0,0 +1,776 @@
|
||||
#include "stdlib.h"
|
||||
#include "stdarg.h"
|
||||
#include "stdio.h"
|
||||
#include "fort.h"
|
||||
#include "assert.h"
|
||||
#include "string.h"
|
||||
#include "wchar.h"
|
||||
|
||||
#define FORT_COL_SEPARATOR '|'
|
||||
#define FORT_UNUSED __attribute__((unused))
|
||||
|
||||
#define F_CALLOC calloc
|
||||
#define F_MALLOC malloc
|
||||
#define F_REALLOC realloc
|
||||
#define F_FREE free
|
||||
#define F_STRDUP fort_strdup
|
||||
|
||||
#define F_CREATE(type) ((type *)F_CALLOC(sizeof(type), 1))
|
||||
|
||||
#define MAX(a,b) ((a) > (b) ? (a) : b)
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* LOGGER
|
||||
*****************************************************************************/
|
||||
#define SYS_LOG_ERROR(...)
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* RETURN CODES
|
||||
* ***************************************************************************/
|
||||
typedef int fort_status_t;
|
||||
#define F_SUCCESS 0
|
||||
#define F_MEMORY_ERROR 1
|
||||
#define F_ERROR 2
|
||||
#define IS_SUCCESS(arg) ((arg) == F_SUCCESS)
|
||||
#define IS_ERROR(arg) (!IS_SUCCESS(arg))
|
||||
|
||||
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* STRING BUFFER
|
||||
* ***************************************************************************/
|
||||
struct string_buffer;
|
||||
typedef struct string_buffer string_buffer_t;
|
||||
struct string_buffer
|
||||
{
|
||||
char *str;
|
||||
size_t str_sz;
|
||||
};
|
||||
|
||||
static string_buffer_t* create_string_buffer(size_t sz);
|
||||
static void destroy_string_buffer(string_buffer_t *buffer);
|
||||
static fort_status_t realloc_string_buffer_without_copy(string_buffer_t *buffer);
|
||||
static fort_status_t fill_buffer_from_string(string_buffer_t *buffer, const char *str);
|
||||
|
||||
/*****************************************************************************
|
||||
* VECTOR
|
||||
* ***************************************************************************/
|
||||
|
||||
struct vector;
|
||||
typedef struct vector vector_t;
|
||||
|
||||
#define INVALID_VEC_INDEX ((size_t) -1)
|
||||
|
||||
static vector_t* create_vector(size_t item_size, size_t capacity);
|
||||
static void destroy_vector(vector_t*);
|
||||
|
||||
static size_t vector_size(const vector_t*);
|
||||
static size_t vector_capacity(const vector_t*);
|
||||
static size_t vector_index_of(const vector_t*, const void *item);
|
||||
|
||||
static int vector_push(vector_t*, const void *item);
|
||||
static int vector_erase(vector_t*, size_t index);
|
||||
static void vector_clear(vector_t*);
|
||||
static void* vector_at(vector_t*, size_t index);
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* CELL
|
||||
* ***************************************************************************/
|
||||
struct fort_cell;
|
||||
typedef struct fort_cell fort_cell_t;
|
||||
struct fort_cell
|
||||
{
|
||||
string_buffer_t *str_buffer;
|
||||
};
|
||||
|
||||
fort_cell_t * create_cell()
|
||||
{
|
||||
fort_cell_t *cell = F_CALLOC(sizeof(fort_cell_t), 1);
|
||||
if (cell == NULL)
|
||||
return NULL;
|
||||
cell->str_buffer = create_string_buffer(1024);
|
||||
if (cell->str_buffer == NULL) {
|
||||
F_FREE(cell);
|
||||
return NULL;
|
||||
}
|
||||
return cell;
|
||||
}
|
||||
|
||||
void destroy_cell(fort_cell_t *cell)
|
||||
{
|
||||
if (cell == NULL)
|
||||
return;
|
||||
destroy_string_buffer(cell->str_buffer);
|
||||
F_FREE(cell);
|
||||
}
|
||||
|
||||
/*
|
||||
* Returns number of lines in cell. If cell is empty or
|
||||
* contains empty string, then 0 is returned.
|
||||
*/
|
||||
//int fort_cell_lines_number(fort_cell_t *cell)
|
||||
//{
|
||||
// assert(cell);
|
||||
// if (cell->str == NULL || cell->str[0] == '\0') {
|
||||
// return 0;
|
||||
// }
|
||||
|
||||
// int result = 0;
|
||||
// char *pos = cell->str;
|
||||
// while ((pos = strchr(pos, '\n')) != NULL) {
|
||||
// result++;
|
||||
// pos++;
|
||||
// }
|
||||
// return result + 1;
|
||||
//}
|
||||
|
||||
/*****************************************************************************
|
||||
* ROW
|
||||
* ***************************************************************************/
|
||||
struct fort_row;
|
||||
typedef struct fort_row fort_row_t;
|
||||
struct fort_row
|
||||
{
|
||||
vector_t *cells;
|
||||
};
|
||||
|
||||
|
||||
static fort_row_t * create_row()
|
||||
{
|
||||
fort_row_t * row = F_CALLOC(sizeof(fort_row_t), 1);
|
||||
if (row == NULL)
|
||||
return NULL;
|
||||
row->cells = create_vector(sizeof(fort_cell_t*), 10);
|
||||
if (row->cells == NULL) {
|
||||
F_FREE(row);
|
||||
return NULL;
|
||||
}
|
||||
return row;
|
||||
}
|
||||
|
||||
static void destroy_row(fort_row_t *row)
|
||||
{
|
||||
if (row == NULL)
|
||||
return;
|
||||
|
||||
if (row->cells) {
|
||||
size_t cells_n = vector_size(row->cells);
|
||||
for (size_t i = 0; i < cells_n; ++i) {
|
||||
fort_cell_t *cell = *(fort_cell_t **)vector_at(row->cells, i);
|
||||
destroy_cell(cell);
|
||||
}
|
||||
destroy_vector(row->cells);
|
||||
}
|
||||
|
||||
F_FREE(row);
|
||||
}
|
||||
|
||||
static fort_row_t * create_row_from_string(const char *str);
|
||||
static fort_row_t* create_row_from_fmt_string(const char* FORT_RESTRICT fmt, va_list *va_args);
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* TABLE
|
||||
*****************************************************************************/
|
||||
struct fort_table
|
||||
{
|
||||
fort_row_t *header;
|
||||
vector_t *rows;
|
||||
};
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* LIBFORT helpers
|
||||
*****************************************************************************/
|
||||
char *fort_strdup(const char* str)
|
||||
{
|
||||
if (str == NULL)
|
||||
return NULL;
|
||||
|
||||
size_t sz = strlen(str);
|
||||
char *str_copy = (char*)F_MALLOC(sz + 1);
|
||||
if (str_copy == NULL)
|
||||
return NULL;
|
||||
|
||||
strcpy(str_copy, str);
|
||||
return str_copy;
|
||||
}
|
||||
|
||||
size_t number_of_columns_in_format_string(const char *fmt)
|
||||
{
|
||||
int separator_counter = 0;
|
||||
const char *pos = fmt;
|
||||
while (1) {
|
||||
pos = strchr(pos, FORT_COL_SEPARATOR);
|
||||
if (pos == NULL)
|
||||
break;
|
||||
|
||||
separator_counter++;
|
||||
++pos;
|
||||
}
|
||||
return separator_counter + 1;
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* LIBFORT
|
||||
* ***************************************************************************/
|
||||
|
||||
FTABLE * ft_create_table(void)
|
||||
{
|
||||
FTABLE *result = F_CALLOC(1, sizeof(FTABLE));
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
void ft_destroy_table(FTABLE *FORT_RESTRICT table)
|
||||
{
|
||||
if (table == NULL)
|
||||
return;
|
||||
|
||||
destroy_row(table->header);
|
||||
if (table->rows) {
|
||||
size_t row_n = vector_size(table->rows);
|
||||
for (size_t i = 0; i < row_n; ++i) {
|
||||
destroy_row(*(fort_row_t **)vector_at(table->rows, i));
|
||||
}
|
||||
destroy_vector(table->rows);
|
||||
}
|
||||
F_FREE(table);
|
||||
}
|
||||
|
||||
//void forward_va_list(const char *fmt FORT_UNUSED, va_list *va)
|
||||
//{
|
||||
// /* todo - do normal implementation */
|
||||
// va_arg(*va, int);
|
||||
// va_arg(*va, int);
|
||||
|
||||
// while (*fmt) {
|
||||
// if (*fmt != '%') {
|
||||
// ++fmt;
|
||||
// continue;
|
||||
// }
|
||||
|
||||
// char argument_type[2] = { '\0', '\0'};
|
||||
|
||||
// check_format:
|
||||
// ++fmt;
|
||||
// /* todo: do normal checking for order of symbols. Don't think symbol checking can be in independent order. */
|
||||
// switch(*fmt) {
|
||||
// case '\0':
|
||||
// return;
|
||||
|
||||
// /* flags */
|
||||
// case '-':
|
||||
// case '+':
|
||||
// case ' ':
|
||||
// case '#':
|
||||
// case '0':
|
||||
// case '1':
|
||||
// case '2':
|
||||
// case '3':
|
||||
// case '4':
|
||||
// case '5':
|
||||
// case '6':
|
||||
// case '7':
|
||||
// case '8':
|
||||
// case '9':
|
||||
// case '.':
|
||||
// goto check_format;
|
||||
|
||||
|
||||
// /* length modifiers */
|
||||
// case 'h':
|
||||
// case 'l':
|
||||
// if (argument_type[0] == '\0')
|
||||
// argument_type[0] = *fmt;
|
||||
// else
|
||||
// argument_type[1] = *fmt;
|
||||
// goto check_format;
|
||||
// case 'j':
|
||||
// case 'z':
|
||||
// case 't':
|
||||
// case 'L':
|
||||
// argument_type[1] = *fmt;
|
||||
// goto check_format;
|
||||
|
||||
// /* specifiers */
|
||||
// case 'c':
|
||||
// if (argument_type[0] == 'l' && argument_type[0] == '\0')
|
||||
// va_arg(*va, wint_t);
|
||||
// else
|
||||
// va_arg(*va, int);
|
||||
// break;
|
||||
|
||||
// /* specifiers */
|
||||
// case 's':
|
||||
// if (argument_type[0] == 'l' && argument_type[0] == '\0')
|
||||
// va_arg(*va, wint_t);
|
||||
// else
|
||||
// va_arg(*va, int);
|
||||
// break;
|
||||
|
||||
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
//int ft_hdr_printf(FTABLE *FORT_RESTRICT table, const char* FORT_RESTRICT fmt, ...)
|
||||
//{
|
||||
// int DUMMY_BUFFER_SZ = 1024;
|
||||
// char dummy_buffer[DUMMY_BUFFER_SZ];
|
||||
|
||||
// char *fmt_copy = F_STRDUP(fmt);
|
||||
// if (fmt_copy == NULL)
|
||||
// return 0;
|
||||
|
||||
// va_list va;
|
||||
// va_start(va, fmt);
|
||||
|
||||
// char *pos = fmt_copy;
|
||||
// char *base_pos = fmt_copy;
|
||||
// while (*pos) {
|
||||
// pos = strchr(pos, FORT_COL_SEPARATOR);
|
||||
// if (pos != NULL) {
|
||||
// /* todo: do normal escape checking */
|
||||
// if (pos > base_pos && (*(pos - 1) == '\\')) { /* column separator is escaped */
|
||||
// ++pos;
|
||||
// continue;
|
||||
// } else { /* column separator is found and it is not escaped */
|
||||
// *(pos) = '\0';
|
||||
// ++pos;
|
||||
// }
|
||||
// }
|
||||
|
||||
// while (1) {
|
||||
// va_list va_arg;
|
||||
// va_copy(va_arg, va);
|
||||
// int n = vsnprintf(dummy_buffer, DUMMY_BUFFER_SZ, base_pos, va_arg);
|
||||
|
||||
// /* successful write */
|
||||
// if (n < DUMMY_BUFFER_SZ) {
|
||||
// forward_va_list(base_pos, &va);
|
||||
// fprintf(stderr, "%s\n", dummy_buffer);
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
|
||||
// if (pos == NULL)
|
||||
// break;
|
||||
// base_pos = pos;
|
||||
// }
|
||||
|
||||
//// va_list va;
|
||||
//// int written_cols = 0;
|
||||
|
||||
|
||||
|
||||
//// written_cols = vfprintf(stderr, fmt, va);
|
||||
|
||||
//// va_end(va);
|
||||
//// va_start(va, fmt);
|
||||
//// written_cols |= vfprintf(stderr, fmt, va);
|
||||
|
||||
|
||||
//// va_end(va);
|
||||
|
||||
// F_FREE(fmt_copy);
|
||||
// return 0;
|
||||
//}
|
||||
|
||||
|
||||
|
||||
//int ft_hdr_printf(FTABLE *FORT_RESTRICT table, const char* FORT_RESTRICT fmt, ...)
|
||||
//{
|
||||
// string_buffer_t *buffer = create_string_buffer(1024);
|
||||
// if (buffer == NULL)
|
||||
// return -1;
|
||||
|
||||
// int cols_origin = number_of_columns_in_format_string(fmt);
|
||||
|
||||
// while (1) {
|
||||
// va_list va;
|
||||
// va_start(va, fmt);
|
||||
// int virtual_sz = vsnprintf(buffer->str, buffer->str_sz, fmt, va);
|
||||
// va_end(va);
|
||||
// /* If error encountered */
|
||||
// if (virtual_sz == -1)
|
||||
// goto clear;
|
||||
|
||||
// /* Successful write */
|
||||
// if (virtual_sz < buffer->str_sz)
|
||||
// break;
|
||||
|
||||
// /* Otherwise buffer was too small, so incr. buffer size ant try again. */
|
||||
// if (!IS_SUCCESS(realloc_string_buffer_without_copy(buffer)))
|
||||
// goto clear;
|
||||
// }
|
||||
|
||||
// int cols = number_of_columns_in_format_string(buffer->str);
|
||||
// if (cols == cols_origin) {
|
||||
|
||||
// fort_row_t *row = create_row_from_string(buffer->str);
|
||||
// if (row == NULL) {
|
||||
// goto clear;
|
||||
// }
|
||||
|
||||
// table->header = row;
|
||||
// return vector_size(row->cells);
|
||||
// }
|
||||
|
||||
|
||||
//clear:
|
||||
// destroy_string_buffer(buffer);
|
||||
// return -1;
|
||||
//}
|
||||
|
||||
int ft_hdr_printf(FTABLE *FORT_RESTRICT table, const char* FORT_RESTRICT fmt, ...)
|
||||
{
|
||||
va_list va;
|
||||
va_start(va, fmt);
|
||||
fort_row_t *row = create_row_from_fmt_string(fmt, &va);
|
||||
va_end(va);
|
||||
|
||||
if (row == NULL) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
table->header = row;
|
||||
return vector_size(row->cells);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* STRING BUFFER
|
||||
* ***************************************************************************/
|
||||
string_buffer_t* create_string_buffer(size_t sz)
|
||||
{
|
||||
string_buffer_t *result = (string_buffer_t *)F_MALLOC(sizeof(string_buffer_t));
|
||||
if (result == NULL)
|
||||
return NULL;
|
||||
result->str = F_MALLOC(sz);
|
||||
if (result->str == NULL) {
|
||||
F_FREE(result);
|
||||
return NULL;
|
||||
}
|
||||
result->str_sz = sz;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
void destroy_string_buffer(string_buffer_t *buffer)
|
||||
{
|
||||
if (buffer == NULL)
|
||||
return;
|
||||
F_FREE(buffer->str);
|
||||
buffer->str = NULL;
|
||||
F_FREE(buffer);
|
||||
}
|
||||
|
||||
fort_status_t realloc_string_buffer_without_copy(string_buffer_t *buffer)
|
||||
{
|
||||
assert(buffer);
|
||||
char *new_str = (char*)F_MALLOC(buffer->str_sz * 2);
|
||||
if (new_str == NULL) {
|
||||
return F_MEMORY_ERROR;
|
||||
}
|
||||
F_FREE(buffer->str);
|
||||
buffer->str = new_str;
|
||||
buffer->str_sz *= 2;
|
||||
return F_SUCCESS;
|
||||
}
|
||||
|
||||
static fort_status_t fill_buffer_from_string(string_buffer_t *buffer, const char *str)
|
||||
{
|
||||
assert(buffer);
|
||||
assert(str);
|
||||
|
||||
size_t sz = strlen(str);
|
||||
char * copy = F_STRDUP(str);
|
||||
if (copy == NULL)
|
||||
return F_MEMORY_ERROR;
|
||||
|
||||
while (sz >= buffer->str_sz) {
|
||||
int status = realloc_string_buffer_without_copy(buffer);
|
||||
if (!IS_SUCCESS(status)) {
|
||||
return status;
|
||||
}
|
||||
}
|
||||
F_FREE(buffer->str);
|
||||
buffer->str = copy;
|
||||
|
||||
return F_SUCCESS;
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* VECTOR IMPLEMENTATIONS
|
||||
* ***************************************************************************/
|
||||
|
||||
struct vector
|
||||
{
|
||||
size_t m_size;
|
||||
void *m_data;
|
||||
size_t m_capacity;
|
||||
size_t m_item_size;
|
||||
};
|
||||
|
||||
static int vector_reallocate_(vector_t *vector, size_t new_capacity)
|
||||
{
|
||||
assert(vector);
|
||||
assert(new_capacity > vector->m_capacity);
|
||||
|
||||
size_t new_size = new_capacity * vector->m_item_size;
|
||||
vector->m_data = realloc(vector->m_data, new_size);
|
||||
if (vector->m_data == NULL)
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* ------------ Constructors & Destructors ----------------------------- */
|
||||
|
||||
static vector_t* create_vector(size_t item_size, size_t capacity)
|
||||
{
|
||||
vector_t *vector = malloc(sizeof(vector_t));
|
||||
if (vector == NULL) {
|
||||
SYS_LOG_ERROR("Failed to allocate memory for asock vector");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
size_t init_size = MAX(item_size * capacity, 1);
|
||||
vector->m_data = malloc(init_size);
|
||||
if (vector->m_data == NULL) {
|
||||
SYS_LOG_ERROR("Failed to allocate memory for asock vector inern. buffer");
|
||||
free(vector);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
vector->m_size = 0;
|
||||
vector->m_capacity = capacity;
|
||||
vector->m_item_size = item_size;
|
||||
|
||||
return vector;
|
||||
}
|
||||
|
||||
|
||||
static void destroy_vector(vector_t* vector)
|
||||
{
|
||||
assert(vector);
|
||||
free(vector->m_data);
|
||||
free(vector);
|
||||
}
|
||||
|
||||
|
||||
/* ----------- Nonmodifying functions --------------------------------- */
|
||||
|
||||
static size_t vector_size(const vector_t* vector)
|
||||
{
|
||||
assert(vector);
|
||||
return vector->m_size;
|
||||
}
|
||||
|
||||
|
||||
static size_t vector_capacity(const vector_t* vector)
|
||||
{
|
||||
assert(vector);
|
||||
return vector->m_capacity;
|
||||
}
|
||||
|
||||
static size_t vector_index_of(const vector_t* vector, const void *item)
|
||||
{
|
||||
assert(vector);
|
||||
assert(item);
|
||||
|
||||
for (size_t i = 0; i < vector->m_size; ++i) {
|
||||
void *data_pos = vector->m_data + i * vector->m_item_size;
|
||||
if (memcmp(data_pos, item, vector->m_item_size) == 0) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
return INVALID_VEC_INDEX;
|
||||
}
|
||||
|
||||
|
||||
/* ----------- Modifying functions ------------------------------------- */
|
||||
|
||||
static int vector_push (vector_t* vector, const void* item)
|
||||
{
|
||||
assert(vector);
|
||||
assert(item);
|
||||
|
||||
if (vector->m_size == vector->m_capacity) {
|
||||
if (vector_reallocate_(vector, vector->m_capacity * 2) == -1)
|
||||
return F_ERROR;
|
||||
vector->m_capacity = vector->m_capacity * 2;
|
||||
}
|
||||
|
||||
ptrdiff_t deviation = vector->m_size * vector->m_item_size;
|
||||
memcpy(vector->m_data + deviation, item, vector->m_item_size);
|
||||
|
||||
++(vector->m_size);
|
||||
|
||||
return F_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
static int vector_erase(vector_t *vector, size_t index)
|
||||
{
|
||||
assert(vector);
|
||||
|
||||
if (vector->m_size == 0 || index >= vector->m_size)
|
||||
return F_ERROR;
|
||||
|
||||
memmove(vector->m_data + vector->m_item_size * index,
|
||||
vector->m_data + vector->m_item_size * (index + 1),
|
||||
(vector->m_size - 1 - index) * vector->m_item_size);
|
||||
vector->m_size--;
|
||||
return F_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
static void vector_clear(vector_t *vector)
|
||||
{
|
||||
vector->m_size = 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
static void *vector_at(vector_t *vector, size_t index)
|
||||
{
|
||||
if (index >= vector->m_size)
|
||||
return NULL;
|
||||
|
||||
return vector->m_data + index * vector->m_item_size;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* ROW
|
||||
* ***************************************************************************/
|
||||
|
||||
static fort_row_t* create_row_from_string(const char *str)
|
||||
{
|
||||
fort_row_t * row = create_row();
|
||||
if (row == NULL)
|
||||
return NULL;
|
||||
|
||||
if (str == NULL)
|
||||
return row;
|
||||
|
||||
char *str_copy = F_STRDUP(str);
|
||||
if (str_copy == NULL)
|
||||
goto clear;
|
||||
|
||||
char *pos = str_copy;
|
||||
char *base_pos = str_copy;
|
||||
while (*pos) {
|
||||
pos = strchr(pos, FORT_COL_SEPARATOR);
|
||||
if (pos != NULL) {
|
||||
*(pos) = '\0';
|
||||
++pos;
|
||||
}
|
||||
|
||||
fort_cell_t *cell = create_cell();
|
||||
if (cell == NULL)
|
||||
goto clear;
|
||||
|
||||
int status = fill_buffer_from_string(cell->str_buffer, base_pos);
|
||||
if (IS_ERROR(status)) {
|
||||
destroy_cell(cell);
|
||||
goto clear;
|
||||
}
|
||||
|
||||
status = vector_push(row->cells, &cell);
|
||||
if (IS_ERROR(status)) {
|
||||
destroy_cell(cell);
|
||||
goto clear;
|
||||
}
|
||||
|
||||
if (pos == NULL)
|
||||
break;
|
||||
base_pos = pos;
|
||||
}
|
||||
|
||||
F_FREE(str_copy);
|
||||
return row;
|
||||
|
||||
clear:
|
||||
destroy_row(row);
|
||||
F_FREE(str_copy);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
static fort_row_t* create_row_from_fmt_string(const char* FORT_RESTRICT fmt, va_list *va_args)
|
||||
{
|
||||
string_buffer_t *buffer = create_string_buffer(1024);
|
||||
if (buffer == NULL)
|
||||
return NULL;
|
||||
|
||||
int cols_origin = number_of_columns_in_format_string(fmt);
|
||||
|
||||
while (1) {
|
||||
va_list va;
|
||||
va_copy(va, *va_args);
|
||||
int virtual_sz = vsnprintf(buffer->str, buffer->str_sz, fmt, va);
|
||||
va_end(va);
|
||||
/* If error encountered */
|
||||
if (virtual_sz == -1)
|
||||
goto clear;
|
||||
|
||||
/* Successful write */
|
||||
if (virtual_sz < buffer->str_sz)
|
||||
break;
|
||||
|
||||
/* Otherwise buffer was too small, so incr. buffer size ant try again. */
|
||||
if (!IS_SUCCESS(realloc_string_buffer_without_copy(buffer)))
|
||||
goto clear;
|
||||
}
|
||||
|
||||
int cols = number_of_columns_in_format_string(buffer->str);
|
||||
if (cols == cols_origin) {
|
||||
|
||||
fort_row_t *row = create_row_from_string(buffer->str);
|
||||
if (row == NULL) {
|
||||
goto clear;
|
||||
}
|
||||
|
||||
destroy_string_buffer(buffer);
|
||||
return row;
|
||||
}
|
||||
|
||||
|
||||
clear:
|
||||
destroy_string_buffer(buffer);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* TABLE
|
||||
* ***************************************************************************/
|
||||
const char* ft_to_string(const FTABLE *FORT_RESTRICT table)
|
||||
{
|
||||
assert(table);
|
||||
char *dummy = F_MALLOC(2056);
|
||||
fort_row_t *header = table->header;
|
||||
ssize_t pos = 0;
|
||||
size_t v_size = vector_size(header->cells);
|
||||
for (size_t i = 0; i < v_size; ++i) {
|
||||
fort_cell_t* cell = *(fort_cell_t**)vector_at(header->cells, i);
|
||||
int deviation = sprintf(dummy + pos, "| %s", cell->str_buffer->str);
|
||||
pos += deviation;
|
||||
}
|
||||
return dummy;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
2
tests/cmocka-1.1.0/.clang_complete
Normal file
2
tests/cmocka-1.1.0/.clang_complete
Normal file
@ -0,0 +1,2 @@
|
||||
-Iinclude
|
||||
-Iobj
|
109
tests/cmocka-1.1.0/.ycm_extra_conf.py
Normal file
109
tests/cmocka-1.1.0/.ycm_extra_conf.py
Normal file
@ -0,0 +1,109 @@
|
||||
import os
|
||||
import ycm_core
|
||||
|
||||
flags = [
|
||||
'-Wall',
|
||||
'-Wextra',
|
||||
'-Werror',
|
||||
'-x', 'c',
|
||||
'-Iinclude',
|
||||
]
|
||||
|
||||
# Set this to the absolute path to the folder (NOT the file!) containing the
|
||||
# compile_commands.json file to use that instead of 'flags'. See here for
|
||||
# more details: http://clang.llvm.org/docs/JSONCompilationDatabase.html
|
||||
#
|
||||
# Most projects will NOT need to set this to anything; you can just change the
|
||||
# 'flags' list of compilation flags. Notice that YCM itself uses that approach.
|
||||
compilation_database_folder = 'obj'
|
||||
|
||||
if os.path.exists( compilation_database_folder ):
|
||||
database = ycm_core.CompilationDatabase( compilation_database_folder )
|
||||
else:
|
||||
database = None
|
||||
|
||||
SOURCE_EXTENSIONS = [ '.cpp', '.cxx', '.cc', '.c', '.m', '.mm' ]
|
||||
|
||||
def DirectoryOfThisScript():
|
||||
return os.path.dirname( os.path.abspath( __file__ ) )
|
||||
|
||||
|
||||
def MakeRelativePathsInFlagsAbsolute( flags, working_directory ):
|
||||
if not working_directory:
|
||||
return list( flags )
|
||||
new_flags = []
|
||||
make_next_absolute = False
|
||||
path_flags = [ '-isystem', '-I', '-iquote', '--sysroot=' ]
|
||||
for flag in flags:
|
||||
new_flag = flag
|
||||
|
||||
if make_next_absolute:
|
||||
make_next_absolute = False
|
||||
if not flag.startswith( '/' ):
|
||||
new_flag = os.path.join( working_directory, flag )
|
||||
|
||||
for path_flag in path_flags:
|
||||
if flag == path_flag:
|
||||
make_next_absolute = True
|
||||
break
|
||||
|
||||
if flag.startswith( path_flag ):
|
||||
path = flag[ len( path_flag ): ]
|
||||
new_flag = path_flag + os.path.join( working_directory, path )
|
||||
break
|
||||
|
||||
if new_flag:
|
||||
new_flags.append( new_flag )
|
||||
return new_flags
|
||||
|
||||
|
||||
def IsHeaderFile( filename ):
|
||||
extension = os.path.splitext( filename )[ 1 ]
|
||||
return extension in [ '.h', '.hxx', '.hpp', '.hh' ]
|
||||
|
||||
|
||||
def GetCompilationInfoForFile( filename ):
|
||||
# The compilation_commands.json file generated by CMake does not have entries
|
||||
# for header files. So we do our best by asking the db for flags for a
|
||||
# corresponding source file, if any. If one exists, the flags for that file
|
||||
# should be good enough.
|
||||
if IsHeaderFile( filename ):
|
||||
basename = os.path.splitext( filename )[ 0 ]
|
||||
for extension in SOURCE_EXTENSIONS:
|
||||
replacement_file = basename + extension
|
||||
if os.path.exists( replacement_file ):
|
||||
compilation_info = database.GetCompilationInfoForFile(
|
||||
replacement_file )
|
||||
if compilation_info.compiler_flags_:
|
||||
return compilation_info
|
||||
return None
|
||||
return database.GetCompilationInfoForFile( filename )
|
||||
|
||||
|
||||
def FlagsForFile( filename, **kwargs ):
|
||||
if database:
|
||||
# Bear in mind that compilation_info.compiler_flags_ does NOT return a
|
||||
# python list, but a "list-like" StringVec object
|
||||
compilation_info = GetCompilationInfoForFile( filename )
|
||||
if not compilation_info:
|
||||
return None
|
||||
|
||||
final_flags = MakeRelativePathsInFlagsAbsolute(
|
||||
compilation_info.compiler_flags_,
|
||||
compilation_info.compiler_working_dir_ )
|
||||
|
||||
# NOTE: This is just for YouCompleteMe; it's highly likely that your project
|
||||
# does NOT need to remove the stdlib flag. DO NOT USE THIS IN YOUR
|
||||
# ycm_extra_conf IF YOU'RE NOT 100% SURE YOU NEED IT.
|
||||
try:
|
||||
final_flags.remove( '-stdlib=libc++' )
|
||||
except ValueError:
|
||||
pass
|
||||
else:
|
||||
relative_to = DirectoryOfThisScript()
|
||||
final_flags = MakeRelativePathsInFlagsAbsolute( flags, relative_to )
|
||||
|
||||
return {
|
||||
'flags': final_flags,
|
||||
'do_cache': True
|
||||
}
|
3
tests/cmocka-1.1.0/AUTHORS
Normal file
3
tests/cmocka-1.1.0/AUTHORS
Normal file
@ -0,0 +1,3 @@
|
||||
opensource@google.com
|
||||
Andreas Schneider <asn@cryptomilk.org>
|
||||
Jakub Hrozek <jakub.hrozek@posteo.se>
|
88
tests/cmocka-1.1.0/CMakeLists.txt
Normal file
88
tests/cmocka-1.1.0/CMakeLists.txt
Normal file
@ -0,0 +1,88 @@
|
||||
project(cmocka C)
|
||||
|
||||
# Required cmake version
|
||||
cmake_minimum_required(VERSION 2.6.0)
|
||||
|
||||
# global needed variables
|
||||
set(APPLICATION_NAME ${PROJECT_NAME})
|
||||
|
||||
set(APPLICATION_VERSION_MAJOR "1")
|
||||
set(APPLICATION_VERSION_MINOR "1")
|
||||
set(APPLICATION_VERSION_PATCH "0")
|
||||
|
||||
set(APPLICATION_VERSION "${APPLICATION_VERSION_MAJOR}.${APPLICATION_VERSION_MINOR}.${APPLICATION_VERSION_PATCH}")
|
||||
|
||||
# SOVERSION scheme: CURRENT.AGE.REVISION
|
||||
# If there was an incompatible interface change:
|
||||
# Increment CURRENT. Set AGE and REVISION to 0
|
||||
# If there was a compatible interface change:
|
||||
# Increment AGE. Set REVISION to 0
|
||||
# If the source code was changed, but there were no interface changes:
|
||||
# Increment REVISION.
|
||||
set(LIBRARY_VERSION "0.4.0")
|
||||
set(LIBRARY_SOVERSION "0")
|
||||
|
||||
# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
|
||||
set(CMAKE_MODULE_PATH
|
||||
${CMAKE_SOURCE_DIR}/cmake/Modules
|
||||
)
|
||||
|
||||
# add definitions
|
||||
include(DefineCMakeDefaults)
|
||||
include(DefinePlatformDefaults)
|
||||
include(DefineCompilerFlags)
|
||||
include(DefineInstallationPaths)
|
||||
include(DefineOptions.cmake)
|
||||
include(CPackConfig.cmake)
|
||||
include(CheckSymbolExists)
|
||||
|
||||
# disallow in-source build
|
||||
include(MacroEnsureOutOfSourceBuild)
|
||||
macro_ensure_out_of_source_build("${PROJECT_NAME} requires an out of source build. Please create a separate build directory and run 'cmake /path/to/${PROJECT_NAME} [options]' there.")
|
||||
|
||||
# config.h checks
|
||||
include(ConfigureChecks.cmake)
|
||||
configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
||||
|
||||
# MinGW DLL Naming Workaround
|
||||
if (MINGW)
|
||||
set(CMAKE_SHARED_LIBRARY_PREFIX "")
|
||||
endif (MINGW)
|
||||
|
||||
# check subdirectories
|
||||
add_subdirectory(doc)
|
||||
add_subdirectory(include)
|
||||
add_subdirectory(src)
|
||||
|
||||
if (UNIT_TESTING)
|
||||
include(AddCMockaTest)
|
||||
add_subdirectory(tests)
|
||||
endif (UNIT_TESTING)
|
||||
|
||||
add_subdirectory(example)
|
||||
|
||||
# pkg-config file
|
||||
configure_file(cmocka.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/cmocka.pc)
|
||||
install(
|
||||
FILES
|
||||
${CMAKE_CURRENT_BINARY_DIR}/cmocka.pc
|
||||
DESTINATION
|
||||
${LIB_INSTALL_DIR}/pkgconfig
|
||||
COMPONENT
|
||||
pkgconfig
|
||||
)
|
||||
|
||||
# cmake config files
|
||||
set(CMOCKA_LIBRARY_NAME ${CMAKE_SHARED_LIBRARY_PREFIX}${PROJECT_NAME}${CMAKE_SHARED_LIBRARY_SUFFIX})
|
||||
|
||||
configure_file(${PROJECT_NAME}-config.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config.cmake @ONLY)
|
||||
configure_file(${PROJECT_NAME}-config-version.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config-version.cmake @ONLY)
|
||||
install(
|
||||
FILES
|
||||
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config.cmake
|
||||
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config-version.cmake
|
||||
DESTINATION
|
||||
${CMAKE_INSTALL_DIR}/${PROJECT_NAME}
|
||||
COMPONENT
|
||||
devel
|
||||
)
|
202
tests/cmocka-1.1.0/COPYING
Normal file
202
tests/cmocka-1.1.0/COPYING
Normal file
@ -0,0 +1,202 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
53
tests/cmocka-1.1.0/CPackConfig.cmake
Normal file
53
tests/cmocka-1.1.0/CPackConfig.cmake
Normal file
@ -0,0 +1,53 @@
|
||||
# For help take a look at:
|
||||
# http://www.cmake.org/Wiki/CMake:CPackConfiguration
|
||||
|
||||
### general settings
|
||||
set(CPACK_PACKAGE_NAME ${APPLICATION_NAME})
|
||||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Unit testing framework for C with mock objects")
|
||||
set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_SOURCE_DIR}/README")
|
||||
set(CPACK_PACKAGE_VENDOR "Andreas Schneider")
|
||||
set(CPACK_PACKAGE_INSTALL_DIRECTORY ${CPACK_PACKAGE_NAME})
|
||||
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING")
|
||||
|
||||
|
||||
### versions
|
||||
set(CPACK_PACKAGE_VERSION_MAJOR "${APPLICATION_VERSION_MAJOR}")
|
||||
set(CPACK_PACKAGE_VERSION_MINOR "${APPLICATION_VERSION_MINOR}")
|
||||
set(CPACK_PACKAGE_VERSION_PATCH "${APPLICATION_VERSION_PATCH}")
|
||||
set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
|
||||
|
||||
|
||||
### source generator
|
||||
set(CPACK_SOURCE_GENERATOR "TGZ")
|
||||
set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]svn/;/[.]git/;.gitignore;/obj*;tags;cscope.*;.ycm_extra_conf.pyc")
|
||||
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
|
||||
|
||||
if (WIN32)
|
||||
set(CPACK_GENERATOR "ZIP")
|
||||
|
||||
### nsis generator
|
||||
find_package(NSIS)
|
||||
if (NSIS_MAKE)
|
||||
set(CPACK_GENERATOR "${CPACK_GENERATOR};NSIS")
|
||||
set(CPACK_NSIS_DISPLAY_NAME "CMocka")
|
||||
set(CPACK_NSIS_COMPRESSOR "/SOLID zlib")
|
||||
set(CPACK_NSIS_MENU_LINKS "http://cmocka.org/" "cmocka homepage")
|
||||
endif (NSIS_MAKE)
|
||||
endif (WIN32)
|
||||
|
||||
set(CPACK_PACKAGE_INSTALL_DIRECTORY "cmocka")
|
||||
|
||||
set(CPACK_PACKAGE_FILE_NAME ${APPLICATION_NAME}-${CPACK_PACKAGE_VERSION})
|
||||
|
||||
set(CPACK_COMPONENT_LIBRARIES_DISPLAY_NAME "Libraries")
|
||||
set(CPACK_COMPONENT_HEADERS_DISPLAY_NAME "C/C++ Headers")
|
||||
set(CPACK_COMPONENT_LIBRARIES_DESCRIPTION
|
||||
"Libraries used to build programs which use cmocka")
|
||||
set(CPACK_COMPONENT_HEADERS_DESCRIPTION
|
||||
"C/C++ header files for use with cmocka")
|
||||
set(CPACK_COMPONENT_HEADERS_DEPENDS libraries)
|
||||
#set(CPACK_COMPONENT_APPLICATIONS_GROUP "Runtime")
|
||||
set(CPACK_COMPONENT_LIBRARIES_GROUP "Development")
|
||||
set(CPACK_COMPONENT_HEADERS_GROUP "Development")
|
||||
|
||||
include(CPack)
|
10
tests/cmocka-1.1.0/CTestConfig.cmake
Normal file
10
tests/cmocka-1.1.0/CTestConfig.cmake
Normal file
@ -0,0 +1,10 @@
|
||||
set(UPDATE_TYPE "true")
|
||||
|
||||
set(CTEST_PROJECT_NAME "cmocka")
|
||||
set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC")
|
||||
|
||||
set(CTEST_DROP_METHOD "https")
|
||||
set(CTEST_DROP_SITE "mock.cryptomilk.org")
|
||||
set(CTEST_DROP_LOCATION "/submit.php?project=${CTEST_PROJECT_NAME}")
|
||||
set(CTEST_DROP_SITE_CDASH TRUE)
|
||||
|
92
tests/cmocka-1.1.0/ChangeLog
Normal file
92
tests/cmocka-1.1.0/ChangeLog
Normal file
@ -0,0 +1,92 @@
|
||||
Wed Sep 21 2016 Andreas Schneider <asn@cryptomilk.org>
|
||||
* cmocka: version 1.1.0
|
||||
* Added support to catch multiple exceptions
|
||||
* Added support to verify call ordering
|
||||
* Added support to pass initial data to test cases
|
||||
* Added will_return_maybe() for ignoring mock returns
|
||||
* Added subtests for groups using TAP output
|
||||
* Added support to write multiple XML files for groups
|
||||
* Improved documentation
|
||||
* Fixed XML output generataion
|
||||
* Fixed Windows builds with VS2015
|
||||
|
||||
Thu Mar 12 2015 Andreas Schneider <asn@cryptomilk.org>
|
||||
* cmocka: version 1.0.1
|
||||
* Added a macro for assert_ptr_equal().
|
||||
* Fixed test_realloc() if 0 size is passed.
|
||||
* Fixed objects packaging bug.
|
||||
* Fixed building with newer gcc versions.
|
||||
|
||||
Sun Feb 16 2015 Andreas Schneider <asn@cryptomilk.org>
|
||||
* cmocka: version 1.0.0
|
||||
* Added new test runner with group fixtures. The old runner is deprecated
|
||||
* Added an extensible message output formatter
|
||||
* Added jUnit XML message output
|
||||
* Added subunit message output
|
||||
* Added Test Anything Protocol message output
|
||||
* Added skip() command
|
||||
* Added test_realloc()
|
||||
* Added a cmockery compat header
|
||||
* Fixed a lot of bugs on Windows
|
||||
|
||||
Thu May 22 2014 Andreas Schneider <asn@cryptomilk.org>
|
||||
* cmocka: version 0.4.1
|
||||
* Added CMOCKA_TEST_ABORT env variable to leave threading apps.
|
||||
* Fixed count parameter of expect_check() macro.
|
||||
* Fixed reporting the number of tests.
|
||||
* Fixed cmake config files.
|
||||
|
||||
Fri Apr 11 2014 Andreas Schneider <asn@cryptomilk.org>
|
||||
* cmocka: version 0.4.0
|
||||
* Added support for group testing.
|
||||
* Added assert_return_code().
|
||||
* Added better messages for errors.
|
||||
* Added cmake config mode support.
|
||||
* Fixed bug with unit_test_setup and unit_test_teardown.
|
||||
* Fixed a lot of small bugs.
|
||||
|
||||
Wed Nov 06 2013 Andreas Schneider <asn@cryptomilk.org>
|
||||
* cmocka: version 0.3.2
|
||||
* Fixed FindNSIS detection.
|
||||
* Fixed unit_test_setup() and unit_test_teardown().
|
||||
* Fixed GTest and GCC message style conformance
|
||||
* Fixed stringification in will_return_always().
|
||||
|
||||
Wed Jul 10 15:24 2013 Andreas Schneider <asn@cryptomilk.org>
|
||||
* cmocka: version 0.3.1
|
||||
* Fixed pointer conversion on s390 and ppc (32bit big endian).
|
||||
* Fixed the customer_database test on big endian.
|
||||
|
||||
Wed Jun 05 08:14 2013 Andreas Schneider <asn@cryptomilk.org>
|
||||
* cmocka: version 0.3.0
|
||||
* Added a better mock object example.
|
||||
* Added pkgconfig file.
|
||||
* Added new macros mock_type() and mock_ptr_type().
|
||||
* Added more documentation.
|
||||
* Fixed installation problems on some platforms.
|
||||
|
||||
Mon Jan 14 11:16 2013 Andreas Schneider <asn@cryptomilk.org>
|
||||
* cmocka: version 0.2.0
|
||||
* Added doxygen api documentation.
|
||||
* Added new cmake build system.
|
||||
* Added support to create windows NSIS installer.
|
||||
* Fixed examples which didn't work.
|
||||
* Fixed a huge amount of bugs.
|
||||
|
||||
Mon Sep 15 17:21:22 2008 Google Inc. <opensource@google.com>
|
||||
* cmockery: version 0.12
|
||||
* Made it possible to specify additional compiler, lib tool and link
|
||||
flags on Windows.
|
||||
* Added Windows makefile to the tar ball.
|
||||
|
||||
Fri Aug 29 10:50:46 2008 Google Inc. <opensource@google.com>
|
||||
|
||||
* cmockery: version 0.11
|
||||
* Made it possible to specify executable, library and object output
|
||||
directories.
|
||||
|
||||
Tue Aug 26 10:18:02 2008 Google Inc. <opensource@google.com>
|
||||
|
||||
* cmockery: initial release:
|
||||
A lightweight library to simplify and generalize the process of
|
||||
writing unit tests for C applications.
|
149
tests/cmocka-1.1.0/ConfigureChecks.cmake
Normal file
149
tests/cmocka-1.1.0/ConfigureChecks.cmake
Normal file
@ -0,0 +1,149 @@
|
||||
include(CheckIncludeFile)
|
||||
include(CheckSymbolExists)
|
||||
include(CheckFunctionExists)
|
||||
include(CheckLibraryExists)
|
||||
include(CheckTypeSize)
|
||||
include(CheckCXXSourceCompiles)
|
||||
include(CheckStructHasMember)
|
||||
include(TestBigEndian)
|
||||
|
||||
set(PACKAGE ${APPLICATION_NAME})
|
||||
set(VERSION ${APPLICATION_VERSION})
|
||||
set(DATADIR ${DATA_INSTALL_DIR})
|
||||
set(LIBDIR ${LIB_INSTALL_DIR})
|
||||
set(PLUGINDIR "${PLUGIN_INSTALL_DIR}-${LIBRARY_SOVERSION}")
|
||||
set(SYSCONFDIR ${SYSCONF_INSTALL_DIR})
|
||||
|
||||
set(BINARYDIR ${CMAKE_BINARY_DIR})
|
||||
set(SOURCEDIR ${CMAKE_SOURCE_DIR})
|
||||
|
||||
function(COMPILER_DUMPVERSION _OUTPUT_VERSION)
|
||||
# Remove whitespaces from the argument.
|
||||
# This is needed for CC="ccache gcc" cmake ..
|
||||
string(REPLACE " " "" _C_COMPILER_ARG "${CMAKE_C_COMPILER_ARG1}")
|
||||
|
||||
execute_process(
|
||||
COMMAND
|
||||
${CMAKE_C_COMPILER} ${_C_COMPILER_ARG} -dumpversion
|
||||
OUTPUT_VARIABLE _COMPILER_VERSION
|
||||
)
|
||||
|
||||
string(REGEX REPLACE "([0-9])\\.([0-9])(\\.[0-9])?" "\\1\\2"
|
||||
_COMPILER_VERSION ${_COMPILER_VERSION})
|
||||
|
||||
set(${_OUTPUT_VERSION} ${_COMPILER_VERSION} PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
||||
if(CMAKE_COMPILER_IS_GNUCC AND NOT MINGW)
|
||||
compiler_dumpversion(GNUCC_VERSION)
|
||||
if (NOT GNUCC_VERSION EQUAL 34)
|
||||
check_c_compiler_flag("-fvisibility=hidden" WITH_VISIBILITY_HIDDEN)
|
||||
endif (NOT GNUCC_VERSION EQUAL 34)
|
||||
endif(CMAKE_COMPILER_IS_GNUCC AND NOT MINGW)
|
||||
|
||||
# DEFINITIONS
|
||||
if (SOLARIS)
|
||||
add_definitions(-D__EXTENSIONS__)
|
||||
endif (SOLARIS)
|
||||
|
||||
# HEADER FILES
|
||||
check_include_file(assert.h HAVE_ASSERT_H)
|
||||
check_include_file(inttypes.h HAVE_INTTYPES_H)
|
||||
check_include_file(io.h HAVE_IO_H)
|
||||
check_include_file(malloc.h HAVE_MALLOC_H)
|
||||
check_include_file(memory.h HAVE_MEMORY_H)
|
||||
check_include_file(setjmp.h HAVE_SETJMP_H)
|
||||
check_include_file(signal.h HAVE_SIGNAL_H)
|
||||
check_include_file(stdarg.h HAVE_STDARG_H)
|
||||
check_include_file(stddef.h HAVE_STDDEF_H)
|
||||
check_include_file(stdint.h HAVE_STDINT_H)
|
||||
check_include_file(stdio.h HAVE_STDIO_H)
|
||||
check_include_file(stdlib.h HAVE_STDLIB_H)
|
||||
check_include_file(string.h HAVE_STRING_H)
|
||||
check_include_file(strings.h HAVE_STRINGS_H)
|
||||
check_include_file(sys/stat.h HAVE_SYS_STAT_H)
|
||||
check_include_file(sys/types.h HAVE_SYS_TYPES_H)
|
||||
check_include_file(time.h HAVE_TIME_H)
|
||||
check_include_file(unistd.h HAVE_UNISTD_H)
|
||||
|
||||
if (HAVE_TIME_H)
|
||||
check_struct_has_member("struct timespec" tv_sec "time.h" HAVE_STRUCT_TIMESPEC)
|
||||
endif (HAVE_TIME_H)
|
||||
|
||||
# FUNCTIONS
|
||||
check_function_exists(calloc HAVE_CALLOC)
|
||||
check_function_exists(exit HAVE_EXIT)
|
||||
check_function_exists(fprintf HAVE_FPRINTF)
|
||||
check_function_exists(free HAVE_FREE)
|
||||
check_function_exists(longjmp HAVE_LONGJMP)
|
||||
check_function_exists(siglongjmp HAVE_SIGLONGJMP)
|
||||
check_function_exists(malloc HAVE_MALLOC)
|
||||
check_function_exists(memcpy HAVE_MEMCPY)
|
||||
check_function_exists(memset HAVE_MEMSET)
|
||||
check_function_exists(printf HAVE_PRINTF)
|
||||
check_function_exists(setjmp HAVE_SETJMP)
|
||||
check_function_exists(signal HAVE_SIGNAL)
|
||||
check_function_exists(strsignal HAVE_STRSIGNAL)
|
||||
check_function_exists(strcmp HAVE_STRCMP)
|
||||
check_function_exists(clock_gettime HAVE_CLOCK_GETTIME)
|
||||
|
||||
if (WIN32)
|
||||
check_function_exists(_vsnprintf_s HAVE__VSNPRINTF_S)
|
||||
check_function_exists(_vsnprintf HAVE__VSNPRINTF)
|
||||
check_function_exists(_snprintf HAVE__SNPRINTF)
|
||||
check_function_exists(_snprintf_s HAVE__SNPRINTF_S)
|
||||
check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)
|
||||
check_symbol_exists(vsnprintf stdio.h HAVE_VSNPRINTF)
|
||||
else (WIN32)
|
||||
check_function_exists(sprintf HAVE_SNPRINTF)
|
||||
check_function_exists(vsnprintf HAVE_VSNPRINTF)
|
||||
endif (WIN32)
|
||||
|
||||
find_library(RT_LIBRARY rt)
|
||||
if (RT_LIBRARY AND NOT LINUX)
|
||||
set(CMOCKA_REQUIRED_LIBRARIES ${RT_LIBRARY} CACHE INTERNAL "cmocka required system libraries")
|
||||
endif ()
|
||||
|
||||
# OPTIONS
|
||||
check_c_source_compiles("
|
||||
__thread int tls;
|
||||
|
||||
int main(void) {
|
||||
return 0;
|
||||
}" HAVE_GCC_THREAD_LOCAL_STORAGE)
|
||||
|
||||
if (WIN32)
|
||||
check_c_source_compiles("
|
||||
__declspec(thread) int tls;
|
||||
|
||||
int main(void) {
|
||||
return 0;
|
||||
}" HAVE_MSVC_THREAD_LOCAL_STORAGE)
|
||||
endif(WIN32)
|
||||
|
||||
if (HAVE_TIME_H AND HAVE_STRUCT_TIMESPEC AND HAVE_CLOCK_GETTIME)
|
||||
if (RT_LIBRARY)
|
||||
set(CMAKE_REQUIRED_LIBRARIES ${RT_LIBRARY})
|
||||
endif()
|
||||
|
||||
check_c_source_compiles("
|
||||
#include <time.h>
|
||||
|
||||
int main(void) {
|
||||
struct timespec ts;
|
||||
|
||||
clock_gettime(CLOCK_REALTIME, &ts);
|
||||
|
||||
return 0;
|
||||
}" HAVE_CLOCK_GETTIME_REALTIME)
|
||||
|
||||
# reset cmake requirements
|
||||
set(CMAKE_REQUIRED_INCLUDES)
|
||||
set(CMAKE_REQUIRED_LIBRARIES)
|
||||
endif ()
|
||||
|
||||
# ENDIAN
|
||||
if (NOT WIN32)
|
||||
set(WORDS_SIZEOF_VOID_P ${CMAKE_SIZEOF_VOID_P})
|
||||
test_big_endian(WORDS_BIGENDIAN)
|
||||
endif (NOT WIN32)
|
7
tests/cmocka-1.1.0/DefineOptions.cmake
Normal file
7
tests/cmocka-1.1.0/DefineOptions.cmake
Normal file
@ -0,0 +1,7 @@
|
||||
option(WITH_STATIC_LIB "Build with a static library" OFF)
|
||||
option(WITH_CMOCKERY_SUPPORT "Install a cmockery header" OFF)
|
||||
option(UNIT_TESTING "Build with unit testing" OFF)
|
||||
|
||||
if (UNIT_TESTING)
|
||||
set(WITH_STATIC_LIB ON)
|
||||
endif()
|
102
tests/cmocka-1.1.0/INSTALL
Normal file
102
tests/cmocka-1.1.0/INSTALL
Normal file
@ -0,0 +1,102 @@
|
||||
# How to build from source
|
||||
|
||||
## Requirements
|
||||
|
||||
### Common requirements
|
||||
|
||||
In order to build cmocka, you need to install several components:
|
||||
|
||||
- A C compiler
|
||||
- [CMake](http://www.cmake.org) >= 2.8.0.
|
||||
|
||||
Note that these version numbers are version we know works correctly. If you
|
||||
build and run cmocka successfully with an older version, please let us know.
|
||||
|
||||
## Building
|
||||
First, you need to configure the compilation, using CMake. Go inside the
|
||||
`build` dir. Create it if it doesn't exist.
|
||||
|
||||
GNU/Linux, MacOS X, MSYS/MinGW:
|
||||
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ..
|
||||
make
|
||||
|
||||
On Windows you should choose a makefile gernerator with -G, for example:
|
||||
|
||||
cmake -G "Visual Studio 12 2013" -DCMAKE_BUILD_TYPE=Debug /path/to/source
|
||||
|
||||
You can also use the CMake GUI which is shipped with CMake. It will list all
|
||||
available generators for MSVC on Windows.
|
||||
|
||||
### CMake standard options
|
||||
Here is a list of the most interesting options provided out of the box by
|
||||
CMake.
|
||||
|
||||
- CMAKE_BUILD_TYPE: The type of build (can be Debug Release MinSizeRel
|
||||
RelWithDebInfo)
|
||||
- CMAKE_INSTALL_PREFIX: The prefix to use when running make install (Default
|
||||
to /usr/local on GNU/Linux and MacOS X)
|
||||
- CMAKE_C_COMPILER: The path to the C compiler
|
||||
- CMAKE_CXX_COMPILER: The path to the C++ compiler
|
||||
|
||||
### CMake options defined for cmocka
|
||||
|
||||
Options are defined in the following files:
|
||||
|
||||
- DefineOptions.cmake
|
||||
|
||||
They can be changed with the -D option:
|
||||
|
||||
`cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=ON ..`
|
||||
|
||||
### Browsing/editing CMake options
|
||||
|
||||
In addition to passing options on the command line, you can browse and edit
|
||||
CMake options using `cmakesetup` (Windows), `cmake-gui` or `ccmake` (GNU/Linux
|
||||
and MacOS X).
|
||||
|
||||
- Go to the build dir
|
||||
- On Windows: run `cmakesetup`
|
||||
- On GNU/Linux and MacOS X: run `ccmake ..`
|
||||
|
||||
## Installing
|
||||
|
||||
If you want to install cmocka after compilation run:
|
||||
|
||||
make install
|
||||
|
||||
## Running
|
||||
|
||||
The cmocka library can be found in the `build/src` directory.
|
||||
You can run the binaries in `build/examples/*` which is a
|
||||
are exsample tests.
|
||||
|
||||
## Testing
|
||||
|
||||
As mention above you can turn on the unit tests and make it possible to easily
|
||||
execute them:
|
||||
|
||||
`cmake -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=ON ..`
|
||||
|
||||
After that you can simply call `make test` in the build directory or if you
|
||||
want more output simply call `ctest -V`.
|
||||
|
||||
If you want to enable the generation of coverage files you can do this by
|
||||
using the following options:
|
||||
|
||||
`cmake -DCMAKE_BUILD_TYPE=Profiling -DUNIT_TESTING=ON ..`
|
||||
|
||||
After building it you will see that you have several coverage options in
|
||||
|
||||
`make help`
|
||||
|
||||
You should have `make ExperimentalCoverage` and running it will create
|
||||
coverage files. The result is stored in Testing directory.
|
||||
|
||||
## About this document
|
||||
|
||||
This document is written using [Markdown][] syntax, making it possible to
|
||||
provide usable information in both plain text and HTML format. Whenever
|
||||
modifying this document please use [Markdown][] syntax.
|
||||
|
||||
[markdown]: http://www.daringfireball.net/projects/markdown
|
0
tests/cmocka-1.1.0/NEWS
Normal file
0
tests/cmocka-1.1.0/NEWS
Normal file
15
tests/cmocka-1.1.0/README
Normal file
15
tests/cmocka-1.1.0/README
Normal file
@ -0,0 +1,15 @@
|
||||
CMOCKA
|
||||
=======
|
||||
|
||||
cmocka is a fork for Google's cmockery unit testing framework to fix bugs and
|
||||
support it in future.
|
||||
See https://code.google.com/p/cmockery/
|
||||
|
||||
For information about how to use the cmocka unit testing framework see
|
||||
doc/index.html.
|
||||
|
||||
COMPILING
|
||||
---------
|
||||
To compile the cmocka library and example applications run, create a build dir,
|
||||
and in the build dir call 'cmake /path/to/cmocka' followed by 'make'. On
|
||||
Windows you can use the cmake gui. More details can be found in the INSTALL file.
|
533
tests/cmocka-1.1.0/build/CMakeCache.txt
Normal file
533
tests/cmocka-1.1.0/build/CMakeCache.txt
Normal file
@ -0,0 +1,533 @@
|
||||
# This is the CMakeCache file.
|
||||
# For build in directory: /home/anton/programs/libfort/tests/cmocka-1.1.0/build
|
||||
# It was generated by CMake: /usr/bin/cmake
|
||||
# You can edit this file to change values found and used by cmake.
|
||||
# If you do not want to change any of the values, simply exit the editor.
|
||||
# If you do want to change a value, simply edit, save, and exit the editor.
|
||||
# The syntax for the file is as follows:
|
||||
# KEY:TYPE=VALUE
|
||||
# KEY is the name of a variable in the cache.
|
||||
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
|
||||
# VALUE is the current value for the KEY.
|
||||
|
||||
########################
|
||||
# EXTERNAL cache entries
|
||||
########################
|
||||
|
||||
//The cmocka binary install dir (default prefix/bin)
|
||||
BIN_INSTALL_DIR:PATH=/usr/local/bin
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_AR:FILEPATH=/usr/bin/ar
|
||||
|
||||
//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
|
||||
// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
|
||||
CMAKE_BUILD_TYPE:STRING=
|
||||
|
||||
//Enable/Disable color output during build.
|
||||
CMAKE_COLOR_MAKEFILE:BOOL=ON
|
||||
|
||||
//C compiler
|
||||
CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
|
||||
|
||||
//Flags used by the compiler during all build types.
|
||||
CMAKE_C_FLAGS:STRING=
|
||||
|
||||
//Flags used by the compiler during debug builds.
|
||||
CMAKE_C_FLAGS_DEBUG:STRING=-g
|
||||
|
||||
//Flags used by the compiler during release builds for minimum
|
||||
// size.
|
||||
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
||||
|
||||
//Flags used by the compiler during release builds.
|
||||
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
||||
|
||||
//Flags used by the compiler during release builds with debug info.
|
||||
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||
|
||||
//Flags used by the linker.
|
||||
CMAKE_EXE_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during debug builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during release minsize builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during release builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during Release with Debug Info builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//Enable/Disable output of compile commands during generation.
|
||||
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
|
||||
|
||||
//The subdirectory to install cmake config files
|
||||
CMAKE_INSTALL_DIR:PATH=/usr/local/lib/cmake
|
||||
|
||||
//Install path prefix, prepended onto install directories.
|
||||
CMAKE_INSTALL_PREFIX:PATH=/usr/local
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_LINKER:FILEPATH=/usr/bin/ld
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
|
||||
|
||||
//Flags used by the linker during the creation of modules.
|
||||
CMAKE_MODULE_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during debug builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during release minsize builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during release builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during Release with Debug Info builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_NM:FILEPATH=/usr/bin/nm
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_NAME:STATIC=cmocka
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
|
||||
|
||||
//Flags used by the linker during the creation of dll's.
|
||||
CMAKE_SHARED_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during debug builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during release minsize builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during release builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during Release with Debug Info builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//If set, runtime paths are not added when installing shared libraries,
|
||||
// but are added when building.
|
||||
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
|
||||
|
||||
//If set, runtime paths are not added when using shared libraries.
|
||||
CMAKE_SKIP_RPATH:BOOL=NO
|
||||
|
||||
//Flags used by the linker during the creation of static libraries.
|
||||
CMAKE_STATIC_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during debug builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during release minsize builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during release builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during Release with Debug Info builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_STRIP:FILEPATH=/usr/bin/strip
|
||||
|
||||
//If this value is on, makefiles will be generated without the
|
||||
// .SILENT directive, and all commands will be echoed to the console
|
||||
// during the make. This is useful for debugging only. With Visual
|
||||
// Studio IDE projects all commands are done without /nologo.
|
||||
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
|
||||
|
||||
//Path to include directory for cmocka_platform.h
|
||||
CMOCKA_PLATFORM_INCLUDE:PATH=
|
||||
|
||||
//Enable to build Debian packages
|
||||
CPACK_BINARY_DEB:BOOL=OFF
|
||||
|
||||
//Enable to build IFW packages
|
||||
CPACK_BINARY_IFW:BOOL=OFF
|
||||
|
||||
//Enable to build NSIS packages
|
||||
CPACK_BINARY_NSIS:BOOL=OFF
|
||||
|
||||
//Enable to build RPM packages
|
||||
CPACK_BINARY_RPM:BOOL=OFF
|
||||
|
||||
//Enable to build STGZ packages
|
||||
CPACK_BINARY_STGZ:BOOL=ON
|
||||
|
||||
//Enable to build TBZ2 packages
|
||||
CPACK_BINARY_TBZ2:BOOL=OFF
|
||||
|
||||
//Enable to build TGZ packages
|
||||
CPACK_BINARY_TGZ:BOOL=ON
|
||||
|
||||
//Enable to build TXZ packages
|
||||
CPACK_BINARY_TXZ:BOOL=OFF
|
||||
|
||||
//Enable to build TZ packages
|
||||
CPACK_BINARY_TZ:BOOL=ON
|
||||
|
||||
//The parent directory where applications can install their data
|
||||
// (default prefix/share/cmocka)
|
||||
DATA_INSTALL_DIR:PATH=/usr/local/share/cmocka
|
||||
|
||||
//The parent directory where applications can install their data
|
||||
DATA_INSTALL_PREFIX:PATH=/usr/local/share/cmocka
|
||||
|
||||
//Graphviz Dot tool for using Doxygen
|
||||
DOXYGEN_DOT_EXECUTABLE:FILEPATH=DOXYGEN_DOT_EXECUTABLE-NOTFOUND
|
||||
|
||||
//Doxygen documentation generation tool (http://www.doxygen.org)
|
||||
DOXYGEN_EXECUTABLE:FILEPATH=DOXYGEN_EXECUTABLE-NOTFOUND
|
||||
|
||||
//Base directory for executables and libraries
|
||||
EXEC_INSTALL_PREFIX:PATH=/usr/local
|
||||
|
||||
//The HTML install dir for documentation (default data/doc/html)
|
||||
HTML_INSTALL_DIR:PATH=/usr/local/share/cmocka/doc/HTML
|
||||
|
||||
//The icon install dir (default data/icons/)
|
||||
ICON_INSTALL_DIR:PATH=/usr/local/share/cmocka/icons
|
||||
|
||||
//The subdirectory to the header prefix (default prefix/include)
|
||||
INCLUDE_INSTALL_DIR:PATH=/usr/local/include
|
||||
|
||||
//The cmocka info install dir (default prefix/info)
|
||||
INFO_INSTALL_DIR:PATH=/usr/local/share/info
|
||||
|
||||
//The subdirectory relative to the install prefix where libraries
|
||||
// will be installed (default is prefix/libexec)
|
||||
LIBEXEC_INSTALL_DIR:PATH=/usr/local/libexec
|
||||
|
||||
//The subdirectory relative to the install prefix where libraries
|
||||
// will be installed (default is prefix/lib)
|
||||
LIB_INSTALL_DIR:PATH=/usr/local/lib
|
||||
|
||||
//Define suffix of directory name (32/64)
|
||||
LIB_SUFFIX:STRING=
|
||||
|
||||
//The install dir for translations (default prefix/share/locale)
|
||||
LOCALE_INSTALL_DIR:PATH=/usr/local/share/locale
|
||||
|
||||
//The cmocka man install dir (default prefix/man)
|
||||
MAN_INSTALL_DIR:PATH=/usr/local/share/man
|
||||
|
||||
//The subdirectory relative to the install prefix where plugins
|
||||
// will be installed (default is prefix/lib/cmocka)
|
||||
PLUGIN_INSTALL_DIR:PATH=/usr/local/lib/cmocka
|
||||
|
||||
//Path to a library.
|
||||
RT_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/librt.so
|
||||
|
||||
//The cmocka sbin install dir (default prefix/sbin)
|
||||
SBIN_INSTALL_DIR:PATH=/usr/local/sbin
|
||||
|
||||
//Base directory for files which go to share/
|
||||
SHARE_INSTALL_PREFIX:PATH=/usr/local/share
|
||||
|
||||
//The install dir for sound files (default data/sounds)
|
||||
SOUND_INSTALL_DIR:PATH=/usr/local/share/cmocka/sounds
|
||||
|
||||
//The cmocka sysconfig install dir (default prefix/etc)
|
||||
SYSCONF_INSTALL_DIR:PATH=/usr/local/etc
|
||||
|
||||
//Build with unit testing
|
||||
UNIT_TESTING:BOOL=OFF
|
||||
|
||||
//Install a cmockery header
|
||||
WITH_CMOCKERY_SUPPORT:BOOL=OFF
|
||||
|
||||
//Build with a static library
|
||||
WITH_STATIC_LIB:BOOL=OFF
|
||||
|
||||
//The XDG apps dir
|
||||
XDG_APPS_DIR:PATH=/usr/local/share/applications
|
||||
|
||||
//The XDG directory
|
||||
XDG_DIRECTORY_DIR:PATH=/usr/local/share/desktop-directories
|
||||
|
||||
//Value Computed by CMake
|
||||
cmocka-examples_BINARY_DIR:STATIC=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example
|
||||
|
||||
//Value Computed by CMake
|
||||
cmocka-examples_SOURCE_DIR:STATIC=/home/anton/programs/libfort/tests/cmocka-1.1.0/example
|
||||
|
||||
//Value Computed by CMake
|
||||
cmocka-headers_BINARY_DIR:STATIC=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/include
|
||||
|
||||
//Value Computed by CMake
|
||||
cmocka-headers_SOURCE_DIR:STATIC=/home/anton/programs/libfort/tests/cmocka-1.1.0/include
|
||||
|
||||
//Value Computed by CMake
|
||||
cmocka-library_BINARY_DIR:STATIC=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/src
|
||||
|
||||
//Value Computed by CMake
|
||||
cmocka-library_SOURCE_DIR:STATIC=/home/anton/programs/libfort/tests/cmocka-1.1.0/src
|
||||
|
||||
//Value Computed by CMake
|
||||
cmocka-wrap-examples_BINARY_DIR:STATIC=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/chef_wrap
|
||||
|
||||
//Value Computed by CMake
|
||||
cmocka-wrap-examples_SOURCE_DIR:STATIC=/home/anton/programs/libfort/tests/cmocka-1.1.0/example/chef_wrap
|
||||
|
||||
//Value Computed by CMake
|
||||
cmocka_BINARY_DIR:STATIC=/home/anton/programs/libfort/tests/cmocka-1.1.0/build
|
||||
|
||||
//Value Computed by CMake
|
||||
cmocka_SOURCE_DIR:STATIC=/home/anton/programs/libfort/tests/cmocka-1.1.0
|
||||
|
||||
//Dependencies for target
|
||||
cmocka_shared_LIB_DEPENDS:STATIC=
|
||||
|
||||
|
||||
########################
|
||||
# INTERNAL cache entries
|
||||
########################
|
||||
|
||||
//ADVANCED property for variable: CMAKE_AR
|
||||
CMAKE_AR-ADVANCED:INTERNAL=1
|
||||
//This is the directory where this CMakeCache.txt was created
|
||||
CMAKE_CACHEFILE_DIR:INTERNAL=/home/anton/programs/libfort/tests/cmocka-1.1.0/build
|
||||
//Major version of cmake used to create the current loaded cache
|
||||
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
|
||||
//Minor version of cmake used to create the current loaded cache
|
||||
CMAKE_CACHE_MINOR_VERSION:INTERNAL=7
|
||||
//Patch version of cmake used to create the current loaded cache
|
||||
CMAKE_CACHE_PATCH_VERSION:INTERNAL=2
|
||||
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
|
||||
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
|
||||
//Path to CMake executable.
|
||||
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
|
||||
//Path to cpack program executable.
|
||||
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
|
||||
//Path to ctest program executable.
|
||||
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
|
||||
//ADVANCED property for variable: CMAKE_C_COMPILER
|
||||
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS
|
||||
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
|
||||
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
|
||||
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
|
||||
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//Executable file format
|
||||
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
|
||||
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
|
||||
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
|
||||
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
|
||||
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
|
||||
//Name of external makefile project generator.
|
||||
CMAKE_EXTRA_GENERATOR:INTERNAL=
|
||||
//Name of generator.
|
||||
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
|
||||
//Name of generator platform.
|
||||
CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
||||
//Name of generator toolset.
|
||||
CMAKE_GENERATOR_TOOLSET:INTERNAL=
|
||||
//Source directory with the top level CMakeLists.txt file for this
|
||||
// project
|
||||
CMAKE_HOME_DIRECTORY:INTERNAL=/home/anton/programs/libfort/tests/cmocka-1.1.0
|
||||
//Install .so files without execute permission.
|
||||
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_LINKER
|
||||
CMAKE_LINKER-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
|
||||
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
|
||||
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
|
||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_NM
|
||||
CMAKE_NM-ADVANCED:INTERNAL=1
|
||||
//number of local generators
|
||||
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=6
|
||||
//ADVANCED property for variable: CMAKE_OBJCOPY
|
||||
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_OBJDUMP
|
||||
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_RANLIB
|
||||
CMAKE_RANLIB-ADVANCED:INTERNAL=1
|
||||
//Path to CMake installation.
|
||||
CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.7
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
|
||||
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
|
||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//CHECK_TYPE_SIZE: sizeof(unsigned short)
|
||||
CMAKE_SIZEOF_UNSIGNED_SHORT:INTERNAL=2
|
||||
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
|
||||
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SKIP_RPATH
|
||||
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
|
||||
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
|
||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STRIP
|
||||
CMAKE_STRIP-ADVANCED:INTERNAL=1
|
||||
//uname command
|
||||
CMAKE_UNAME:INTERNAL=/bin/uname
|
||||
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
|
||||
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
|
||||
//cmocka link libraries
|
||||
CMOCKA_LINK_LIBRARIES:INTERNAL=
|
||||
//cmocka public include directories
|
||||
CMOCKA_PUBLIC_INCLUDE_DIRS:INTERNAL=/home/anton/programs/libfort/tests/cmocka-1.1.0/include
|
||||
//cmocka shared library
|
||||
CMOCKA_SHARED_LIBRARY:INTERNAL=cmocka_shared
|
||||
//ADVANCED property for variable: CPACK_BINARY_DEB
|
||||
CPACK_BINARY_DEB-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CPACK_BINARY_IFW
|
||||
CPACK_BINARY_IFW-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CPACK_BINARY_NSIS
|
||||
CPACK_BINARY_NSIS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CPACK_BINARY_RPM
|
||||
CPACK_BINARY_RPM-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CPACK_BINARY_STGZ
|
||||
CPACK_BINARY_STGZ-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CPACK_BINARY_TBZ2
|
||||
CPACK_BINARY_TBZ2-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CPACK_BINARY_TGZ
|
||||
CPACK_BINARY_TGZ-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CPACK_BINARY_TXZ
|
||||
CPACK_BINARY_TXZ-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CPACK_BINARY_TZ
|
||||
CPACK_BINARY_TZ-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: DOXYGEN_DOT_EXECUTABLE
|
||||
DOXYGEN_DOT_EXECUTABLE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: DOXYGEN_EXECUTABLE
|
||||
DOXYGEN_EXECUTABLE-ADVANCED:INTERNAL=1
|
||||
//Have include assert.h
|
||||
HAVE_ASSERT_H:INTERNAL=1
|
||||
//Have function calloc
|
||||
HAVE_CALLOC:INTERNAL=1
|
||||
//Have function clock_gettime
|
||||
HAVE_CLOCK_GETTIME:INTERNAL=1
|
||||
//Test HAVE_CLOCK_GETTIME_REALTIME
|
||||
HAVE_CLOCK_GETTIME_REALTIME:INTERNAL=1
|
||||
//Result of TRY_COMPILE
|
||||
HAVE_CMAKE_SIZEOF_UNSIGNED_SHORT:INTERNAL=TRUE
|
||||
//Have function exit
|
||||
HAVE_EXIT:INTERNAL=1
|
||||
//Have function fprintf
|
||||
HAVE_FPRINTF:INTERNAL=1
|
||||
//Have function free
|
||||
HAVE_FREE:INTERNAL=1
|
||||
//Test HAVE_GCC_THREAD_LOCAL_STORAGE
|
||||
HAVE_GCC_THREAD_LOCAL_STORAGE:INTERNAL=1
|
||||
//Have include inttypes.h
|
||||
HAVE_INTTYPES_H:INTERNAL=1
|
||||
//Have include io.h
|
||||
HAVE_IO_H:INTERNAL=
|
||||
//Have function longjmp
|
||||
HAVE_LONGJMP:INTERNAL=1
|
||||
//Have function malloc
|
||||
HAVE_MALLOC:INTERNAL=1
|
||||
//Have include malloc.h
|
||||
HAVE_MALLOC_H:INTERNAL=1
|
||||
//Have function memcpy
|
||||
HAVE_MEMCPY:INTERNAL=1
|
||||
//Have include memory.h
|
||||
HAVE_MEMORY_H:INTERNAL=1
|
||||
//Have function memset
|
||||
HAVE_MEMSET:INTERNAL=1
|
||||
//Have function printf
|
||||
HAVE_PRINTF:INTERNAL=1
|
||||
//Have function setjmp
|
||||
HAVE_SETJMP:INTERNAL=1
|
||||
//Have include setjmp.h
|
||||
HAVE_SETJMP_H:INTERNAL=1
|
||||
//Have function siglongjmp
|
||||
HAVE_SIGLONGJMP:INTERNAL=1
|
||||
//Have function signal
|
||||
HAVE_SIGNAL:INTERNAL=1
|
||||
//Have include signal.h
|
||||
HAVE_SIGNAL_H:INTERNAL=1
|
||||
//Have function sprintf
|
||||
HAVE_SNPRINTF:INTERNAL=1
|
||||
//Have include stdarg.h
|
||||
HAVE_STDARG_H:INTERNAL=1
|
||||
//Have include stddef.h
|
||||
HAVE_STDDEF_H:INTERNAL=1
|
||||
//Have include stdint.h
|
||||
HAVE_STDINT_H:INTERNAL=1
|
||||
//Have include stdio.h
|
||||
HAVE_STDIO_H:INTERNAL=1
|
||||
//Have include stdlib.h
|
||||
HAVE_STDLIB_H:INTERNAL=1
|
||||
//Have function strcmp
|
||||
HAVE_STRCMP:INTERNAL=1
|
||||
//Have include strings.h
|
||||
HAVE_STRINGS_H:INTERNAL=1
|
||||
//Have include string.h
|
||||
HAVE_STRING_H:INTERNAL=1
|
||||
//Have function strsignal
|
||||
HAVE_STRSIGNAL:INTERNAL=1
|
||||
//Test HAVE_STRUCT_TIMESPEC
|
||||
HAVE_STRUCT_TIMESPEC:INTERNAL=1
|
||||
//Have include sys/stat.h
|
||||
HAVE_SYS_STAT_H:INTERNAL=1
|
||||
//Have include sys/types.h
|
||||
HAVE_SYS_TYPES_H:INTERNAL=1
|
||||
//Have include time.h
|
||||
HAVE_TIME_H:INTERNAL=1
|
||||
//Have include unistd.h
|
||||
HAVE_UNISTD_H:INTERNAL=1
|
||||
//Have function vsnprintf
|
||||
HAVE_VSNPRINTF:INTERNAL=1
|
||||
//Result of TRY_COMPILE
|
||||
HAVE_WORDS_BIGENDIAN:INTERNAL=TRUE
|
||||
//Test WITH_FPIC
|
||||
WITH_FPIC:INTERNAL=1
|
||||
//Test WITH_STACK_PROTECTOR
|
||||
WITH_STACK_PROTECTOR:INTERNAL=1
|
||||
//Test WITH_VISIBILITY_HIDDEN
|
||||
WITH_VISIBILITY_HIDDEN:INTERNAL=1
|
||||
//Result of TEST_BIG_ENDIAN
|
||||
WORDS_BIGENDIAN:INTERNAL=0
|
||||
|
@ -0,0 +1,68 @@
|
||||
set(CMAKE_C_COMPILER "/usr/bin/cc")
|
||||
set(CMAKE_C_COMPILER_ARG1 "")
|
||||
set(CMAKE_C_COMPILER_ID "GNU")
|
||||
set(CMAKE_C_COMPILER_VERSION "6.3.0")
|
||||
set(CMAKE_C_COMPILER_WRAPPER "")
|
||||
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
|
||||
set(CMAKE_C_COMPILE_FEATURES "c_function_prototypes;c_restrict;c_variadic_macros;c_static_assert")
|
||||
set(CMAKE_C90_COMPILE_FEATURES "c_function_prototypes")
|
||||
set(CMAKE_C99_COMPILE_FEATURES "c_restrict;c_variadic_macros")
|
||||
set(CMAKE_C11_COMPILE_FEATURES "c_static_assert")
|
||||
|
||||
set(CMAKE_C_PLATFORM_ID "Linux")
|
||||
set(CMAKE_C_SIMULATE_ID "")
|
||||
set(CMAKE_C_SIMULATE_VERSION "")
|
||||
|
||||
set(CMAKE_AR "/usr/bin/ar")
|
||||
set(CMAKE_RANLIB "/usr/bin/ranlib")
|
||||
set(CMAKE_LINKER "/usr/bin/ld")
|
||||
set(CMAKE_COMPILER_IS_GNUCC 1)
|
||||
set(CMAKE_C_COMPILER_LOADED 1)
|
||||
set(CMAKE_C_COMPILER_WORKS TRUE)
|
||||
set(CMAKE_C_ABI_COMPILED TRUE)
|
||||
set(CMAKE_COMPILER_IS_MINGW )
|
||||
set(CMAKE_COMPILER_IS_CYGWIN )
|
||||
if(CMAKE_COMPILER_IS_CYGWIN)
|
||||
set(CYGWIN 1)
|
||||
set(UNIX 1)
|
||||
endif()
|
||||
|
||||
set(CMAKE_C_COMPILER_ENV_VAR "CC")
|
||||
|
||||
if(CMAKE_COMPILER_IS_MINGW)
|
||||
set(MINGW 1)
|
||||
endif()
|
||||
set(CMAKE_C_COMPILER_ID_RUN 1)
|
||||
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
|
||||
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||
set(CMAKE_C_LINKER_PREFERENCE 10)
|
||||
|
||||
# Save compiler ABI information.
|
||||
set(CMAKE_C_SIZEOF_DATA_PTR "8")
|
||||
set(CMAKE_C_COMPILER_ABI "ELF")
|
||||
set(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||
|
||||
if(CMAKE_C_SIZEOF_DATA_PTR)
|
||||
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_COMPILER_ABI)
|
||||
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_LIBRARY_ARCHITECTURE)
|
||||
set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||
endif()
|
||||
|
||||
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
|
||||
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
|
||||
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "c")
|
||||
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/6;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
|
||||
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
BIN
tests/cmocka-1.1.0/build/CMakeFiles/3.7.2/CMakeDetermineCompilerABI_C.bin
Executable file
BIN
tests/cmocka-1.1.0/build/CMakeFiles/3.7.2/CMakeDetermineCompilerABI_C.bin
Executable file
Binary file not shown.
15
tests/cmocka-1.1.0/build/CMakeFiles/3.7.2/CMakeSystem.cmake
Normal file
15
tests/cmocka-1.1.0/build/CMakeFiles/3.7.2/CMakeSystem.cmake
Normal file
@ -0,0 +1,15 @@
|
||||
set(CMAKE_HOST_SYSTEM "Linux-4.10.0-42-generic")
|
||||
set(CMAKE_HOST_SYSTEM_NAME "Linux")
|
||||
set(CMAKE_HOST_SYSTEM_VERSION "4.10.0-42-generic")
|
||||
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_SYSTEM "Linux-4.10.0-42-generic")
|
||||
set(CMAKE_SYSTEM_NAME "Linux")
|
||||
set(CMAKE_SYSTEM_VERSION "4.10.0-42-generic")
|
||||
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
|
||||
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
|
||||
set(CMAKE_SYSTEM_LOADED 1)
|
@ -0,0 +1,561 @@
|
||||
#ifdef __cplusplus
|
||||
# error "A C++ compiler has been selected for C."
|
||||
#endif
|
||||
|
||||
#if defined(__18CXX)
|
||||
# define ID_VOID_MAIN
|
||||
#endif
|
||||
#if defined(__CLASSIC_C__)
|
||||
/* cv-qualifiers did not exist in K&R C */
|
||||
# define const
|
||||
# define volatile
|
||||
#endif
|
||||
|
||||
|
||||
/* Version number components: V=Version, R=Revision, P=Patch
|
||||
Version date components: YYYY=Year, MM=Month, DD=Day */
|
||||
|
||||
#if defined(__INTEL_COMPILER) || defined(__ICC)
|
||||
# define COMPILER_ID "Intel"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
/* __INTEL_COMPILER = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||
# if defined(__INTEL_COMPILER_UPDATE)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
||||
# else
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||
# endif
|
||||
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||
# endif
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
|
||||
#elif defined(__PATHCC__)
|
||||
# define COMPILER_ID "PathScale"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
||||
# if defined(__PATHCC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
||||
# define COMPILER_ID "Embarcadero"
|
||||
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
||||
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
||||
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
||||
|
||||
#elif defined(__BORLANDC__)
|
||||
# define COMPILER_ID "Borland"
|
||||
/* __BORLANDC__ = 0xVRR */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
||||
|
||||
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
||||
# define COMPILER_ID "Watcom"
|
||||
/* __WATCOMC__ = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# define COMPILER_ID "OpenWatcom"
|
||||
/* __WATCOMC__ = VVRP + 1100 */
|
||||
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__SUNPRO_C)
|
||||
# define COMPILER_ID "SunPro"
|
||||
# if __SUNPRO_C >= 0x5100
|
||||
/* __SUNPRO_C = 0xVRRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||
# else
|
||||
/* __SUNPRO_CC = 0xVRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||
# endif
|
||||
|
||||
#elif defined(__HP_cc)
|
||||
# define COMPILER_ID "HP"
|
||||
/* __HP_cc = VVRRPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
|
||||
|
||||
#elif defined(__DECC)
|
||||
# define COMPILER_ID "Compaq"
|
||||
/* __DECC_VER = VVRRTPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
|
||||
|
||||
#elif defined(__IBMC__) && defined(__COMPILER_VER__)
|
||||
# define COMPILER_ID "zOS"
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
|
||||
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
|
||||
# define COMPILER_ID "XL"
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
|
||||
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
|
||||
# define COMPILER_ID "VisualAge"
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
|
||||
#elif defined(__PGI)
|
||||
# define COMPILER_ID "PGI"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
||||
# if defined(__PGIC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_CRAYC)
|
||||
# define COMPILER_ID "Cray"
|
||||
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
||||
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
||||
|
||||
#elif defined(__TI_COMPILER_VERSION__)
|
||||
# define COMPILER_ID "TI"
|
||||
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
||||
|
||||
#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
|
||||
# define COMPILER_ID "Fujitsu"
|
||||
|
||||
#elif defined(__TINYC__)
|
||||
# define COMPILER_ID "TinyCC"
|
||||
|
||||
#elif defined(__BCC__)
|
||||
# define COMPILER_ID "Bruce"
|
||||
|
||||
#elif defined(__SCO_VERSION__)
|
||||
# define COMPILER_ID "SCO"
|
||||
|
||||
#elif defined(__clang__) && defined(__apple_build_version__)
|
||||
# define COMPILER_ID "AppleClang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
||||
|
||||
#elif defined(__clang__)
|
||||
# define COMPILER_ID "Clang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
|
||||
#elif defined(__GNUC__)
|
||||
# define COMPILER_ID "GNU"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||
# if defined(__GNUC_MINOR__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_MSC_VER)
|
||||
# define COMPILER_ID "MSVC"
|
||||
/* _MSC_VER = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# if defined(_MSC_FULL_VER)
|
||||
# if _MSC_VER >= 1400
|
||||
/* _MSC_FULL_VER = VVRRPPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
||||
# else
|
||||
/* _MSC_FULL_VER = VVRRPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
||||
# endif
|
||||
# endif
|
||||
# if defined(_MSC_BUILD)
|
||||
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
||||
# endif
|
||||
|
||||
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
|
||||
# define COMPILER_ID "ADSP"
|
||||
#if defined(__VISUALDSPVERSION__)
|
||||
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
|
||||
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
|
||||
#endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC)
|
||||
# define COMPILER_ID "IAR"
|
||||
|
||||
#elif defined(__ARMCC_VERSION)
|
||||
# define COMPILER_ID "ARMCC"
|
||||
#if __ARMCC_VERSION >= 1000000
|
||||
/* __ARMCC_VERSION = VRRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#else
|
||||
/* __ARMCC_VERSION = VRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#endif
|
||||
|
||||
|
||||
#elif defined(SDCC)
|
||||
# define COMPILER_ID "SDCC"
|
||||
/* SDCC = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
|
||||
|
||||
#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
|
||||
# define COMPILER_ID "MIPSpro"
|
||||
# if defined(_SGI_COMPILER_VERSION)
|
||||
/* _SGI_COMPILER_VERSION = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
|
||||
# else
|
||||
/* _COMPILER_VERSION = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
|
||||
# endif
|
||||
|
||||
|
||||
/* These compilers are either not known or too old to define an
|
||||
identification macro. Try to identify the platform and guess that
|
||||
it is the native compiler. */
|
||||
#elif defined(__sgi)
|
||||
# define COMPILER_ID "MIPSpro"
|
||||
|
||||
#elif defined(__hpux) || defined(__hpua)
|
||||
# define COMPILER_ID "HP"
|
||||
|
||||
#else /* unknown compiler */
|
||||
# define COMPILER_ID ""
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
||||
#ifdef SIMULATE_ID
|
||||
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
||||
#endif
|
||||
|
||||
#ifdef __QNXNTO__
|
||||
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
||||
#endif
|
||||
|
||||
#if defined(__CRAYXE) || defined(__CRAYXC)
|
||||
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
||||
#endif
|
||||
|
||||
#define STRINGIFY_HELPER(X) #X
|
||||
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
||||
|
||||
/* Identify known platforms by name. */
|
||||
#if defined(__linux) || defined(__linux__) || defined(linux)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
#elif defined(__CYGWIN__)
|
||||
# define PLATFORM_ID "Cygwin"
|
||||
|
||||
#elif defined(__MINGW32__)
|
||||
# define PLATFORM_ID "MinGW"
|
||||
|
||||
#elif defined(__APPLE__)
|
||||
# define PLATFORM_ID "Darwin"
|
||||
|
||||
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
||||
# define PLATFORM_ID "Windows"
|
||||
|
||||
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
||||
# define PLATFORM_ID "FreeBSD"
|
||||
|
||||
#elif defined(__NetBSD__) || defined(__NetBSD)
|
||||
# define PLATFORM_ID "NetBSD"
|
||||
|
||||
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
||||
# define PLATFORM_ID "OpenBSD"
|
||||
|
||||
#elif defined(__sun) || defined(sun)
|
||||
# define PLATFORM_ID "SunOS"
|
||||
|
||||
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||
# define PLATFORM_ID "AIX"
|
||||
|
||||
#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
|
||||
# define PLATFORM_ID "IRIX"
|
||||
|
||||
#elif defined(__hpux) || defined(__hpux__)
|
||||
# define PLATFORM_ID "HP-UX"
|
||||
|
||||
#elif defined(__HAIKU__)
|
||||
# define PLATFORM_ID "Haiku"
|
||||
|
||||
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
||||
# define PLATFORM_ID "BeOS"
|
||||
|
||||
#elif defined(__QNX__) || defined(__QNXNTO__)
|
||||
# define PLATFORM_ID "QNX"
|
||||
|
||||
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
||||
# define PLATFORM_ID "Tru64"
|
||||
|
||||
#elif defined(__riscos) || defined(__riscos__)
|
||||
# define PLATFORM_ID "RISCos"
|
||||
|
||||
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
||||
# define PLATFORM_ID "SINIX"
|
||||
|
||||
#elif defined(__UNIX_SV__)
|
||||
# define PLATFORM_ID "UNIX_SV"
|
||||
|
||||
#elif defined(__bsdos__)
|
||||
# define PLATFORM_ID "BSDOS"
|
||||
|
||||
#elif defined(_MPRAS) || defined(MPRAS)
|
||||
# define PLATFORM_ID "MP-RAS"
|
||||
|
||||
#elif defined(__osf) || defined(__osf__)
|
||||
# define PLATFORM_ID "OSF1"
|
||||
|
||||
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
||||
# define PLATFORM_ID "SCO_SV"
|
||||
|
||||
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
||||
# define PLATFORM_ID "ULTRIX"
|
||||
|
||||
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||
# define PLATFORM_ID "Xenix"
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(__LINUX__)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
# elif defined(__DOS__)
|
||||
# define PLATFORM_ID "DOS"
|
||||
|
||||
# elif defined(__OS2__)
|
||||
# define PLATFORM_ID "OS2"
|
||||
|
||||
# elif defined(__WINDOWS__)
|
||||
# define PLATFORM_ID "Windows3x"
|
||||
|
||||
# else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
# endif
|
||||
|
||||
#else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
|
||||
#endif
|
||||
|
||||
/* For windows compilers MSVC and Intel we can determine
|
||||
the architecture of the compiler being used. This is because
|
||||
the compilers do not have flags that can change the architecture,
|
||||
but rather depend on which compiler is being used
|
||||
*/
|
||||
#if defined(_WIN32) && defined(_MSC_VER)
|
||||
# if defined(_M_IA64)
|
||||
# define ARCHITECTURE_ID "IA64"
|
||||
|
||||
# elif defined(_M_X64) || defined(_M_AMD64)
|
||||
# define ARCHITECTURE_ID "x64"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# elif defined(_M_ARM)
|
||||
# if _M_ARM == 4
|
||||
# define ARCHITECTURE_ID "ARMV4I"
|
||||
# elif _M_ARM == 5
|
||||
# define ARCHITECTURE_ID "ARMV5I"
|
||||
# else
|
||||
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
||||
# endif
|
||||
|
||||
# elif defined(_M_MIPS)
|
||||
# define ARCHITECTURE_ID "MIPS"
|
||||
|
||||
# elif defined(_M_SH)
|
||||
# define ARCHITECTURE_ID "SHx"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(_M_I86)
|
||||
# define ARCHITECTURE_ID "I86"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#else
|
||||
# define ARCHITECTURE_ID
|
||||
#endif
|
||||
|
||||
/* Convert integer to decimal digit literals. */
|
||||
#define DEC(n) \
|
||||
('0' + (((n) / 10000000)%10)), \
|
||||
('0' + (((n) / 1000000)%10)), \
|
||||
('0' + (((n) / 100000)%10)), \
|
||||
('0' + (((n) / 10000)%10)), \
|
||||
('0' + (((n) / 1000)%10)), \
|
||||
('0' + (((n) / 100)%10)), \
|
||||
('0' + (((n) / 10)%10)), \
|
||||
('0' + ((n) % 10))
|
||||
|
||||
/* Convert integer to hex digit literals. */
|
||||
#define HEX(n) \
|
||||
('0' + ((n)>>28 & 0xF)), \
|
||||
('0' + ((n)>>24 & 0xF)), \
|
||||
('0' + ((n)>>20 & 0xF)), \
|
||||
('0' + ((n)>>16 & 0xF)), \
|
||||
('0' + ((n)>>12 & 0xF)), \
|
||||
('0' + ((n)>>8 & 0xF)), \
|
||||
('0' + ((n)>>4 & 0xF)), \
|
||||
('0' + ((n) & 0xF))
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#ifdef COMPILER_VERSION_MAJOR
|
||||
char const info_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
||||
COMPILER_VERSION_MAJOR,
|
||||
# ifdef COMPILER_VERSION_MINOR
|
||||
'.', COMPILER_VERSION_MINOR,
|
||||
# ifdef COMPILER_VERSION_PATCH
|
||||
'.', COMPILER_VERSION_PATCH,
|
||||
# ifdef COMPILER_VERSION_TWEAK
|
||||
'.', COMPILER_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
char const info_simulate_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
||||
SIMULATE_VERSION_MAJOR,
|
||||
# ifdef SIMULATE_VERSION_MINOR
|
||||
'.', SIMULATE_VERSION_MINOR,
|
||||
# ifdef SIMULATE_VERSION_PATCH
|
||||
'.', SIMULATE_VERSION_PATCH,
|
||||
# ifdef SIMULATE_VERSION_TWEAK
|
||||
'.', SIMULATE_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
||||
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
||||
|
||||
|
||||
|
||||
|
||||
#if !defined(__STDC__)
|
||||
# if defined(_MSC_VER) && !defined(__clang__)
|
||||
# define C_DIALECT "90"
|
||||
# else
|
||||
# define C_DIALECT
|
||||
# endif
|
||||
#elif __STDC_VERSION__ >= 201000L
|
||||
# define C_DIALECT "11"
|
||||
#elif __STDC_VERSION__ >= 199901L
|
||||
# define C_DIALECT "99"
|
||||
#else
|
||||
# define C_DIALECT "90"
|
||||
#endif
|
||||
const char* info_language_dialect_default =
|
||||
"INFO" ":" "dialect_default[" C_DIALECT "]";
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
#ifdef ID_VOID_MAIN
|
||||
void main() {}
|
||||
#else
|
||||
# if defined(__CLASSIC_C__)
|
||||
int main(argc, argv) int argc; char *argv[];
|
||||
# else
|
||||
int main(int argc, char* argv[])
|
||||
# endif
|
||||
{
|
||||
int require = 0;
|
||||
require += info_compiler[argc];
|
||||
require += info_platform[argc];
|
||||
require += info_arch[argc];
|
||||
#ifdef COMPILER_VERSION_MAJOR
|
||||
require += info_version[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_ID
|
||||
require += info_simulate[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
require += info_simulate_version[argc];
|
||||
#endif
|
||||
#if defined(__CRAYXE) || defined(__CRAYXC)
|
||||
require += info_cray[argc];
|
||||
#endif
|
||||
require += info_language_dialect_default[argc];
|
||||
(void)argv;
|
||||
return require;
|
||||
}
|
||||
#endif
|
BIN
tests/cmocka-1.1.0/build/CMakeFiles/3.7.2/CompilerIdC/a.out
Executable file
BIN
tests/cmocka-1.1.0/build/CMakeFiles/3.7.2/CompilerIdC/a.out
Executable file
Binary file not shown.
@ -0,0 +1,16 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
# Relative path conversion top directories.
|
||||
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/anton/programs/libfort/tests/cmocka-1.1.0")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/anton/programs/libfort/tests/cmocka-1.1.0/build")
|
||||
|
||||
# Force unix paths in dependencies.
|
||||
set(CMAKE_FORCE_UNIX_PATHS 1)
|
||||
|
||||
|
||||
# The C and CXX include file regular expressions for this directory.
|
||||
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
19
tests/cmocka-1.1.0/build/CMakeFiles/CMakeError.log
Normal file
19
tests/cmocka-1.1.0/build/CMakeFiles/CMakeError.log
Normal file
@ -0,0 +1,19 @@
|
||||
Determining if the include file io.h exists failed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_2bb09/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_2bb09.dir/build.make CMakeFiles/cmTC_2bb09.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_2bb09.dir/CheckIncludeFile.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cmTC_2bb09.dir/CheckIncludeFile.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:16: fatal error: io.h: No such file or directory
|
||||
#include <io.h>
|
||||
^
|
||||
compilation terminated.
|
||||
CMakeFiles/cmTC_2bb09.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_2bb09.dir/CheckIncludeFile.c.o' failed
|
||||
make[1]: *** [CMakeFiles/cmTC_2bb09.dir/CheckIncludeFile.c.o] Error 1
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Makefile:126: recipe for target 'cmTC_2bb09/fast' failed
|
||||
make: *** [cmTC_2bb09/fast] Error 2
|
||||
|
||||
|
891
tests/cmocka-1.1.0/build/CMakeFiles/CMakeOutput.log
Normal file
891
tests/cmocka-1.1.0/build/CMakeFiles/CMakeOutput.log
Normal file
@ -0,0 +1,891 @@
|
||||
The system is: Linux - 4.10.0-42-generic - x86_64
|
||||
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
|
||||
Compiler: /usr/bin/cc
|
||||
Build flags:
|
||||
Id flags:
|
||||
|
||||
The output was:
|
||||
0
|
||||
|
||||
|
||||
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
|
||||
|
||||
The C compiler identification is GNU, found in "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/3.7.2/CompilerIdC/a.out"
|
||||
|
||||
Determining if the C compiler works passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_37184/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_37184.dir/build.make CMakeFiles/cmTC_37184.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_37184.dir/testCCompiler.c.o
|
||||
/usr/bin/cc -o CMakeFiles/cmTC_37184.dir/testCCompiler.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/testCCompiler.c
|
||||
Linking C executable cmTC_37184
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_37184.dir/link.txt --verbose=1
|
||||
/usr/bin/cc CMakeFiles/cmTC_37184.dir/testCCompiler.c.o -o cmTC_37184 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Detecting C compiler ABI info compiled with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_2356d/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_2356d.dir/build.make CMakeFiles/cmTC_2356d.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_2356d.dir/CMakeCCompilerABI.c.o
|
||||
/usr/bin/cc -o CMakeFiles/cmTC_2356d.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.7/Modules/CMakeCCompilerABI.c
|
||||
Linking C executable cmTC_2356d
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2356d.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -v CMakeFiles/cmTC_2356d.dir/CMakeCCompilerABI.c.o -o cmTC_2356d -rdynamic
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/usr/bin/cc
|
||||
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
|
||||
Target: x86_64-linux-gnu
|
||||
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 6.3.0-12ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
||||
Thread model: posix
|
||||
gcc version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2)
|
||||
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/6/:/usr/lib/gcc/x86_64-linux-gnu/6/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/6/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/6/:/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/6/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/6/../../../:/lib/:/usr/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_2356d' '-rdynamic' '-mtune=generic' '-march=x86-64'
|
||||
/usr/lib/gcc/x86_64-linux-gnu/6/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/6/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper -plugin-opt=-fresolution=/tmp/ccjoVrpq.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_2356d /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/6/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/6 -L/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/6/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/6/../../.. CMakeFiles/cmTC_2356d.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/6/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/crtn.o
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_2356d' '-rdynamic' '-mtune=generic' '-march=x86-64'
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Parsed C implicit link information from above output:
|
||||
link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
||||
ignore line: [Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp]
|
||||
ignore line: []
|
||||
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_2356d/fast"]
|
||||
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_2356d.dir/build.make CMakeFiles/cmTC_2356d.dir/build]
|
||||
ignore line: [make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp']
|
||||
ignore line: [Building C object CMakeFiles/cmTC_2356d.dir/CMakeCCompilerABI.c.o]
|
||||
ignore line: [/usr/bin/cc -o CMakeFiles/cmTC_2356d.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.7/Modules/CMakeCCompilerABI.c]
|
||||
ignore line: [Linking C executable cmTC_2356d]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2356d.dir/link.txt --verbose=1]
|
||||
ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_2356d.dir/CMakeCCompilerABI.c.o -o cmTC_2356d -rdynamic ]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/usr/bin/cc]
|
||||
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper]
|
||||
ignore line: [Target: x86_64-linux-gnu]
|
||||
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 6.3.0-12ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
|
||||
ignore line: [Thread model: posix]
|
||||
ignore line: [gcc version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2) ]
|
||||
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/6/:/usr/lib/gcc/x86_64-linux-gnu/6/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/6/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/6/:/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/6/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/6/../../../:/lib/:/usr/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_2356d' '-rdynamic' '-mtune=generic' '-march=x86-64']
|
||||
link line: [ /usr/lib/gcc/x86_64-linux-gnu/6/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/6/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper -plugin-opt=-fresolution=/tmp/ccjoVrpq.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_2356d /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/6/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/6 -L/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/6/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/6/../../.. CMakeFiles/cmTC_2356d.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/6/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/crtn.o]
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/6/collect2] ==> ignore
|
||||
arg [-plugin] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/6/liblto_plugin.so] ==> ignore
|
||||
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/ccjoVrpq.res] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||
arg [--sysroot=/] ==> ignore
|
||||
arg [--build-id] ==> ignore
|
||||
arg [--eh-frame-hdr] ==> ignore
|
||||
arg [-m] ==> ignore
|
||||
arg [elf_x86_64] ==> ignore
|
||||
arg [--hash-style=gnu] ==> ignore
|
||||
arg [--as-needed] ==> ignore
|
||||
arg [-export-dynamic] ==> ignore
|
||||
arg [-dynamic-linker] ==> ignore
|
||||
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
||||
arg [-pie] ==> ignore
|
||||
arg [-znow] ==> ignore
|
||||
arg [-zrelro] ==> ignore
|
||||
arg [-o] ==> ignore
|
||||
arg [cmTC_2356d] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/Scrt1.o] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/crti.o] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/6/crtbeginS.o] ==> ignore
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/6] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/6]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/6/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/6/../../../../lib]
|
||||
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
|
||||
arg [-L/lib/../lib] ==> dir [/lib/../lib]
|
||||
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
||||
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/6/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/6/../../..]
|
||||
arg [CMakeFiles/cmTC_2356d.dir/CMakeCCompilerABI.c.o] ==> ignore
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [--as-needed] ==> ignore
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
arg [--no-as-needed] ==> ignore
|
||||
arg [-lc] ==> lib [c]
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [--as-needed] ==> ignore
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
arg [--no-as-needed] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/6/crtendS.o] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/crtn.o] ==> ignore
|
||||
remove lib [gcc]
|
||||
remove lib [gcc_s]
|
||||
remove lib [gcc]
|
||||
remove lib [gcc_s]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/6] ==> [/usr/lib/gcc/x86_64-linux-gnu/6]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/6/../../../../lib] ==> [/usr/lib]
|
||||
collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/lib/../lib] ==> [/lib]
|
||||
collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/6/../../..] ==> [/usr/lib]
|
||||
implicit libs: [c]
|
||||
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/6;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
|
||||
implicit fwks: []
|
||||
|
||||
|
||||
|
||||
|
||||
Detecting C [-std=c11] compiler features compiled with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_cbb1f/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_cbb1f.dir/build.make CMakeFiles/cmTC_cbb1f.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_cbb1f.dir/feature_tests.c.o
|
||||
/usr/bin/cc -std=c11 -o CMakeFiles/cmTC_cbb1f.dir/feature_tests.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/feature_tests.c
|
||||
Linking C executable cmTC_cbb1f
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cbb1f.dir/link.txt --verbose=1
|
||||
/usr/bin/cc CMakeFiles/cmTC_cbb1f.dir/feature_tests.c.o -o cmTC_cbb1f -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Feature record: C_FEATURE:1c_function_prototypes
|
||||
Feature record: C_FEATURE:1c_restrict
|
||||
Feature record: C_FEATURE:1c_static_assert
|
||||
Feature record: C_FEATURE:1c_variadic_macros
|
||||
|
||||
|
||||
Detecting C [-std=c99] compiler features compiled with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_7f241/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_7f241.dir/build.make CMakeFiles/cmTC_7f241.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_7f241.dir/feature_tests.c.o
|
||||
/usr/bin/cc -std=c99 -o CMakeFiles/cmTC_7f241.dir/feature_tests.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/feature_tests.c
|
||||
Linking C executable cmTC_7f241
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7f241.dir/link.txt --verbose=1
|
||||
/usr/bin/cc CMakeFiles/cmTC_7f241.dir/feature_tests.c.o -o cmTC_7f241 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Feature record: C_FEATURE:1c_function_prototypes
|
||||
Feature record: C_FEATURE:1c_restrict
|
||||
Feature record: C_FEATURE:0c_static_assert
|
||||
Feature record: C_FEATURE:1c_variadic_macros
|
||||
|
||||
|
||||
Detecting C [-std=c90] compiler features compiled with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_c8a4e/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_c8a4e.dir/build.make CMakeFiles/cmTC_c8a4e.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_c8a4e.dir/feature_tests.c.o
|
||||
/usr/bin/cc -std=c90 -o CMakeFiles/cmTC_c8a4e.dir/feature_tests.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/feature_tests.c
|
||||
Linking C executable cmTC_c8a4e
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c8a4e.dir/link.txt --verbose=1
|
||||
/usr/bin/cc CMakeFiles/cmTC_c8a4e.dir/feature_tests.c.o -o cmTC_c8a4e -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Feature record: C_FEATURE:1c_function_prototypes
|
||||
Feature record: C_FEATURE:0c_restrict
|
||||
Feature record: C_FEATURE:0c_static_assert
|
||||
Feature record: C_FEATURE:0c_variadic_macros
|
||||
Performing C SOURCE FILE Test WITH_FPIC succeeded with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_55b38/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_55b38.dir/build.make CMakeFiles/cmTC_55b38.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_55b38.dir/src.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -DWITH_FPIC -fPIC -o CMakeFiles/cmTC_55b38.dir/src.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/src.c
|
||||
Linking C executable cmTC_55b38
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_55b38.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -DWITH_FPIC CMakeFiles/cmTC_55b38.dir/src.c.o -o cmTC_55b38 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
Source file was:
|
||||
int main(void) { return 0; }
|
||||
Performing C SOURCE FILE Test WITH_STACK_PROTECTOR succeeded with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_afd93/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_afd93.dir/build.make CMakeFiles/cmTC_afd93.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_afd93.dir/src.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -DWITH_STACK_PROTECTOR -fstack-protector -o CMakeFiles/cmTC_afd93.dir/src.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/src.c
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/src.c: In function ‘main’:
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/src.c:1:27: warning: unused parameter ‘argv’ [-Wunused-parameter]
|
||||
int main(int argc, char **argv) { char buffer[256]; return buffer[argc]=0;}
|
||||
^~~~
|
||||
Linking C executable cmTC_afd93
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_afd93.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -DWITH_STACK_PROTECTOR CMakeFiles/cmTC_afd93.dir/src.c.o -o cmTC_afd93 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
Source file was:
|
||||
int main(int argc, char **argv) { char buffer[256]; return buffer[argc]=0;}
|
||||
Performing C SOURCE FILE Test WITH_VISIBILITY_HIDDEN succeeded with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_dd710/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_dd710.dir/build.make CMakeFiles/cmTC_dd710.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_dd710.dir/src.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DWITH_VISIBILITY_HIDDEN -fvisibility=hidden -o CMakeFiles/cmTC_dd710.dir/src.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/src.c
|
||||
Linking C executable cmTC_dd710
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_dd710.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DWITH_VISIBILITY_HIDDEN CMakeFiles/cmTC_dd710.dir/src.c.o -o cmTC_dd710 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
Source file was:
|
||||
int main(void) { return 0; }
|
||||
Determining if the include file assert.h exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_8e8c2/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_8e8c2.dir/build.make CMakeFiles/cmTC_8e8c2.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_8e8c2.dir/CheckIncludeFile.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cmTC_8e8c2.dir/CheckIncludeFile.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
|
||||
Linking C executable cmTC_8e8c2
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8e8c2.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/cmTC_8e8c2.dir/CheckIncludeFile.c.o -o cmTC_8e8c2 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the include file inttypes.h exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_871ae/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_871ae.dir/build.make CMakeFiles/cmTC_871ae.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_871ae.dir/CheckIncludeFile.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cmTC_871ae.dir/CheckIncludeFile.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
|
||||
Linking C executable cmTC_871ae
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_871ae.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/cmTC_871ae.dir/CheckIncludeFile.c.o -o cmTC_871ae -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the include file malloc.h exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_df4fe/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_df4fe.dir/build.make CMakeFiles/cmTC_df4fe.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_df4fe.dir/CheckIncludeFile.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cmTC_df4fe.dir/CheckIncludeFile.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
|
||||
Linking C executable cmTC_df4fe
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_df4fe.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/cmTC_df4fe.dir/CheckIncludeFile.c.o -o cmTC_df4fe -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the include file memory.h exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_07846/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_07846.dir/build.make CMakeFiles/cmTC_07846.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_07846.dir/CheckIncludeFile.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cmTC_07846.dir/CheckIncludeFile.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
|
||||
Linking C executable cmTC_07846
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_07846.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/cmTC_07846.dir/CheckIncludeFile.c.o -o cmTC_07846 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the include file setjmp.h exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_3b114/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_3b114.dir/build.make CMakeFiles/cmTC_3b114.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_3b114.dir/CheckIncludeFile.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cmTC_3b114.dir/CheckIncludeFile.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
|
||||
Linking C executable cmTC_3b114
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3b114.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/cmTC_3b114.dir/CheckIncludeFile.c.o -o cmTC_3b114 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the include file signal.h exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_43a38/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_43a38.dir/build.make CMakeFiles/cmTC_43a38.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_43a38.dir/CheckIncludeFile.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cmTC_43a38.dir/CheckIncludeFile.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
|
||||
Linking C executable cmTC_43a38
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_43a38.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/cmTC_43a38.dir/CheckIncludeFile.c.o -o cmTC_43a38 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the include file stdarg.h exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_50216/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_50216.dir/build.make CMakeFiles/cmTC_50216.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_50216.dir/CheckIncludeFile.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cmTC_50216.dir/CheckIncludeFile.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
|
||||
Linking C executable cmTC_50216
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_50216.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/cmTC_50216.dir/CheckIncludeFile.c.o -o cmTC_50216 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the include file stddef.h exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_ffbc2/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_ffbc2.dir/build.make CMakeFiles/cmTC_ffbc2.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_ffbc2.dir/CheckIncludeFile.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cmTC_ffbc2.dir/CheckIncludeFile.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
|
||||
Linking C executable cmTC_ffbc2
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ffbc2.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/cmTC_ffbc2.dir/CheckIncludeFile.c.o -o cmTC_ffbc2 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the include file stdint.h exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_72e6b/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_72e6b.dir/build.make CMakeFiles/cmTC_72e6b.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_72e6b.dir/CheckIncludeFile.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cmTC_72e6b.dir/CheckIncludeFile.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
|
||||
Linking C executable cmTC_72e6b
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_72e6b.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/cmTC_72e6b.dir/CheckIncludeFile.c.o -o cmTC_72e6b -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the include file stdio.h exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_3f583/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_3f583.dir/build.make CMakeFiles/cmTC_3f583.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_3f583.dir/CheckIncludeFile.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cmTC_3f583.dir/CheckIncludeFile.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
|
||||
Linking C executable cmTC_3f583
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3f583.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/cmTC_3f583.dir/CheckIncludeFile.c.o -o cmTC_3f583 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the include file stdlib.h exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_6f2d2/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_6f2d2.dir/build.make CMakeFiles/cmTC_6f2d2.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_6f2d2.dir/CheckIncludeFile.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cmTC_6f2d2.dir/CheckIncludeFile.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
|
||||
Linking C executable cmTC_6f2d2
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6f2d2.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/cmTC_6f2d2.dir/CheckIncludeFile.c.o -o cmTC_6f2d2 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the include file string.h exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_ceb09/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_ceb09.dir/build.make CMakeFiles/cmTC_ceb09.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_ceb09.dir/CheckIncludeFile.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cmTC_ceb09.dir/CheckIncludeFile.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
|
||||
Linking C executable cmTC_ceb09
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ceb09.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/cmTC_ceb09.dir/CheckIncludeFile.c.o -o cmTC_ceb09 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the include file strings.h exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_10b38/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_10b38.dir/build.make CMakeFiles/cmTC_10b38.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_10b38.dir/CheckIncludeFile.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cmTC_10b38.dir/CheckIncludeFile.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
|
||||
Linking C executable cmTC_10b38
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_10b38.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/cmTC_10b38.dir/CheckIncludeFile.c.o -o cmTC_10b38 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the include file sys/stat.h exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_c9b40/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_c9b40.dir/build.make CMakeFiles/cmTC_c9b40.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_c9b40.dir/CheckIncludeFile.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cmTC_c9b40.dir/CheckIncludeFile.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
|
||||
Linking C executable cmTC_c9b40
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c9b40.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/cmTC_c9b40.dir/CheckIncludeFile.c.o -o cmTC_c9b40 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the include file sys/types.h exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_38dbe/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_38dbe.dir/build.make CMakeFiles/cmTC_38dbe.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_38dbe.dir/CheckIncludeFile.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cmTC_38dbe.dir/CheckIncludeFile.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
|
||||
Linking C executable cmTC_38dbe
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_38dbe.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/cmTC_38dbe.dir/CheckIncludeFile.c.o -o cmTC_38dbe -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the include file time.h exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_0cfb4/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_0cfb4.dir/build.make CMakeFiles/cmTC_0cfb4.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_0cfb4.dir/CheckIncludeFile.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cmTC_0cfb4.dir/CheckIncludeFile.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
|
||||
Linking C executable cmTC_0cfb4
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0cfb4.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/cmTC_0cfb4.dir/CheckIncludeFile.c.o -o cmTC_0cfb4 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the include file unistd.h exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_9a732/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_9a732.dir/build.make CMakeFiles/cmTC_9a732.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_9a732.dir/CheckIncludeFile.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cmTC_9a732.dir/CheckIncludeFile.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
|
||||
Linking C executable cmTC_9a732
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9a732.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/cmTC_9a732.dir/CheckIncludeFile.c.o -o cmTC_9a732 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Performing C SOURCE FILE Test HAVE_STRUCT_TIMESPEC succeeded with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_b9f45/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_b9f45.dir/build.make CMakeFiles/cmTC_b9f45.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_b9f45.dir/src.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DHAVE_STRUCT_TIMESPEC -o CMakeFiles/cmTC_b9f45.dir/src.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/src.c
|
||||
Linking C executable cmTC_b9f45
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b9f45.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DHAVE_STRUCT_TIMESPEC CMakeFiles/cmTC_b9f45.dir/src.c.o -o cmTC_b9f45 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
Source file was:
|
||||
|
||||
#include <time.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
(void)sizeof(((struct timespec *)0)->tv_sec);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Determining if the function calloc exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_23e2e/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_23e2e.dir/build.make CMakeFiles/cmTC_23e2e.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_23e2e.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=calloc -o CMakeFiles/cmTC_23e2e.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c
|
||||
<command-line>:0:23: warning: conflicting types for built-in function ‘calloc’
|
||||
/usr/share/cmake-3.7/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’
|
||||
CHECK_FUNCTION_EXISTS();
|
||||
^~~~~~~~~~~~~~~~~~~~~
|
||||
Linking C executable cmTC_23e2e
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_23e2e.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=calloc CMakeFiles/cmTC_23e2e.dir/CheckFunctionExists.c.o -o cmTC_23e2e -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the function exit exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_efdb7/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_efdb7.dir/build.make CMakeFiles/cmTC_efdb7.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_efdb7.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=exit -o CMakeFiles/cmTC_efdb7.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c
|
||||
<command-line>:0:23: warning: conflicting types for built-in function ‘exit’
|
||||
/usr/share/cmake-3.7/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’
|
||||
CHECK_FUNCTION_EXISTS();
|
||||
^~~~~~~~~~~~~~~~~~~~~
|
||||
Linking C executable cmTC_efdb7
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_efdb7.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=exit CMakeFiles/cmTC_efdb7.dir/CheckFunctionExists.c.o -o cmTC_efdb7 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the function fprintf exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_3f800/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_3f800.dir/build.make CMakeFiles/cmTC_3f800.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_3f800.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=fprintf -o CMakeFiles/cmTC_3f800.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c
|
||||
<command-line>:0:23: warning: conflicting types for built-in function ‘fprintf’
|
||||
/usr/share/cmake-3.7/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’
|
||||
CHECK_FUNCTION_EXISTS();
|
||||
^~~~~~~~~~~~~~~~~~~~~
|
||||
Linking C executable cmTC_3f800
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3f800.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=fprintf CMakeFiles/cmTC_3f800.dir/CheckFunctionExists.c.o -o cmTC_3f800 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the function free exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_ca18c/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_ca18c.dir/build.make CMakeFiles/cmTC_ca18c.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_ca18c.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=free -o CMakeFiles/cmTC_ca18c.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c
|
||||
<command-line>:0:23: warning: conflicting types for built-in function ‘free’
|
||||
/usr/share/cmake-3.7/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’
|
||||
CHECK_FUNCTION_EXISTS();
|
||||
^~~~~~~~~~~~~~~~~~~~~
|
||||
Linking C executable cmTC_ca18c
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ca18c.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=free CMakeFiles/cmTC_ca18c.dir/CheckFunctionExists.c.o -o cmTC_ca18c -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the function longjmp exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_6ac97/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_6ac97.dir/build.make CMakeFiles/cmTC_6ac97.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_6ac97.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=longjmp -o CMakeFiles/cmTC_6ac97.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c
|
||||
Linking C executable cmTC_6ac97
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6ac97.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=longjmp CMakeFiles/cmTC_6ac97.dir/CheckFunctionExists.c.o -o cmTC_6ac97 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the function siglongjmp exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_f51d1/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_f51d1.dir/build.make CMakeFiles/cmTC_f51d1.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_f51d1.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=siglongjmp -o CMakeFiles/cmTC_f51d1.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c
|
||||
Linking C executable cmTC_f51d1
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f51d1.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=siglongjmp CMakeFiles/cmTC_f51d1.dir/CheckFunctionExists.c.o -o cmTC_f51d1 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the function malloc exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_a74bd/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_a74bd.dir/build.make CMakeFiles/cmTC_a74bd.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_a74bd.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=malloc -o CMakeFiles/cmTC_a74bd.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c
|
||||
<command-line>:0:23: warning: conflicting types for built-in function ‘malloc’
|
||||
/usr/share/cmake-3.7/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’
|
||||
CHECK_FUNCTION_EXISTS();
|
||||
^~~~~~~~~~~~~~~~~~~~~
|
||||
Linking C executable cmTC_a74bd
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a74bd.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=malloc CMakeFiles/cmTC_a74bd.dir/CheckFunctionExists.c.o -o cmTC_a74bd -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the function memcpy exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_905ca/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_905ca.dir/build.make CMakeFiles/cmTC_905ca.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_905ca.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=memcpy -o CMakeFiles/cmTC_905ca.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c
|
||||
<command-line>:0:23: warning: conflicting types for built-in function ‘memcpy’
|
||||
/usr/share/cmake-3.7/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’
|
||||
CHECK_FUNCTION_EXISTS();
|
||||
^~~~~~~~~~~~~~~~~~~~~
|
||||
Linking C executable cmTC_905ca
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_905ca.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=memcpy CMakeFiles/cmTC_905ca.dir/CheckFunctionExists.c.o -o cmTC_905ca -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the function memset exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_82c8a/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_82c8a.dir/build.make CMakeFiles/cmTC_82c8a.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_82c8a.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=memset -o CMakeFiles/cmTC_82c8a.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c
|
||||
<command-line>:0:23: warning: conflicting types for built-in function ‘memset’
|
||||
/usr/share/cmake-3.7/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’
|
||||
CHECK_FUNCTION_EXISTS();
|
||||
^~~~~~~~~~~~~~~~~~~~~
|
||||
Linking C executable cmTC_82c8a
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_82c8a.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=memset CMakeFiles/cmTC_82c8a.dir/CheckFunctionExists.c.o -o cmTC_82c8a -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the function printf exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_bda81/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_bda81.dir/build.make CMakeFiles/cmTC_bda81.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_bda81.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=printf -o CMakeFiles/cmTC_bda81.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c
|
||||
<command-line>:0:23: warning: conflicting types for built-in function ‘printf’
|
||||
/usr/share/cmake-3.7/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’
|
||||
CHECK_FUNCTION_EXISTS();
|
||||
^~~~~~~~~~~~~~~~~~~~~
|
||||
Linking C executable cmTC_bda81
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bda81.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=printf CMakeFiles/cmTC_bda81.dir/CheckFunctionExists.c.o -o cmTC_bda81 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the function setjmp exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_bc50f/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_bc50f.dir/build.make CMakeFiles/cmTC_bc50f.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_bc50f.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=setjmp -o CMakeFiles/cmTC_bc50f.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c
|
||||
Linking C executable cmTC_bc50f
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bc50f.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=setjmp CMakeFiles/cmTC_bc50f.dir/CheckFunctionExists.c.o -o cmTC_bc50f -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the function signal exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_07761/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_07761.dir/build.make CMakeFiles/cmTC_07761.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_07761.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=signal -o CMakeFiles/cmTC_07761.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c
|
||||
Linking C executable cmTC_07761
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_07761.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=signal CMakeFiles/cmTC_07761.dir/CheckFunctionExists.c.o -o cmTC_07761 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the function strsignal exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_64c26/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_64c26.dir/build.make CMakeFiles/cmTC_64c26.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_64c26.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=strsignal -o CMakeFiles/cmTC_64c26.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c
|
||||
Linking C executable cmTC_64c26
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_64c26.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=strsignal CMakeFiles/cmTC_64c26.dir/CheckFunctionExists.c.o -o cmTC_64c26 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the function strcmp exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_9b089/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_9b089.dir/build.make CMakeFiles/cmTC_9b089.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_9b089.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=strcmp -o CMakeFiles/cmTC_9b089.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c
|
||||
<command-line>:0:23: warning: conflicting types for built-in function ‘strcmp’
|
||||
/usr/share/cmake-3.7/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’
|
||||
CHECK_FUNCTION_EXISTS();
|
||||
^~~~~~~~~~~~~~~~~~~~~
|
||||
Linking C executable cmTC_9b089
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9b089.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=strcmp CMakeFiles/cmTC_9b089.dir/CheckFunctionExists.c.o -o cmTC_9b089 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the function clock_gettime exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_40837/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_40837.dir/build.make CMakeFiles/cmTC_40837.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_40837.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=clock_gettime -o CMakeFiles/cmTC_40837.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c
|
||||
Linking C executable cmTC_40837
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_40837.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=clock_gettime CMakeFiles/cmTC_40837.dir/CheckFunctionExists.c.o -o cmTC_40837 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the function sprintf exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_0b030/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_0b030.dir/build.make CMakeFiles/cmTC_0b030.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_0b030.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=sprintf -o CMakeFiles/cmTC_0b030.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c
|
||||
<command-line>:0:23: warning: conflicting types for built-in function ‘sprintf’
|
||||
/usr/share/cmake-3.7/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’
|
||||
CHECK_FUNCTION_EXISTS();
|
||||
^~~~~~~~~~~~~~~~~~~~~
|
||||
Linking C executable cmTC_0b030
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0b030.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=sprintf CMakeFiles/cmTC_0b030.dir/CheckFunctionExists.c.o -o cmTC_0b030 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the function vsnprintf exists passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_12874/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_12874.dir/build.make CMakeFiles/cmTC_12874.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_12874.dir/CheckFunctionExists.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=vsnprintf -o CMakeFiles/cmTC_12874.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c
|
||||
<command-line>:0:23: warning: conflicting types for built-in function ‘vsnprintf’
|
||||
/usr/share/cmake-3.7/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’
|
||||
CHECK_FUNCTION_EXISTS();
|
||||
^~~~~~~~~~~~~~~~~~~~~
|
||||
Linking C executable cmTC_12874
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_12874.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DCHECK_FUNCTION_EXISTS=vsnprintf CMakeFiles/cmTC_12874.dir/CheckFunctionExists.c.o -o cmTC_12874 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Performing C SOURCE FILE Test HAVE_GCC_THREAD_LOCAL_STORAGE succeeded with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_82e48/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_82e48.dir/build.make CMakeFiles/cmTC_82e48.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_82e48.dir/src.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DHAVE_GCC_THREAD_LOCAL_STORAGE -o CMakeFiles/cmTC_82e48.dir/src.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/src.c
|
||||
Linking C executable cmTC_82e48
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_82e48.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DHAVE_GCC_THREAD_LOCAL_STORAGE CMakeFiles/cmTC_82e48.dir/src.c.o -o cmTC_82e48 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
Source file was:
|
||||
|
||||
__thread int tls;
|
||||
|
||||
int main(void) {
|
||||
return 0;
|
||||
}
|
||||
Performing C SOURCE FILE Test HAVE_CLOCK_GETTIME_REALTIME succeeded with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_00495/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_00495.dir/build.make CMakeFiles/cmTC_00495.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_00495.dir/src.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DHAVE_CLOCK_GETTIME_REALTIME -o CMakeFiles/cmTC_00495.dir/src.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/src.c
|
||||
Linking C executable cmTC_00495
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_00495.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DHAVE_CLOCK_GETTIME_REALTIME CMakeFiles/cmTC_00495.dir/src.c.o -o cmTC_00495 -rdynamic /usr/lib/x86_64-linux-gnu/librt.so
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
Source file was:
|
||||
|
||||
#include <time.h>
|
||||
|
||||
int main(void) {
|
||||
struct timespec ts;
|
||||
|
||||
clock_gettime(CLOCK_REALTIME, &ts);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Determining size of unsigned short passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_6d621/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_6d621.dir/build.make CMakeFiles/cmTC_6d621.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_6d621.dir/CMAKE_SIZEOF_UNSIGNED_SHORT.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cmTC_6d621.dir/CMAKE_SIZEOF_UNSIGNED_SHORT.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.c
|
||||
Linking C executable cmTC_6d621
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6d621.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/cmTC_6d621.dir/CMAKE_SIZEOF_UNSIGNED_SHORT.c.o -o cmTC_6d621 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
Determining if the system is big endian passed with the following output:
|
||||
Change Dir: /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command:"/usr/bin/make" "cmTC_ee632/fast"
|
||||
/usr/bin/make -f CMakeFiles/cmTC_ee632.dir/build.make CMakeFiles/cmTC_ee632.dir/build
|
||||
make[1]: Entering directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_ee632.dir/TestEndianess.c.o
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/cmTC_ee632.dir/TestEndianess.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp/TestEndianess.c
|
||||
Linking C executable cmTC_ee632
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ee632.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/cmTC_ee632.dir/TestEndianess.c.o -o cmTC_ee632 -rdynamic
|
||||
make[1]: Leaving directory '/mnt/dev_0/home/anton1987/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
TestEndianess.c:
|
||||
/* A 16 bit integer is required. */
|
||||
typedef unsigned short cmakeint16;
|
||||
|
||||
/* On a little endian machine, these 16bit ints will give "THIS IS LITTLE ENDIAN."
|
||||
On a big endian machine the characters will be exchanged pairwise. */
|
||||
const cmakeint16 info_little[] = {0x4854, 0x5349, 0x4920, 0x2053, 0x494c, 0x5454, 0x454c, 0x4520, 0x444e, 0x4149, 0x2e4e, 0x0000};
|
||||
|
||||
/* on a big endian machine, these 16bit ints will give "THIS IS BIG ENDIAN."
|
||||
On a little endian machine the characters will be exchanged pairwise. */
|
||||
const cmakeint16 info_big[] = {0x5448, 0x4953, 0x2049, 0x5320, 0x4249, 0x4720, 0x454e, 0x4449, 0x414e, 0x2e2e, 0x0000};
|
||||
|
||||
#ifdef __CLASSIC_C__
|
||||
int main(argc, argv) int argc; char *argv[];
|
||||
#else
|
||||
int main(int argc, char *argv[])
|
||||
#endif
|
||||
{
|
||||
int require = 0;
|
||||
require += info_little[argc];
|
||||
require += info_big[argc];
|
||||
(void)argv;
|
||||
return require;
|
||||
}
|
||||
|
||||
|
Binary file not shown.
@ -0,0 +1,40 @@
|
||||
#include <sys/types.h>
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
|
||||
#undef KEY
|
||||
#if defined(__i386)
|
||||
# define KEY '_','_','i','3','8','6'
|
||||
#elif defined(__x86_64)
|
||||
# define KEY '_','_','x','8','6','_','6','4'
|
||||
#elif defined(__ppc__)
|
||||
# define KEY '_','_','p','p','c','_','_'
|
||||
#elif defined(__ppc64__)
|
||||
# define KEY '_','_','p','p','c','6','4','_','_'
|
||||
#endif
|
||||
|
||||
#define SIZE (sizeof(unsigned short))
|
||||
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
|
||||
('0' + ((SIZE / 10000)%10)),
|
||||
('0' + ((SIZE / 1000)%10)),
|
||||
('0' + ((SIZE / 100)%10)),
|
||||
('0' + ((SIZE / 10)%10)),
|
||||
('0' + (SIZE % 10)),
|
||||
']',
|
||||
#ifdef KEY
|
||||
' ','k','e','y','[', KEY, ']',
|
||||
#endif
|
||||
'\0'};
|
||||
|
||||
#ifdef __CLASSIC_C__
|
||||
int main(argc, argv) int argc; char *argv[];
|
||||
#else
|
||||
int main(int argc, char *argv[])
|
||||
#endif
|
||||
{
|
||||
int require = 0;
|
||||
require += info_size[argc];
|
||||
(void)argv;
|
||||
return require;
|
||||
}
|
157
tests/cmocka-1.1.0/build/CMakeFiles/Makefile.cmake
Normal file
157
tests/cmocka-1.1.0/build/CMakeFiles/Makefile.cmake
Normal file
@ -0,0 +1,157 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
# The generator used is:
|
||||
set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
|
||||
|
||||
# The top level Makefile was generated from the following files:
|
||||
set(CMAKE_MAKEFILE_DEPENDS
|
||||
"CMakeCache.txt"
|
||||
"../CMakeLists.txt"
|
||||
"../CPackConfig.cmake"
|
||||
"../ConfigureChecks.cmake"
|
||||
"../DefineOptions.cmake"
|
||||
"CMakeFiles/3.7.2/CMakeCCompiler.cmake"
|
||||
"CMakeFiles/3.7.2/CMakeSystem.cmake"
|
||||
"CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.c"
|
||||
"CMakeFiles/feature_tests.c"
|
||||
"../cmake/Modules/CheckCCompilerFlagSSP.cmake"
|
||||
"../cmake/Modules/DefineCMakeDefaults.cmake"
|
||||
"../cmake/Modules/DefineCompilerFlags.cmake"
|
||||
"../cmake/Modules/DefineInstallationPaths.cmake"
|
||||
"../cmake/Modules/DefinePlatformDefaults.cmake"
|
||||
"../cmake/Modules/MacroEnsureOutOfSourceBuild.cmake"
|
||||
"../cmake/Modules/UseDoxygen.cmake"
|
||||
"../cmocka-config-version.cmake.in"
|
||||
"../cmocka-config.cmake.in"
|
||||
"../cmocka.pc.cmake"
|
||||
"../config.h.cmake"
|
||||
"../doc/CMakeLists.txt"
|
||||
"../example/CMakeLists.txt"
|
||||
"../example/chef_wrap/CMakeLists.txt"
|
||||
"../include/CMakeLists.txt"
|
||||
"../src/CMakeLists.txt"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeCCompiler.cmake.in"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeCCompilerABI.c"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeCInformation.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeCommonLanguageInclude.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeCompilerIdDetection.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeDetermineCCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeDetermineCompileFeatures.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeDetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeDetermineCompilerABI.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeDetermineCompilerId.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeDetermineSystem.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeFindBinUtils.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeGenericSystem.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeLanguageInformation.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeParseArguments.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeParseImplicitLinkInfo.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeSystem.cmake.in"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeSystemSpecificInformation.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeSystemSpecificInitialize.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeTestCCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeTestCompilerCommon.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CMakeUnixFindMake.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CPack.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CPackComponent.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CheckCCompilerFlag.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CheckCSourceCompiles.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CheckCXXSourceCompiles.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CheckFunctionExists.c"
|
||||
"/usr/share/cmake-3.7/Modules/CheckFunctionExists.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CheckIncludeFile.c.in"
|
||||
"/usr/share/cmake-3.7/Modules/CheckIncludeFile.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CheckIncludeFileCXX.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CheckLibraryExists.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CheckStructHasMember.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CheckSymbolExists.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/CheckTypeSize.c.in"
|
||||
"/usr/share/cmake-3.7/Modules/CheckTypeSize.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/ADSP-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/Borland-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/Bruce-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/Clang-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/Compaq-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/Cray-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/GHS-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/GNU-C-FeatureTests.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/GNU-C.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/GNU-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/GNU.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/HP-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/IAR-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/Intel-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/MIPSpro-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/MSVC-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/PGI-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/PathScale-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/SCO-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/SDCC-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/SunPro-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/TI-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/Watcom-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/XL-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Compiler/zOS-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/FindDoxygen.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/FindPackageMessage.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Internal/FeatureTesting.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Platform/Linux-GNU-C.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Platform/Linux-GNU.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Platform/Linux.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/Platform/UnixPaths.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/TestBigEndian.cmake"
|
||||
"/usr/share/cmake-3.7/Modules/TestEndianess.c.in"
|
||||
"/usr/share/cmake-3.7/Templates/CPackConfig.cmake.in"
|
||||
)
|
||||
|
||||
# The corresponding makefile is:
|
||||
set(CMAKE_MAKEFILE_OUTPUTS
|
||||
"Makefile"
|
||||
"CMakeFiles/cmake.check_cache"
|
||||
)
|
||||
|
||||
# Byproducts of CMake generate step:
|
||||
set(CMAKE_MAKEFILE_PRODUCTS
|
||||
"CMakeFiles/3.7.2/CMakeSystem.cmake"
|
||||
"CMakeFiles/3.7.2/CMakeCCompiler.cmake"
|
||||
"CMakeFiles/3.7.2/CMakeCCompiler.cmake"
|
||||
"CPackConfig.cmake"
|
||||
"CPackSourceConfig.cmake"
|
||||
"CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.c"
|
||||
"config.h"
|
||||
"cmocka.pc"
|
||||
"cmocka-config.cmake"
|
||||
"cmocka-config-version.cmake"
|
||||
"CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"doc/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"include/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"src/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"example/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
"example/chef_wrap/CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
)
|
||||
|
||||
# Dependency information for all targets:
|
||||
set(CMAKE_DEPEND_INFO_FILES
|
||||
"src/CMakeFiles/cmocka_shared.dir/DependInfo.cmake"
|
||||
"example/CMakeFiles/allocate_module_test.dir/DependInfo.cmake"
|
||||
"example/CMakeFiles/simple_test.dir/DependInfo.cmake"
|
||||
"example/CMakeFiles/key_value_test.dir/DependInfo.cmake"
|
||||
"example/CMakeFiles/calculator_test.dir/DependInfo.cmake"
|
||||
"example/CMakeFiles/assert_macro_test.dir/DependInfo.cmake"
|
||||
"example/CMakeFiles/assert_module_test.dir/DependInfo.cmake"
|
||||
"example/CMakeFiles/customer_database_test.dir/DependInfo.cmake"
|
||||
"example/CMakeFiles/product_database_test.dir/DependInfo.cmake"
|
||||
"example/chef_wrap/CMakeFiles/waiter_test_wrap.dir/DependInfo.cmake"
|
||||
)
|
547
tests/cmocka-1.1.0/build/CMakeFiles/Makefile2
Normal file
547
tests/cmocka-1.1.0/build/CMakeFiles/Makefile2
Normal file
@ -0,0 +1,547 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
|
||||
.PHONY : default_target
|
||||
|
||||
# The main recursive all target
|
||||
all:
|
||||
|
||||
.PHONY : all
|
||||
|
||||
# The main recursive preinstall target
|
||||
preinstall:
|
||||
|
||||
.PHONY : preinstall
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/anton/programs/libfort/tests/cmocka-1.1.0
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/anton/programs/libfort/tests/cmocka-1.1.0/build
|
||||
|
||||
#=============================================================================
|
||||
# Directory level rules for directory doc
|
||||
|
||||
# Convenience name for "all" pass in the directory.
|
||||
doc/all:
|
||||
|
||||
.PHONY : doc/all
|
||||
|
||||
# Convenience name for "clean" pass in the directory.
|
||||
doc/clean:
|
||||
|
||||
.PHONY : doc/clean
|
||||
|
||||
# Convenience name for "preinstall" pass in the directory.
|
||||
doc/preinstall:
|
||||
|
||||
.PHONY : doc/preinstall
|
||||
|
||||
#=============================================================================
|
||||
# Directory level rules for directory include
|
||||
|
||||
# Convenience name for "all" pass in the directory.
|
||||
include/all:
|
||||
|
||||
.PHONY : include/all
|
||||
|
||||
# Convenience name for "clean" pass in the directory.
|
||||
include/clean:
|
||||
|
||||
.PHONY : include/clean
|
||||
|
||||
# Convenience name for "preinstall" pass in the directory.
|
||||
include/preinstall:
|
||||
|
||||
.PHONY : include/preinstall
|
||||
|
||||
#=============================================================================
|
||||
# Directory level rules for directory src
|
||||
|
||||
# Convenience name for "all" pass in the directory.
|
||||
src/all: src/CMakeFiles/cmocka_shared.dir/all
|
||||
|
||||
.PHONY : src/all
|
||||
|
||||
# Convenience name for "clean" pass in the directory.
|
||||
src/clean: src/CMakeFiles/cmocka_shared.dir/clean
|
||||
|
||||
.PHONY : src/clean
|
||||
|
||||
# Convenience name for "preinstall" pass in the directory.
|
||||
src/preinstall:
|
||||
|
||||
.PHONY : src/preinstall
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target src/CMakeFiles/cmocka_shared.dir
|
||||
|
||||
# All Build rule for target.
|
||||
src/CMakeFiles/cmocka_shared.dir/all:
|
||||
$(MAKE) -f src/CMakeFiles/cmocka_shared.dir/build.make src/CMakeFiles/cmocka_shared.dir/depend
|
||||
$(MAKE) -f src/CMakeFiles/cmocka_shared.dir/build.make src/CMakeFiles/cmocka_shared.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=13,14 "Built target cmocka_shared"
|
||||
.PHONY : src/CMakeFiles/cmocka_shared.dir/all
|
||||
|
||||
# Include target in all.
|
||||
all: src/CMakeFiles/cmocka_shared.dir/all
|
||||
|
||||
.PHONY : all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
src/CMakeFiles/cmocka_shared.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles 2
|
||||
$(MAKE) -f CMakeFiles/Makefile2 src/CMakeFiles/cmocka_shared.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles 0
|
||||
.PHONY : src/CMakeFiles/cmocka_shared.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
cmocka_shared: src/CMakeFiles/cmocka_shared.dir/rule
|
||||
|
||||
.PHONY : cmocka_shared
|
||||
|
||||
# clean rule for target.
|
||||
src/CMakeFiles/cmocka_shared.dir/clean:
|
||||
$(MAKE) -f src/CMakeFiles/cmocka_shared.dir/build.make src/CMakeFiles/cmocka_shared.dir/clean
|
||||
.PHONY : src/CMakeFiles/cmocka_shared.dir/clean
|
||||
|
||||
# clean rule for target.
|
||||
clean: src/CMakeFiles/cmocka_shared.dir/clean
|
||||
|
||||
.PHONY : clean
|
||||
|
||||
#=============================================================================
|
||||
# Directory level rules for directory example
|
||||
|
||||
# Convenience name for "all" pass in the directory.
|
||||
example/all: example/CMakeFiles/allocate_module_test.dir/all
|
||||
example/all: example/CMakeFiles/simple_test.dir/all
|
||||
example/all: example/CMakeFiles/key_value_test.dir/all
|
||||
example/all: example/CMakeFiles/calculator_test.dir/all
|
||||
example/all: example/CMakeFiles/assert_macro_test.dir/all
|
||||
example/all: example/CMakeFiles/assert_module_test.dir/all
|
||||
example/all: example/CMakeFiles/customer_database_test.dir/all
|
||||
example/all: example/CMakeFiles/product_database_test.dir/all
|
||||
example/all: example/chef_wrap/all
|
||||
|
||||
.PHONY : example/all
|
||||
|
||||
# Convenience name for "clean" pass in the directory.
|
||||
example/clean: example/CMakeFiles/allocate_module_test.dir/clean
|
||||
example/clean: example/CMakeFiles/simple_test.dir/clean
|
||||
example/clean: example/CMakeFiles/key_value_test.dir/clean
|
||||
example/clean: example/CMakeFiles/calculator_test.dir/clean
|
||||
example/clean: example/CMakeFiles/assert_macro_test.dir/clean
|
||||
example/clean: example/CMakeFiles/assert_module_test.dir/clean
|
||||
example/clean: example/CMakeFiles/customer_database_test.dir/clean
|
||||
example/clean: example/CMakeFiles/product_database_test.dir/clean
|
||||
example/clean: example/chef_wrap/clean
|
||||
|
||||
.PHONY : example/clean
|
||||
|
||||
# Convenience name for "preinstall" pass in the directory.
|
||||
example/preinstall: example/chef_wrap/preinstall
|
||||
|
||||
.PHONY : example/preinstall
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target example/CMakeFiles/allocate_module_test.dir
|
||||
|
||||
# All Build rule for target.
|
||||
example/CMakeFiles/allocate_module_test.dir/all: src/CMakeFiles/cmocka_shared.dir/all
|
||||
$(MAKE) -f example/CMakeFiles/allocate_module_test.dir/build.make example/CMakeFiles/allocate_module_test.dir/depend
|
||||
$(MAKE) -f example/CMakeFiles/allocate_module_test.dir/build.make example/CMakeFiles/allocate_module_test.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=1,2,3 "Built target allocate_module_test"
|
||||
.PHONY : example/CMakeFiles/allocate_module_test.dir/all
|
||||
|
||||
# Include target in all.
|
||||
all: example/CMakeFiles/allocate_module_test.dir/all
|
||||
|
||||
.PHONY : all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
example/CMakeFiles/allocate_module_test.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles 5
|
||||
$(MAKE) -f CMakeFiles/Makefile2 example/CMakeFiles/allocate_module_test.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles 0
|
||||
.PHONY : example/CMakeFiles/allocate_module_test.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
allocate_module_test: example/CMakeFiles/allocate_module_test.dir/rule
|
||||
|
||||
.PHONY : allocate_module_test
|
||||
|
||||
# clean rule for target.
|
||||
example/CMakeFiles/allocate_module_test.dir/clean:
|
||||
$(MAKE) -f example/CMakeFiles/allocate_module_test.dir/build.make example/CMakeFiles/allocate_module_test.dir/clean
|
||||
.PHONY : example/CMakeFiles/allocate_module_test.dir/clean
|
||||
|
||||
# clean rule for target.
|
||||
clean: example/CMakeFiles/allocate_module_test.dir/clean
|
||||
|
||||
.PHONY : clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target example/CMakeFiles/simple_test.dir
|
||||
|
||||
# All Build rule for target.
|
||||
example/CMakeFiles/simple_test.dir/all: src/CMakeFiles/cmocka_shared.dir/all
|
||||
$(MAKE) -f example/CMakeFiles/simple_test.dir/build.make example/CMakeFiles/simple_test.dir/depend
|
||||
$(MAKE) -f example/CMakeFiles/simple_test.dir/build.make example/CMakeFiles/simple_test.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=24,25 "Built target simple_test"
|
||||
.PHONY : example/CMakeFiles/simple_test.dir/all
|
||||
|
||||
# Include target in all.
|
||||
all: example/CMakeFiles/simple_test.dir/all
|
||||
|
||||
.PHONY : all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
example/CMakeFiles/simple_test.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles 4
|
||||
$(MAKE) -f CMakeFiles/Makefile2 example/CMakeFiles/simple_test.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles 0
|
||||
.PHONY : example/CMakeFiles/simple_test.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
simple_test: example/CMakeFiles/simple_test.dir/rule
|
||||
|
||||
.PHONY : simple_test
|
||||
|
||||
# clean rule for target.
|
||||
example/CMakeFiles/simple_test.dir/clean:
|
||||
$(MAKE) -f example/CMakeFiles/simple_test.dir/build.make example/CMakeFiles/simple_test.dir/clean
|
||||
.PHONY : example/CMakeFiles/simple_test.dir/clean
|
||||
|
||||
# clean rule for target.
|
||||
clean: example/CMakeFiles/simple_test.dir/clean
|
||||
|
||||
.PHONY : clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target example/CMakeFiles/key_value_test.dir
|
||||
|
||||
# All Build rule for target.
|
||||
example/CMakeFiles/key_value_test.dir/all: src/CMakeFiles/cmocka_shared.dir/all
|
||||
$(MAKE) -f example/CMakeFiles/key_value_test.dir/build.make example/CMakeFiles/key_value_test.dir/depend
|
||||
$(MAKE) -f example/CMakeFiles/key_value_test.dir/build.make example/CMakeFiles/key_value_test.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=18,19,20 "Built target key_value_test"
|
||||
.PHONY : example/CMakeFiles/key_value_test.dir/all
|
||||
|
||||
# Include target in all.
|
||||
all: example/CMakeFiles/key_value_test.dir/all
|
||||
|
||||
.PHONY : all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
example/CMakeFiles/key_value_test.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles 5
|
||||
$(MAKE) -f CMakeFiles/Makefile2 example/CMakeFiles/key_value_test.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles 0
|
||||
.PHONY : example/CMakeFiles/key_value_test.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
key_value_test: example/CMakeFiles/key_value_test.dir/rule
|
||||
|
||||
.PHONY : key_value_test
|
||||
|
||||
# clean rule for target.
|
||||
example/CMakeFiles/key_value_test.dir/clean:
|
||||
$(MAKE) -f example/CMakeFiles/key_value_test.dir/build.make example/CMakeFiles/key_value_test.dir/clean
|
||||
.PHONY : example/CMakeFiles/key_value_test.dir/clean
|
||||
|
||||
# clean rule for target.
|
||||
clean: example/CMakeFiles/key_value_test.dir/clean
|
||||
|
||||
.PHONY : clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target example/CMakeFiles/calculator_test.dir
|
||||
|
||||
# All Build rule for target.
|
||||
example/CMakeFiles/calculator_test.dir/all: src/CMakeFiles/cmocka_shared.dir/all
|
||||
$(MAKE) -f example/CMakeFiles/calculator_test.dir/build.make example/CMakeFiles/calculator_test.dir/depend
|
||||
$(MAKE) -f example/CMakeFiles/calculator_test.dir/build.make example/CMakeFiles/calculator_test.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=10,11,12 "Built target calculator_test"
|
||||
.PHONY : example/CMakeFiles/calculator_test.dir/all
|
||||
|
||||
# Include target in all.
|
||||
all: example/CMakeFiles/calculator_test.dir/all
|
||||
|
||||
.PHONY : all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
example/CMakeFiles/calculator_test.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles 5
|
||||
$(MAKE) -f CMakeFiles/Makefile2 example/CMakeFiles/calculator_test.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles 0
|
||||
.PHONY : example/CMakeFiles/calculator_test.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
calculator_test: example/CMakeFiles/calculator_test.dir/rule
|
||||
|
||||
.PHONY : calculator_test
|
||||
|
||||
# clean rule for target.
|
||||
example/CMakeFiles/calculator_test.dir/clean:
|
||||
$(MAKE) -f example/CMakeFiles/calculator_test.dir/build.make example/CMakeFiles/calculator_test.dir/clean
|
||||
.PHONY : example/CMakeFiles/calculator_test.dir/clean
|
||||
|
||||
# clean rule for target.
|
||||
clean: example/CMakeFiles/calculator_test.dir/clean
|
||||
|
||||
.PHONY : clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target example/CMakeFiles/assert_macro_test.dir
|
||||
|
||||
# All Build rule for target.
|
||||
example/CMakeFiles/assert_macro_test.dir/all: src/CMakeFiles/cmocka_shared.dir/all
|
||||
$(MAKE) -f example/CMakeFiles/assert_macro_test.dir/build.make example/CMakeFiles/assert_macro_test.dir/depend
|
||||
$(MAKE) -f example/CMakeFiles/assert_macro_test.dir/build.make example/CMakeFiles/assert_macro_test.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=4,5,6 "Built target assert_macro_test"
|
||||
.PHONY : example/CMakeFiles/assert_macro_test.dir/all
|
||||
|
||||
# Include target in all.
|
||||
all: example/CMakeFiles/assert_macro_test.dir/all
|
||||
|
||||
.PHONY : all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
example/CMakeFiles/assert_macro_test.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles 5
|
||||
$(MAKE) -f CMakeFiles/Makefile2 example/CMakeFiles/assert_macro_test.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles 0
|
||||
.PHONY : example/CMakeFiles/assert_macro_test.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
assert_macro_test: example/CMakeFiles/assert_macro_test.dir/rule
|
||||
|
||||
.PHONY : assert_macro_test
|
||||
|
||||
# clean rule for target.
|
||||
example/CMakeFiles/assert_macro_test.dir/clean:
|
||||
$(MAKE) -f example/CMakeFiles/assert_macro_test.dir/build.make example/CMakeFiles/assert_macro_test.dir/clean
|
||||
.PHONY : example/CMakeFiles/assert_macro_test.dir/clean
|
||||
|
||||
# clean rule for target.
|
||||
clean: example/CMakeFiles/assert_macro_test.dir/clean
|
||||
|
||||
.PHONY : clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target example/CMakeFiles/assert_module_test.dir
|
||||
|
||||
# All Build rule for target.
|
||||
example/CMakeFiles/assert_module_test.dir/all: src/CMakeFiles/cmocka_shared.dir/all
|
||||
$(MAKE) -f example/CMakeFiles/assert_module_test.dir/build.make example/CMakeFiles/assert_module_test.dir/depend
|
||||
$(MAKE) -f example/CMakeFiles/assert_module_test.dir/build.make example/CMakeFiles/assert_module_test.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=7,8,9 "Built target assert_module_test"
|
||||
.PHONY : example/CMakeFiles/assert_module_test.dir/all
|
||||
|
||||
# Include target in all.
|
||||
all: example/CMakeFiles/assert_module_test.dir/all
|
||||
|
||||
.PHONY : all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
example/CMakeFiles/assert_module_test.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles 5
|
||||
$(MAKE) -f CMakeFiles/Makefile2 example/CMakeFiles/assert_module_test.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles 0
|
||||
.PHONY : example/CMakeFiles/assert_module_test.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
assert_module_test: example/CMakeFiles/assert_module_test.dir/rule
|
||||
|
||||
.PHONY : assert_module_test
|
||||
|
||||
# clean rule for target.
|
||||
example/CMakeFiles/assert_module_test.dir/clean:
|
||||
$(MAKE) -f example/CMakeFiles/assert_module_test.dir/build.make example/CMakeFiles/assert_module_test.dir/clean
|
||||
.PHONY : example/CMakeFiles/assert_module_test.dir/clean
|
||||
|
||||
# clean rule for target.
|
||||
clean: example/CMakeFiles/assert_module_test.dir/clean
|
||||
|
||||
.PHONY : clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target example/CMakeFiles/customer_database_test.dir
|
||||
|
||||
# All Build rule for target.
|
||||
example/CMakeFiles/customer_database_test.dir/all: src/CMakeFiles/cmocka_shared.dir/all
|
||||
$(MAKE) -f example/CMakeFiles/customer_database_test.dir/build.make example/CMakeFiles/customer_database_test.dir/depend
|
||||
$(MAKE) -f example/CMakeFiles/customer_database_test.dir/build.make example/CMakeFiles/customer_database_test.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=15,16,17 "Built target customer_database_test"
|
||||
.PHONY : example/CMakeFiles/customer_database_test.dir/all
|
||||
|
||||
# Include target in all.
|
||||
all: example/CMakeFiles/customer_database_test.dir/all
|
||||
|
||||
.PHONY : all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
example/CMakeFiles/customer_database_test.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles 5
|
||||
$(MAKE) -f CMakeFiles/Makefile2 example/CMakeFiles/customer_database_test.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles 0
|
||||
.PHONY : example/CMakeFiles/customer_database_test.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
customer_database_test: example/CMakeFiles/customer_database_test.dir/rule
|
||||
|
||||
.PHONY : customer_database_test
|
||||
|
||||
# clean rule for target.
|
||||
example/CMakeFiles/customer_database_test.dir/clean:
|
||||
$(MAKE) -f example/CMakeFiles/customer_database_test.dir/build.make example/CMakeFiles/customer_database_test.dir/clean
|
||||
.PHONY : example/CMakeFiles/customer_database_test.dir/clean
|
||||
|
||||
# clean rule for target.
|
||||
clean: example/CMakeFiles/customer_database_test.dir/clean
|
||||
|
||||
.PHONY : clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target example/CMakeFiles/product_database_test.dir
|
||||
|
||||
# All Build rule for target.
|
||||
example/CMakeFiles/product_database_test.dir/all: src/CMakeFiles/cmocka_shared.dir/all
|
||||
$(MAKE) -f example/CMakeFiles/product_database_test.dir/build.make example/CMakeFiles/product_database_test.dir/depend
|
||||
$(MAKE) -f example/CMakeFiles/product_database_test.dir/build.make example/CMakeFiles/product_database_test.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=21,22,23 "Built target product_database_test"
|
||||
.PHONY : example/CMakeFiles/product_database_test.dir/all
|
||||
|
||||
# Include target in all.
|
||||
all: example/CMakeFiles/product_database_test.dir/all
|
||||
|
||||
.PHONY : all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
example/CMakeFiles/product_database_test.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles 5
|
||||
$(MAKE) -f CMakeFiles/Makefile2 example/CMakeFiles/product_database_test.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles 0
|
||||
.PHONY : example/CMakeFiles/product_database_test.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
product_database_test: example/CMakeFiles/product_database_test.dir/rule
|
||||
|
||||
.PHONY : product_database_test
|
||||
|
||||
# clean rule for target.
|
||||
example/CMakeFiles/product_database_test.dir/clean:
|
||||
$(MAKE) -f example/CMakeFiles/product_database_test.dir/build.make example/CMakeFiles/product_database_test.dir/clean
|
||||
.PHONY : example/CMakeFiles/product_database_test.dir/clean
|
||||
|
||||
# clean rule for target.
|
||||
clean: example/CMakeFiles/product_database_test.dir/clean
|
||||
|
||||
.PHONY : clean
|
||||
|
||||
#=============================================================================
|
||||
# Directory level rules for directory example/chef_wrap
|
||||
|
||||
# Convenience name for "all" pass in the directory.
|
||||
example/chef_wrap/all: example/chef_wrap/CMakeFiles/waiter_test_wrap.dir/all
|
||||
|
||||
.PHONY : example/chef_wrap/all
|
||||
|
||||
# Convenience name for "clean" pass in the directory.
|
||||
example/chef_wrap/clean: example/chef_wrap/CMakeFiles/waiter_test_wrap.dir/clean
|
||||
|
||||
.PHONY : example/chef_wrap/clean
|
||||
|
||||
# Convenience name for "preinstall" pass in the directory.
|
||||
example/chef_wrap/preinstall:
|
||||
|
||||
.PHONY : example/chef_wrap/preinstall
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target example/chef_wrap/CMakeFiles/waiter_test_wrap.dir
|
||||
|
||||
# All Build rule for target.
|
||||
example/chef_wrap/CMakeFiles/waiter_test_wrap.dir/all: src/CMakeFiles/cmocka_shared.dir/all
|
||||
$(MAKE) -f example/chef_wrap/CMakeFiles/waiter_test_wrap.dir/build.make example/chef_wrap/CMakeFiles/waiter_test_wrap.dir/depend
|
||||
$(MAKE) -f example/chef_wrap/CMakeFiles/waiter_test_wrap.dir/build.make example/chef_wrap/CMakeFiles/waiter_test_wrap.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=26,27,28 "Built target waiter_test_wrap"
|
||||
.PHONY : example/chef_wrap/CMakeFiles/waiter_test_wrap.dir/all
|
||||
|
||||
# Include target in all.
|
||||
all: example/chef_wrap/CMakeFiles/waiter_test_wrap.dir/all
|
||||
|
||||
.PHONY : all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
example/chef_wrap/CMakeFiles/waiter_test_wrap.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles 5
|
||||
$(MAKE) -f CMakeFiles/Makefile2 example/chef_wrap/CMakeFiles/waiter_test_wrap.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles 0
|
||||
.PHONY : example/chef_wrap/CMakeFiles/waiter_test_wrap.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
waiter_test_wrap: example/chef_wrap/CMakeFiles/waiter_test_wrap.dir/rule
|
||||
|
||||
.PHONY : waiter_test_wrap
|
||||
|
||||
# clean rule for target.
|
||||
example/chef_wrap/CMakeFiles/waiter_test_wrap.dir/clean:
|
||||
$(MAKE) -f example/chef_wrap/CMakeFiles/waiter_test_wrap.dir/build.make example/chef_wrap/CMakeFiles/waiter_test_wrap.dir/clean
|
||||
.PHONY : example/chef_wrap/CMakeFiles/waiter_test_wrap.dir/clean
|
||||
|
||||
# clean rule for target.
|
||||
clean: example/chef_wrap/CMakeFiles/waiter_test_wrap.dir/clean
|
||||
|
||||
.PHONY : clean
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
58
tests/cmocka-1.1.0/build/CMakeFiles/TargetDirectories.txt
Normal file
58
tests/cmocka-1.1.0/build/CMakeFiles/TargetDirectories.txt
Normal file
@ -0,0 +1,58 @@
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/install/strip.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/install/local.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/install.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/list_install_components.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/package.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/rebuild_cache.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/package_source.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/edit_cache.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/doc/CMakeFiles/install/strip.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/doc/CMakeFiles/install/local.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/doc/CMakeFiles/install.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/doc/CMakeFiles/list_install_components.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/doc/CMakeFiles/package.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/doc/CMakeFiles/rebuild_cache.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/doc/CMakeFiles/package_source.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/doc/CMakeFiles/edit_cache.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/include/CMakeFiles/install/strip.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/include/CMakeFiles/install/local.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/include/CMakeFiles/install.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/include/CMakeFiles/list_install_components.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/include/CMakeFiles/package.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/include/CMakeFiles/rebuild_cache.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/include/CMakeFiles/package_source.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/include/CMakeFiles/edit_cache.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/src/CMakeFiles/install/strip.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/src/CMakeFiles/install/local.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/src/CMakeFiles/install.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/src/CMakeFiles/list_install_components.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/src/CMakeFiles/rebuild_cache.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/src/CMakeFiles/package.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/src/CMakeFiles/package_source.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/src/CMakeFiles/cmocka_shared.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/src/CMakeFiles/edit_cache.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/install/local.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/rebuild_cache.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/edit_cache.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/allocate_module_test.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/simple_test.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/install/strip.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/list_install_components.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/key_value_test.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/calculator_test.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/assert_macro_test.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/package_source.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/assert_module_test.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/install.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/customer_database_test.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/product_database_test.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/package.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/chef_wrap/CMakeFiles/install/strip.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/chef_wrap/CMakeFiles/install/local.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/chef_wrap/CMakeFiles/install.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/chef_wrap/CMakeFiles/list_install_components.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/chef_wrap/CMakeFiles/rebuild_cache.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/chef_wrap/CMakeFiles/waiter_test_wrap.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/chef_wrap/CMakeFiles/package.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/chef_wrap/CMakeFiles/package_source.dir
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/chef_wrap/CMakeFiles/edit_cache.dir
|
BIN
tests/cmocka-1.1.0/build/CMakeFiles/TestEndianess.bin
Executable file
BIN
tests/cmocka-1.1.0/build/CMakeFiles/TestEndianess.bin
Executable file
Binary file not shown.
1
tests/cmocka-1.1.0/build/CMakeFiles/cmake.check_cache
Normal file
1
tests/cmocka-1.1.0/build/CMakeFiles/cmake.check_cache
Normal file
@ -0,0 +1 @@
|
||||
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
|
BIN
tests/cmocka-1.1.0/build/CMakeFiles/feature_tests.bin
Executable file
BIN
tests/cmocka-1.1.0/build/CMakeFiles/feature_tests.bin
Executable file
Binary file not shown.
34
tests/cmocka-1.1.0/build/CMakeFiles/feature_tests.c
Normal file
34
tests/cmocka-1.1.0/build/CMakeFiles/feature_tests.c
Normal file
@ -0,0 +1,34 @@
|
||||
|
||||
const char features[] = {"\n"
|
||||
"C_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"c_function_prototypes\n"
|
||||
"C_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"c_restrict\n"
|
||||
"C_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201000L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"c_static_assert\n"
|
||||
"C_FEATURE:"
|
||||
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
|
||||
"1"
|
||||
#else
|
||||
"0"
|
||||
#endif
|
||||
"c_variadic_macros\n"
|
||||
|
||||
};
|
||||
|
||||
int main(int argc, char** argv) { (void)argv; return features[argc]; }
|
1
tests/cmocka-1.1.0/build/CMakeFiles/progress.marks
Normal file
1
tests/cmocka-1.1.0/build/CMakeFiles/progress.marks
Normal file
@ -0,0 +1 @@
|
||||
28
|
92
tests/cmocka-1.1.0/build/CPackConfig.cmake
Normal file
92
tests/cmocka-1.1.0/build/CPackConfig.cmake
Normal file
@ -0,0 +1,92 @@
|
||||
# This file will be configured to contain variables for CPack. These variables
|
||||
# should be set in the CMake list file of the project before CPack module is
|
||||
# included. The list of available CPACK_xxx variables and their associated
|
||||
# documentation may be obtained using
|
||||
# cpack --help-variable-list
|
||||
#
|
||||
# Some variables are common to all generators (e.g. CPACK_PACKAGE_NAME)
|
||||
# and some are specific to a generator
|
||||
# (e.g. CPACK_NSIS_EXTRA_INSTALL_COMMANDS). The generator specific variables
|
||||
# usually begin with CPACK_<GENNAME>_xxxx.
|
||||
|
||||
|
||||
SET(CPACK_BINARY_7Z "")
|
||||
SET(CPACK_BINARY_BUNDLE "")
|
||||
SET(CPACK_BINARY_CYGWIN "")
|
||||
SET(CPACK_BINARY_DEB "OFF")
|
||||
SET(CPACK_BINARY_DRAGNDROP "")
|
||||
SET(CPACK_BINARY_IFW "OFF")
|
||||
SET(CPACK_BINARY_NSIS "OFF")
|
||||
SET(CPACK_BINARY_OSXX11 "")
|
||||
SET(CPACK_BINARY_PACKAGEMAKER "")
|
||||
SET(CPACK_BINARY_PRODUCTBUILD "")
|
||||
SET(CPACK_BINARY_RPM "OFF")
|
||||
SET(CPACK_BINARY_STGZ "ON")
|
||||
SET(CPACK_BINARY_TBZ2 "OFF")
|
||||
SET(CPACK_BINARY_TGZ "ON")
|
||||
SET(CPACK_BINARY_TXZ "OFF")
|
||||
SET(CPACK_BINARY_TZ "ON")
|
||||
SET(CPACK_BINARY_WIX "")
|
||||
SET(CPACK_BINARY_ZIP "")
|
||||
SET(CPACK_BUILD_SOURCE_DIRS "/home/anton/programs/libfort/tests/cmocka-1.1.0;/home/anton/programs/libfort/tests/cmocka-1.1.0/build")
|
||||
SET(CPACK_CMAKE_GENERATOR "Unix Makefiles")
|
||||
SET(CPACK_COMPONENTS_ALL "")
|
||||
SET(CPACK_COMPONENT_HEADERS_DEPENDS "libraries")
|
||||
SET(CPACK_COMPONENT_HEADERS_DESCRIPTION "C/C++ header files for use with cmocka")
|
||||
SET(CPACK_COMPONENT_HEADERS_DISPLAY_NAME "C/C++ Headers")
|
||||
SET(CPACK_COMPONENT_HEADERS_GROUP "Development")
|
||||
SET(CPACK_COMPONENT_LIBRARIES_DESCRIPTION "Libraries used to build programs which use cmocka")
|
||||
SET(CPACK_COMPONENT_LIBRARIES_DISPLAY_NAME "Libraries")
|
||||
SET(CPACK_COMPONENT_LIBRARIES_GROUP "Development")
|
||||
SET(CPACK_COMPONENT_UNSPECIFIED_HIDDEN "TRUE")
|
||||
SET(CPACK_COMPONENT_UNSPECIFIED_REQUIRED "TRUE")
|
||||
SET(CPACK_GENERATOR "STGZ;TGZ;TZ")
|
||||
SET(CPACK_INSTALL_CMAKE_PROJECTS "/home/anton/programs/libfort/tests/cmocka-1.1.0/build;cmocka;ALL;/")
|
||||
SET(CPACK_INSTALL_PREFIX "/usr/local")
|
||||
SET(CPACK_MODULE_PATH "/home/anton/programs/libfort/tests/cmocka-1.1.0/cmake/Modules")
|
||||
SET(CPACK_NSIS_DISPLAY_NAME "cmocka")
|
||||
SET(CPACK_NSIS_INSTALLER_ICON_CODE "")
|
||||
SET(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "")
|
||||
SET(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES")
|
||||
SET(CPACK_NSIS_PACKAGE_NAME "cmocka")
|
||||
SET(CPACK_OUTPUT_CONFIG_FILE "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CPackConfig.cmake")
|
||||
SET(CPACK_PACKAGE_DEFAULT_LOCATION "/")
|
||||
SET(CPACK_PACKAGE_DESCRIPTION_FILE "/home/anton/programs/libfort/tests/cmocka-1.1.0/README")
|
||||
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Unit testing framework for C with mock objects")
|
||||
SET(CPACK_PACKAGE_FILE_NAME "cmocka-1.1.0")
|
||||
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "cmocka")
|
||||
SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "cmocka")
|
||||
SET(CPACK_PACKAGE_NAME "cmocka")
|
||||
SET(CPACK_PACKAGE_RELOCATABLE "true")
|
||||
SET(CPACK_PACKAGE_VENDOR "Andreas Schneider")
|
||||
SET(CPACK_PACKAGE_VERSION "1.1.0")
|
||||
SET(CPACK_PACKAGE_VERSION_MAJOR "1")
|
||||
SET(CPACK_PACKAGE_VERSION_MINOR "1")
|
||||
SET(CPACK_PACKAGE_VERSION_PATCH "0")
|
||||
SET(CPACK_RESOURCE_FILE_LICENSE "/home/anton/programs/libfort/tests/cmocka-1.1.0/COPYING")
|
||||
SET(CPACK_RESOURCE_FILE_README "/usr/share/cmake-3.7/Templates/CPack.GenericDescription.txt")
|
||||
SET(CPACK_RESOURCE_FILE_WELCOME "/usr/share/cmake-3.7/Templates/CPack.GenericWelcome.txt")
|
||||
SET(CPACK_SET_DESTDIR "OFF")
|
||||
SET(CPACK_SOURCE_7Z "")
|
||||
SET(CPACK_SOURCE_CYGWIN "")
|
||||
SET(CPACK_SOURCE_GENERATOR "TGZ")
|
||||
SET(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]svn/;/[.]git/;.gitignore;/obj*;tags;cscope.*;.ycm_extra_conf.pyc")
|
||||
SET(CPACK_SOURCE_OUTPUT_CONFIG_FILE "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CPackSourceConfig.cmake")
|
||||
SET(CPACK_SOURCE_PACKAGE_FILE_NAME "cmocka-1.1.0")
|
||||
SET(CPACK_SOURCE_RPM "")
|
||||
SET(CPACK_SOURCE_TBZ2 "")
|
||||
SET(CPACK_SOURCE_TGZ "")
|
||||
SET(CPACK_SOURCE_TXZ "")
|
||||
SET(CPACK_SOURCE_TZ "")
|
||||
SET(CPACK_SOURCE_ZIP "")
|
||||
SET(CPACK_SYSTEM_NAME "Linux")
|
||||
SET(CPACK_TOPLEVEL_TAG "Linux")
|
||||
SET(CPACK_WIX_SIZEOF_VOID_P "8")
|
||||
|
||||
if(NOT CPACK_PROPERTIES_FILE)
|
||||
set(CPACK_PROPERTIES_FILE "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CPackProperties.cmake")
|
||||
endif()
|
||||
|
||||
if(EXISTS ${CPACK_PROPERTIES_FILE})
|
||||
include(${CPACK_PROPERTIES_FILE})
|
||||
endif()
|
98
tests/cmocka-1.1.0/build/CPackSourceConfig.cmake
Normal file
98
tests/cmocka-1.1.0/build/CPackSourceConfig.cmake
Normal file
@ -0,0 +1,98 @@
|
||||
# This file will be configured to contain variables for CPack. These variables
|
||||
# should be set in the CMake list file of the project before CPack module is
|
||||
# included. The list of available CPACK_xxx variables and their associated
|
||||
# documentation may be obtained using
|
||||
# cpack --help-variable-list
|
||||
#
|
||||
# Some variables are common to all generators (e.g. CPACK_PACKAGE_NAME)
|
||||
# and some are specific to a generator
|
||||
# (e.g. CPACK_NSIS_EXTRA_INSTALL_COMMANDS). The generator specific variables
|
||||
# usually begin with CPACK_<GENNAME>_xxxx.
|
||||
|
||||
|
||||
SET(CPACK_BINARY_7Z "")
|
||||
SET(CPACK_BINARY_BUNDLE "")
|
||||
SET(CPACK_BINARY_CYGWIN "")
|
||||
SET(CPACK_BINARY_DEB "OFF")
|
||||
SET(CPACK_BINARY_DRAGNDROP "")
|
||||
SET(CPACK_BINARY_IFW "OFF")
|
||||
SET(CPACK_BINARY_NSIS "OFF")
|
||||
SET(CPACK_BINARY_OSXX11 "")
|
||||
SET(CPACK_BINARY_PACKAGEMAKER "")
|
||||
SET(CPACK_BINARY_PRODUCTBUILD "")
|
||||
SET(CPACK_BINARY_RPM "OFF")
|
||||
SET(CPACK_BINARY_STGZ "ON")
|
||||
SET(CPACK_BINARY_TBZ2 "OFF")
|
||||
SET(CPACK_BINARY_TGZ "ON")
|
||||
SET(CPACK_BINARY_TXZ "OFF")
|
||||
SET(CPACK_BINARY_TZ "ON")
|
||||
SET(CPACK_BINARY_WIX "")
|
||||
SET(CPACK_BINARY_ZIP "")
|
||||
SET(CPACK_BUILD_SOURCE_DIRS "/home/anton/programs/libfort/tests/cmocka-1.1.0;/home/anton/programs/libfort/tests/cmocka-1.1.0/build")
|
||||
SET(CPACK_CMAKE_GENERATOR "Unix Makefiles")
|
||||
SET(CPACK_COMPONENTS_ALL "")
|
||||
SET(CPACK_COMPONENT_HEADERS_DEPENDS "libraries")
|
||||
SET(CPACK_COMPONENT_HEADERS_DESCRIPTION "C/C++ header files for use with cmocka")
|
||||
SET(CPACK_COMPONENT_HEADERS_DISPLAY_NAME "C/C++ Headers")
|
||||
SET(CPACK_COMPONENT_HEADERS_GROUP "Development")
|
||||
SET(CPACK_COMPONENT_LIBRARIES_DESCRIPTION "Libraries used to build programs which use cmocka")
|
||||
SET(CPACK_COMPONENT_LIBRARIES_DISPLAY_NAME "Libraries")
|
||||
SET(CPACK_COMPONENT_LIBRARIES_GROUP "Development")
|
||||
SET(CPACK_COMPONENT_UNSPECIFIED_HIDDEN "TRUE")
|
||||
SET(CPACK_COMPONENT_UNSPECIFIED_REQUIRED "TRUE")
|
||||
SET(CPACK_GENERATOR "TGZ")
|
||||
SET(CPACK_IGNORE_FILES "~$;[.]swp$;/[.]svn/;/[.]git/;.gitignore;/obj*;tags;cscope.*;.ycm_extra_conf.pyc")
|
||||
SET(CPACK_INSTALLED_DIRECTORIES "/home/anton/programs/libfort/tests/cmocka-1.1.0;/")
|
||||
SET(CPACK_INSTALL_CMAKE_PROJECTS "")
|
||||
SET(CPACK_INSTALL_PREFIX "/usr/local")
|
||||
SET(CPACK_MODULE_PATH "/home/anton/programs/libfort/tests/cmocka-1.1.0/cmake/Modules")
|
||||
SET(CPACK_NSIS_DISPLAY_NAME "cmocka")
|
||||
SET(CPACK_NSIS_INSTALLER_ICON_CODE "")
|
||||
SET(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "")
|
||||
SET(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES")
|
||||
SET(CPACK_NSIS_PACKAGE_NAME "cmocka")
|
||||
SET(CPACK_OUTPUT_CONFIG_FILE "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CPackConfig.cmake")
|
||||
SET(CPACK_PACKAGE_DEFAULT_LOCATION "/")
|
||||
SET(CPACK_PACKAGE_DESCRIPTION_FILE "/home/anton/programs/libfort/tests/cmocka-1.1.0/README")
|
||||
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Unit testing framework for C with mock objects")
|
||||
SET(CPACK_PACKAGE_FILE_NAME "cmocka-1.1.0")
|
||||
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "cmocka")
|
||||
SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "cmocka")
|
||||
SET(CPACK_PACKAGE_NAME "cmocka")
|
||||
SET(CPACK_PACKAGE_RELOCATABLE "true")
|
||||
SET(CPACK_PACKAGE_VENDOR "Andreas Schneider")
|
||||
SET(CPACK_PACKAGE_VERSION "1.1.0")
|
||||
SET(CPACK_PACKAGE_VERSION_MAJOR "1")
|
||||
SET(CPACK_PACKAGE_VERSION_MINOR "1")
|
||||
SET(CPACK_PACKAGE_VERSION_PATCH "0")
|
||||
SET(CPACK_RESOURCE_FILE_LICENSE "/home/anton/programs/libfort/tests/cmocka-1.1.0/COPYING")
|
||||
SET(CPACK_RESOURCE_FILE_README "/usr/share/cmake-3.7/Templates/CPack.GenericDescription.txt")
|
||||
SET(CPACK_RESOURCE_FILE_WELCOME "/usr/share/cmake-3.7/Templates/CPack.GenericWelcome.txt")
|
||||
SET(CPACK_RPM_PACKAGE_SOURCES "ON")
|
||||
SET(CPACK_SET_DESTDIR "OFF")
|
||||
SET(CPACK_SOURCE_7Z "")
|
||||
SET(CPACK_SOURCE_CYGWIN "")
|
||||
SET(CPACK_SOURCE_GENERATOR "TGZ")
|
||||
SET(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]svn/;/[.]git/;.gitignore;/obj*;tags;cscope.*;.ycm_extra_conf.pyc")
|
||||
SET(CPACK_SOURCE_INSTALLED_DIRECTORIES "/home/anton/programs/libfort/tests/cmocka-1.1.0;/")
|
||||
SET(CPACK_SOURCE_OUTPUT_CONFIG_FILE "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CPackSourceConfig.cmake")
|
||||
SET(CPACK_SOURCE_PACKAGE_FILE_NAME "cmocka-1.1.0")
|
||||
SET(CPACK_SOURCE_RPM "")
|
||||
SET(CPACK_SOURCE_TBZ2 "")
|
||||
SET(CPACK_SOURCE_TGZ "")
|
||||
SET(CPACK_SOURCE_TOPLEVEL_TAG "Linux-Source")
|
||||
SET(CPACK_SOURCE_TXZ "")
|
||||
SET(CPACK_SOURCE_TZ "")
|
||||
SET(CPACK_SOURCE_ZIP "")
|
||||
SET(CPACK_STRIP_FILES "")
|
||||
SET(CPACK_SYSTEM_NAME "Linux")
|
||||
SET(CPACK_TOPLEVEL_TAG "Linux-Source")
|
||||
SET(CPACK_WIX_SIZEOF_VOID_P "8")
|
||||
|
||||
if(NOT CPACK_PROPERTIES_FILE)
|
||||
set(CPACK_PROPERTIES_FILE "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CPackProperties.cmake")
|
||||
endif()
|
||||
|
||||
if(EXISTS ${CPACK_PROPERTIES_FILE})
|
||||
include(${CPACK_PROPERTIES_FILE})
|
||||
endif()
|
346
tests/cmocka-1.1.0/build/Makefile
Normal file
346
tests/cmocka-1.1.0/build/Makefile
Normal file
@ -0,0 +1,346 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
|
||||
.PHONY : default_target
|
||||
|
||||
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
||||
.NOTPARALLEL:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/anton/programs/libfort/tests/cmocka-1.1.0
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/anton/programs/libfort/tests/cmocka-1.1.0/build
|
||||
|
||||
#=============================================================================
|
||||
# Targets provided globally by CMake.
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip/fast: install/strip
|
||||
|
||||
.PHONY : install/strip/fast
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local/fast: install/local
|
||||
|
||||
.PHONY : install/local/fast
|
||||
|
||||
# Special rule for the target install
|
||||
install: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install
|
||||
|
||||
# Special rule for the target install
|
||||
install/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install/fast
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\" \"devel\" \"headers\" \"pkgconfig\""
|
||||
.PHONY : list_install_components
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components/fast: list_install_components
|
||||
|
||||
.PHONY : list_install_components/fast
|
||||
|
||||
# Special rule for the target package
|
||||
package: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool..."
|
||||
/usr/bin/cpack --config ./CPackConfig.cmake
|
||||
.PHONY : package
|
||||
|
||||
# Special rule for the target package
|
||||
package/fast: package
|
||||
|
||||
.PHONY : package/fast
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||
/usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : rebuild_cache
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache/fast: rebuild_cache
|
||||
|
||||
.PHONY : rebuild_cache/fast
|
||||
|
||||
# Special rule for the target package_source
|
||||
package_source:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool for source..."
|
||||
/usr/bin/cpack --config ./CPackSourceConfig.cmake /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CPackSourceConfig.cmake
|
||||
.PHONY : package_source
|
||||
|
||||
# Special rule for the target package_source
|
||||
package_source/fast: package_source
|
||||
|
||||
.PHONY : package_source/fast
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
|
||||
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
|
||||
.PHONY : edit_cache
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache/fast: edit_cache
|
||||
|
||||
.PHONY : edit_cache/fast
|
||||
|
||||
# The main all target
|
||||
all: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles/progress.marks
|
||||
$(MAKE) -f CMakeFiles/Makefile2 all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles 0
|
||||
.PHONY : all
|
||||
|
||||
# The main clean target
|
||||
clean:
|
||||
$(MAKE) -f CMakeFiles/Makefile2 clean
|
||||
.PHONY : clean
|
||||
|
||||
# The main clean target
|
||||
clean/fast: clean
|
||||
|
||||
.PHONY : clean/fast
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall: all
|
||||
$(MAKE) -f CMakeFiles/Makefile2 preinstall
|
||||
.PHONY : preinstall
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall/fast:
|
||||
$(MAKE) -f CMakeFiles/Makefile2 preinstall
|
||||
.PHONY : preinstall/fast
|
||||
|
||||
# clear depends
|
||||
depend:
|
||||
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||
.PHONY : depend
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named cmocka_shared
|
||||
|
||||
# Build rule for target.
|
||||
cmocka_shared: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 cmocka_shared
|
||||
.PHONY : cmocka_shared
|
||||
|
||||
# fast build rule for target.
|
||||
cmocka_shared/fast:
|
||||
$(MAKE) -f src/CMakeFiles/cmocka_shared.dir/build.make src/CMakeFiles/cmocka_shared.dir/build
|
||||
.PHONY : cmocka_shared/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named allocate_module_test
|
||||
|
||||
# Build rule for target.
|
||||
allocate_module_test: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 allocate_module_test
|
||||
.PHONY : allocate_module_test
|
||||
|
||||
# fast build rule for target.
|
||||
allocate_module_test/fast:
|
||||
$(MAKE) -f example/CMakeFiles/allocate_module_test.dir/build.make example/CMakeFiles/allocate_module_test.dir/build
|
||||
.PHONY : allocate_module_test/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named simple_test
|
||||
|
||||
# Build rule for target.
|
||||
simple_test: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 simple_test
|
||||
.PHONY : simple_test
|
||||
|
||||
# fast build rule for target.
|
||||
simple_test/fast:
|
||||
$(MAKE) -f example/CMakeFiles/simple_test.dir/build.make example/CMakeFiles/simple_test.dir/build
|
||||
.PHONY : simple_test/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named key_value_test
|
||||
|
||||
# Build rule for target.
|
||||
key_value_test: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 key_value_test
|
||||
.PHONY : key_value_test
|
||||
|
||||
# fast build rule for target.
|
||||
key_value_test/fast:
|
||||
$(MAKE) -f example/CMakeFiles/key_value_test.dir/build.make example/CMakeFiles/key_value_test.dir/build
|
||||
.PHONY : key_value_test/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named calculator_test
|
||||
|
||||
# Build rule for target.
|
||||
calculator_test: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 calculator_test
|
||||
.PHONY : calculator_test
|
||||
|
||||
# fast build rule for target.
|
||||
calculator_test/fast:
|
||||
$(MAKE) -f example/CMakeFiles/calculator_test.dir/build.make example/CMakeFiles/calculator_test.dir/build
|
||||
.PHONY : calculator_test/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named assert_macro_test
|
||||
|
||||
# Build rule for target.
|
||||
assert_macro_test: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 assert_macro_test
|
||||
.PHONY : assert_macro_test
|
||||
|
||||
# fast build rule for target.
|
||||
assert_macro_test/fast:
|
||||
$(MAKE) -f example/CMakeFiles/assert_macro_test.dir/build.make example/CMakeFiles/assert_macro_test.dir/build
|
||||
.PHONY : assert_macro_test/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named assert_module_test
|
||||
|
||||
# Build rule for target.
|
||||
assert_module_test: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 assert_module_test
|
||||
.PHONY : assert_module_test
|
||||
|
||||
# fast build rule for target.
|
||||
assert_module_test/fast:
|
||||
$(MAKE) -f example/CMakeFiles/assert_module_test.dir/build.make example/CMakeFiles/assert_module_test.dir/build
|
||||
.PHONY : assert_module_test/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named customer_database_test
|
||||
|
||||
# Build rule for target.
|
||||
customer_database_test: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 customer_database_test
|
||||
.PHONY : customer_database_test
|
||||
|
||||
# fast build rule for target.
|
||||
customer_database_test/fast:
|
||||
$(MAKE) -f example/CMakeFiles/customer_database_test.dir/build.make example/CMakeFiles/customer_database_test.dir/build
|
||||
.PHONY : customer_database_test/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named product_database_test
|
||||
|
||||
# Build rule for target.
|
||||
product_database_test: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 product_database_test
|
||||
.PHONY : product_database_test
|
||||
|
||||
# fast build rule for target.
|
||||
product_database_test/fast:
|
||||
$(MAKE) -f example/CMakeFiles/product_database_test.dir/build.make example/CMakeFiles/product_database_test.dir/build
|
||||
.PHONY : product_database_test/fast
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named waiter_test_wrap
|
||||
|
||||
# Build rule for target.
|
||||
waiter_test_wrap: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 waiter_test_wrap
|
||||
.PHONY : waiter_test_wrap
|
||||
|
||||
# fast build rule for target.
|
||||
waiter_test_wrap/fast:
|
||||
$(MAKE) -f example/chef_wrap/CMakeFiles/waiter_test_wrap.dir/build.make example/chef_wrap/CMakeFiles/waiter_test_wrap.dir/build
|
||||
.PHONY : waiter_test_wrap/fast
|
||||
|
||||
# Help Target
|
||||
help:
|
||||
@echo "The following are some of the valid targets for this Makefile:"
|
||||
@echo "... all (the default if no target is provided)"
|
||||
@echo "... clean"
|
||||
@echo "... depend"
|
||||
@echo "... install/strip"
|
||||
@echo "... install/local"
|
||||
@echo "... install"
|
||||
@echo "... list_install_components"
|
||||
@echo "... package"
|
||||
@echo "... rebuild_cache"
|
||||
@echo "... package_source"
|
||||
@echo "... edit_cache"
|
||||
@echo "... cmocka_shared"
|
||||
@echo "... allocate_module_test"
|
||||
@echo "... simple_test"
|
||||
@echo "... key_value_test"
|
||||
@echo "... calculator_test"
|
||||
@echo "... assert_macro_test"
|
||||
@echo "... assert_module_test"
|
||||
@echo "... customer_database_test"
|
||||
@echo "... product_database_test"
|
||||
@echo "... waiter_test_wrap"
|
||||
.PHONY : help
|
||||
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
80
tests/cmocka-1.1.0/build/cmake_install.cmake
Normal file
80
tests/cmocka-1.1.0/build/cmake_install.cmake
Normal file
@ -0,0 +1,80 @@
|
||||
# Install script for directory: /home/anton/programs/libfort/tests/cmocka-1.1.0
|
||||
|
||||
# Set the install prefix
|
||||
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
||||
endif()
|
||||
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||
|
||||
# Set the install configuration name.
|
||||
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||
if(BUILD_TYPE)
|
||||
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
||||
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_CONFIG_NAME "")
|
||||
endif()
|
||||
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
||||
endif()
|
||||
|
||||
# Set the component getting installed.
|
||||
if(NOT CMAKE_INSTALL_COMPONENT)
|
||||
if(COMPONENT)
|
||||
message(STATUS "Install component: \"${COMPONENT}\"")
|
||||
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_COMPONENT)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Install shared libraries without execute permission?
|
||||
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
||||
set(CMAKE_INSTALL_SO_NO_EXE "1")
|
||||
endif()
|
||||
|
||||
if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "pkgconfig" OR NOT CMAKE_INSTALL_COMPONENT)
|
||||
list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
|
||||
"/usr/local/lib/pkgconfig/cmocka.pc")
|
||||
if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
|
||||
message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
|
||||
endif()
|
||||
if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
|
||||
message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
|
||||
endif()
|
||||
file(INSTALL DESTINATION "/usr/local/lib/pkgconfig" TYPE FILE FILES "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/cmocka.pc")
|
||||
endif()
|
||||
|
||||
if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "devel" OR NOT CMAKE_INSTALL_COMPONENT)
|
||||
list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
|
||||
"/usr/local/lib/cmake/cmocka/cmocka-config.cmake;/usr/local/lib/cmake/cmocka/cmocka-config-version.cmake")
|
||||
if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
|
||||
message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
|
||||
endif()
|
||||
if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
|
||||
message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
|
||||
endif()
|
||||
file(INSTALL DESTINATION "/usr/local/lib/cmake/cmocka" TYPE FILE FILES
|
||||
"/home/anton/programs/libfort/tests/cmocka-1.1.0/build/cmocka-config.cmake"
|
||||
"/home/anton/programs/libfort/tests/cmocka-1.1.0/build/cmocka-config-version.cmake"
|
||||
)
|
||||
endif()
|
||||
|
||||
if(NOT CMAKE_INSTALL_LOCAL_ONLY)
|
||||
# Include the install script for each subdirectory.
|
||||
include("/home/anton/programs/libfort/tests/cmocka-1.1.0/build/doc/cmake_install.cmake")
|
||||
include("/home/anton/programs/libfort/tests/cmocka-1.1.0/build/include/cmake_install.cmake")
|
||||
include("/home/anton/programs/libfort/tests/cmocka-1.1.0/build/src/cmake_install.cmake")
|
||||
include("/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/cmake_install.cmake")
|
||||
|
||||
endif()
|
||||
|
||||
if(CMAKE_INSTALL_COMPONENT)
|
||||
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
|
||||
else()
|
||||
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
|
||||
endif()
|
||||
|
||||
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
||||
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
||||
file(WRITE "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/${CMAKE_INSTALL_MANIFEST}"
|
||||
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
11
tests/cmocka-1.1.0/build/cmocka-config-version.cmake
Normal file
11
tests/cmocka-1.1.0/build/cmocka-config-version.cmake
Normal file
@ -0,0 +1,11 @@
|
||||
set(PACKAGE_VERSION 1.1.0)
|
||||
|
||||
# Check whether the requested PACKAGE_FIND_VERSION is compatible
|
||||
if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||
if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
|
||||
set(PACKAGE_VERSION_EXACT TRUE)
|
||||
endif()
|
||||
endif()
|
11
tests/cmocka-1.1.0/build/cmocka-config.cmake
Normal file
11
tests/cmocka-1.1.0/build/cmocka-config.cmake
Normal file
@ -0,0 +1,11 @@
|
||||
get_filename_component(CMOCKA_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
|
||||
if (EXISTS "${CMOCKA_CMAKE_DIR}/CMakeCache.txt")
|
||||
# In build tree
|
||||
include(${CMOCKA_CMAKE_DIR}/cmocka-build-tree-settings.cmake)
|
||||
else()
|
||||
set(CMOCKA_INCLUDE_DIR /usr/local/include)
|
||||
endif()
|
||||
|
||||
set(CMOCKA_LIBRARY /usr/local/lib/libcmocka.so)
|
||||
set(CMOCKA_LIBRARIES /usr/local/lib/libcmocka.so)
|
6
tests/cmocka-1.1.0/build/cmocka.pc
Normal file
6
tests/cmocka-1.1.0/build/cmocka.pc
Normal file
@ -0,0 +1,6 @@
|
||||
Name: cmocka
|
||||
Description: The cmocka unit testing library
|
||||
Version: 1.1.0
|
||||
Libs: -L/usr/local/lib -lcmocka
|
||||
Cflags: -I/usr/local/include
|
||||
|
92
tests/cmocka-1.1.0/build/compile_commands.json
Normal file
92
tests/cmocka-1.1.0/build/compile_commands.json
Normal file
@ -0,0 +1,92 @@
|
||||
[
|
||||
{
|
||||
"directory": "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/src",
|
||||
"command": "/usr/bin/cc -DCMOCKA_EXPORTS -DHAVE_CONFIG_H=1 -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build/src -I/home/anton/programs/libfort/tests/cmocka-1.1.0/src -I/home/anton/programs/libfort/tests/cmocka-1.1.0/include -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -fPIC -o CMakeFiles/cmocka_shared.dir/cmocka.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/src/cmocka.c",
|
||||
"file": "/home/anton/programs/libfort/tests/cmocka-1.1.0/src/cmocka.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example",
|
||||
"command": "/usr/bin/cc -DUNIT_TESTING=1 -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build -I/home/anton/programs/libfort/tests/cmocka-1.1.0/include -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/allocate_module_test.dir/allocate_module.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/allocate_module.c",
|
||||
"file": "/home/anton/programs/libfort/tests/cmocka-1.1.0/example/allocate_module.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example",
|
||||
"command": "/usr/bin/cc -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build -I/home/anton/programs/libfort/tests/cmocka-1.1.0/include -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/allocate_module_test.c",
|
||||
"file": "/home/anton/programs/libfort/tests/cmocka-1.1.0/example/allocate_module_test.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example",
|
||||
"command": "/usr/bin/cc -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build -I/home/anton/programs/libfort/tests/cmocka-1.1.0/include -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/simple_test.dir/simple_test.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/simple_test.c",
|
||||
"file": "/home/anton/programs/libfort/tests/cmocka-1.1.0/example/simple_test.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example",
|
||||
"command": "/usr/bin/cc -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build -I/home/anton/programs/libfort/tests/cmocka-1.1.0/include -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/key_value_test.dir/key_value.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/key_value.c",
|
||||
"file": "/home/anton/programs/libfort/tests/cmocka-1.1.0/example/key_value.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example",
|
||||
"command": "/usr/bin/cc -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build -I/home/anton/programs/libfort/tests/cmocka-1.1.0/include -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/key_value_test.dir/key_value_test.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/key_value_test.c",
|
||||
"file": "/home/anton/programs/libfort/tests/cmocka-1.1.0/example/key_value_test.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example",
|
||||
"command": "/usr/bin/cc -DUNIT_TESTING=1 -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build -I/home/anton/programs/libfort/tests/cmocka-1.1.0/include -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/calculator_test.dir/calculator.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/calculator.c",
|
||||
"file": "/home/anton/programs/libfort/tests/cmocka-1.1.0/example/calculator.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example",
|
||||
"command": "/usr/bin/cc -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build -I/home/anton/programs/libfort/tests/cmocka-1.1.0/include -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/calculator_test.dir/calculator_test.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/calculator_test.c",
|
||||
"file": "/home/anton/programs/libfort/tests/cmocka-1.1.0/example/calculator_test.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example",
|
||||
"command": "/usr/bin/cc -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build -I/home/anton/programs/libfort/tests/cmocka-1.1.0/include -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/assert_macro_test.dir/assert_macro.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_macro.c",
|
||||
"file": "/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_macro.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example",
|
||||
"command": "/usr/bin/cc -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build -I/home/anton/programs/libfort/tests/cmocka-1.1.0/include -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_macro_test.c",
|
||||
"file": "/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_macro_test.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example",
|
||||
"command": "/usr/bin/cc -DUNIT_TESTING=1 -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build -I/home/anton/programs/libfort/tests/cmocka-1.1.0/include -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/assert_module_test.dir/assert_module.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_module.c",
|
||||
"file": "/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_module.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example",
|
||||
"command": "/usr/bin/cc -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build -I/home/anton/programs/libfort/tests/cmocka-1.1.0/include -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/assert_module_test.dir/assert_module_test.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_module_test.c",
|
||||
"file": "/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_module_test.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example",
|
||||
"command": "/usr/bin/cc -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build -I/home/anton/programs/libfort/tests/cmocka-1.1.0/include -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/customer_database_test.dir/customer_database.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/customer_database.c",
|
||||
"file": "/home/anton/programs/libfort/tests/cmocka-1.1.0/example/customer_database.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example",
|
||||
"command": "/usr/bin/cc -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build -I/home/anton/programs/libfort/tests/cmocka-1.1.0/include -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/customer_database_test.dir/customer_database_test.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/customer_database_test.c",
|
||||
"file": "/home/anton/programs/libfort/tests/cmocka-1.1.0/example/customer_database_test.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example",
|
||||
"command": "/usr/bin/cc -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build -I/home/anton/programs/libfort/tests/cmocka-1.1.0/include -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/product_database_test.dir/product_database.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/product_database.c",
|
||||
"file": "/home/anton/programs/libfort/tests/cmocka-1.1.0/example/product_database.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example",
|
||||
"command": "/usr/bin/cc -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build -I/home/anton/programs/libfort/tests/cmocka-1.1.0/include -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/product_database_test.dir/product_database_test.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/product_database_test.c",
|
||||
"file": "/home/anton/programs/libfort/tests/cmocka-1.1.0/example/product_database_test.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/chef_wrap",
|
||||
"command": "/usr/bin/cc -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/chef_wrap -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example/chef_wrap -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/include -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/waiter_test_wrap.dir/waiter_test_wrap.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/chef_wrap/waiter_test_wrap.c",
|
||||
"file": "/home/anton/programs/libfort/tests/cmocka-1.1.0/example/chef_wrap/waiter_test_wrap.c"
|
||||
},
|
||||
{
|
||||
"directory": "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/chef_wrap",
|
||||
"command": "/usr/bin/cc -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/chef_wrap -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example/chef_wrap -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/include -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/waiter_test_wrap.dir/chef.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/chef_wrap/chef.c",
|
||||
"file": "/home/anton/programs/libfort/tests/cmocka-1.1.0/example/chef_wrap/chef.c"
|
||||
}
|
||||
]
|
169
tests/cmocka-1.1.0/build/config.h
Normal file
169
tests/cmocka-1.1.0/build/config.h
Normal file
@ -0,0 +1,169 @@
|
||||
/* Name of package */
|
||||
#define PACKAGE "cmocka"
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "1.1.0"
|
||||
|
||||
/* #undef LOCALEDIR */
|
||||
#define DATADIR "/usr/local/share/cmocka"
|
||||
#define LIBDIR "/usr/local/lib"
|
||||
#define PLUGINDIR "/usr/local/lib/cmocka-0"
|
||||
#define SYSCONFDIR "/usr/local/etc"
|
||||
#define BINARYDIR "/home/anton/programs/libfort/tests/cmocka-1.1.0/build"
|
||||
#define SOURCEDIR "/home/anton/programs/libfort/tests/cmocka-1.1.0"
|
||||
|
||||
/************************** HEADER FILES *************************/
|
||||
|
||||
/* Define to 1 if you have the <assert.h> header file. */
|
||||
#define HAVE_ASSERT_H 1
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
/* #undef HAVE_DLFCN_H */
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <io.h> header file. */
|
||||
/* #undef HAVE_IO_H */
|
||||
|
||||
/* Define to 1 if you have the <malloc.h> header file. */
|
||||
#define HAVE_MALLOC_H 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the <setjmp.h> header file. */
|
||||
#define HAVE_SETJMP_H 1
|
||||
|
||||
/* Define to 1 if you have the <signal.h> header file. */
|
||||
#define HAVE_SIGNAL_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdarg.h> header file. */
|
||||
#define HAVE_STDARG_H 1
|
||||
|
||||
/* Define to 1 if you have the <stddef.h> header file. */
|
||||
#define HAVE_STDDEF_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#define HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdio.h> header file. */
|
||||
#define HAVE_STDIO_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#define HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the <time.h> header file. */
|
||||
#define HAVE_TIME_H 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/**************************** STRUCTS ****************************/
|
||||
|
||||
#define HAVE_STRUCT_TIMESPEC 1
|
||||
|
||||
/*************************** FUNCTIONS ***************************/
|
||||
|
||||
/* Define to 1 if you have the `calloc' function. */
|
||||
#define HAVE_CALLOC 1
|
||||
|
||||
/* Define to 1 if you have the `exit' function. */
|
||||
#define HAVE_EXIT 1
|
||||
|
||||
/* Define to 1 if you have the `fprintf' function. */
|
||||
#define HAVE_FPRINTF 1
|
||||
|
||||
/* Define to 1 if you have the `snprintf' function. */
|
||||
#define HAVE_SNPRINTF 1
|
||||
|
||||
/* Define to 1 if you have the `_snprintf' function. */
|
||||
/* #undef HAVE__SNPRINTF */
|
||||
|
||||
/* Define to 1 if you have the `_snprintf_s' function. */
|
||||
/* #undef HAVE__SNPRINTF_S */
|
||||
|
||||
/* Define to 1 if you have the `vsnprintf' function. */
|
||||
#define HAVE_VSNPRINTF 1
|
||||
|
||||
/* Define to 1 if you have the `_vsnprintf' function. */
|
||||
/* #undef HAVE__VSNPRINTF */
|
||||
|
||||
/* Define to 1 if you have the `_vsnprintf_s' function. */
|
||||
/* #undef HAVE__VSNPRINTF_S */
|
||||
|
||||
/* Define to 1 if you have the `free' function. */
|
||||
#define HAVE_FREE 1
|
||||
|
||||
/* Define to 1 if you have the `longjmp' function. */
|
||||
#define HAVE_LONGJMP 1
|
||||
|
||||
/* Define to 1 if you have the `siglongjmp' function. */
|
||||
#define HAVE_SIGLONGJMP 1
|
||||
|
||||
/* Define to 1 if you have the `malloc' function. */
|
||||
#define HAVE_MALLOC 1
|
||||
|
||||
/* Define to 1 if you have the `memcpy' function. */
|
||||
#define HAVE_MEMCPY 1
|
||||
|
||||
/* Define to 1 if you have the `memset' function. */
|
||||
#define HAVE_MEMSET 1
|
||||
|
||||
/* Define to 1 if you have the `printf' function. */
|
||||
#define HAVE_PRINTF 1
|
||||
|
||||
/* Define to 1 if you have the `setjmp' function. */
|
||||
#define HAVE_SETJMP 1
|
||||
|
||||
/* Define to 1 if you have the `signal' function. */
|
||||
#define HAVE_SIGNAL 1
|
||||
|
||||
/* Define to 1 if you have the `snprintf' function. */
|
||||
#define HAVE_SNPRINTF 1
|
||||
|
||||
/* Define to 1 if you have the `strcmp' function. */
|
||||
#define HAVE_STRCMP 1
|
||||
|
||||
/* Define to 1 if you have the `strcpy' function. */
|
||||
/* #undef HAVE_STRCPY */
|
||||
|
||||
/* Define to 1 if you have the `vsnprintf' function. */
|
||||
#define HAVE_VSNPRINTF 1
|
||||
|
||||
/* Define to 1 if you have the `strsignal' function. */
|
||||
#define HAVE_STRSIGNAL 1
|
||||
|
||||
/* Define to 1 if you have the `clock_gettime' function. */
|
||||
#define HAVE_CLOCK_GETTIME 1
|
||||
|
||||
/**************************** OPTIONS ****************************/
|
||||
|
||||
/* Check if we have TLS support with GCC */
|
||||
#define HAVE_GCC_THREAD_LOCAL_STORAGE 1
|
||||
|
||||
/* Check if we have TLS support with MSVC */
|
||||
/* #undef HAVE_MSVC_THREAD_LOCAL_STORAGE */
|
||||
|
||||
/* Check if we have CLOCK_REALTIME for clock_gettime() */
|
||||
#define HAVE_CLOCK_GETTIME_REALTIME 1
|
||||
|
||||
/*************************** ENDIAN *****************************/
|
||||
|
||||
#define WORDS_SIZEOF_VOID_P 8
|
||||
|
||||
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
||||
significant byte first (like Motorola and SPARC, unlike Intel). */
|
||||
/* #undef WORDS_BIGENDIAN */
|
@ -0,0 +1,16 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
# Relative path conversion top directories.
|
||||
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/anton/programs/libfort/tests/cmocka-1.1.0")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/anton/programs/libfort/tests/cmocka-1.1.0/build")
|
||||
|
||||
# Force unix paths in dependencies.
|
||||
set(CMAKE_FORCE_UNIX_PATHS 1)
|
||||
|
||||
|
||||
# The C and CXX include file regular expressions for this directory.
|
||||
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
1
tests/cmocka-1.1.0/build/doc/CMakeFiles/progress.marks
Normal file
1
tests/cmocka-1.1.0/build/doc/CMakeFiles/progress.marks
Normal file
@ -0,0 +1 @@
|
||||
0
|
206
tests/cmocka-1.1.0/build/doc/Makefile
Normal file
206
tests/cmocka-1.1.0/build/doc/Makefile
Normal file
@ -0,0 +1,206 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
|
||||
.PHONY : default_target
|
||||
|
||||
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
||||
.NOTPARALLEL:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/anton/programs/libfort/tests/cmocka-1.1.0
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/anton/programs/libfort/tests/cmocka-1.1.0/build
|
||||
|
||||
#=============================================================================
|
||||
# Targets provided globally by CMake.
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
|
||||
.PHONY : install/strip
|
||||
|
||||
# Special rule for the target install/strip
|
||||
install/strip/fast: install/strip
|
||||
|
||||
.PHONY : install/strip/fast
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install/local
|
||||
|
||||
# Special rule for the target install/local
|
||||
install/local/fast: install/local
|
||||
|
||||
.PHONY : install/local/fast
|
||||
|
||||
# Special rule for the target install
|
||||
install: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install
|
||||
|
||||
# Special rule for the target install
|
||||
install/fast: preinstall/fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
/usr/bin/cmake -P cmake_install.cmake
|
||||
.PHONY : install/fast
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\" \"devel\" \"headers\" \"pkgconfig\""
|
||||
.PHONY : list_install_components
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components/fast: list_install_components
|
||||
|
||||
.PHONY : list_install_components/fast
|
||||
|
||||
# Special rule for the target package
|
||||
package: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool..."
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build && /usr/bin/cpack --config ./CPackConfig.cmake
|
||||
.PHONY : package
|
||||
|
||||
# Special rule for the target package
|
||||
package/fast: package
|
||||
|
||||
.PHONY : package/fast
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||
/usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : rebuild_cache
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache/fast: rebuild_cache
|
||||
|
||||
.PHONY : rebuild_cache/fast
|
||||
|
||||
# Special rule for the target package_source
|
||||
package_source:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool for source..."
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build && /usr/bin/cpack --config ./CPackSourceConfig.cmake /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CPackSourceConfig.cmake
|
||||
.PHONY : package_source
|
||||
|
||||
# Special rule for the target package_source
|
||||
package_source/fast: package_source
|
||||
|
||||
.PHONY : package_source/fast
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
|
||||
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
|
||||
.PHONY : edit_cache
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache/fast: edit_cache
|
||||
|
||||
.PHONY : edit_cache/fast
|
||||
|
||||
# The main all target
|
||||
all: cmake_check_build_system
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles /home/anton/programs/libfort/tests/cmocka-1.1.0/build/doc/CMakeFiles/progress.marks
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build && $(MAKE) -f CMakeFiles/Makefile2 doc/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles 0
|
||||
.PHONY : all
|
||||
|
||||
# The main clean target
|
||||
clean:
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build && $(MAKE) -f CMakeFiles/Makefile2 doc/clean
|
||||
.PHONY : clean
|
||||
|
||||
# The main clean target
|
||||
clean/fast: clean
|
||||
|
||||
.PHONY : clean/fast
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall: all
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build && $(MAKE) -f CMakeFiles/Makefile2 doc/preinstall
|
||||
.PHONY : preinstall
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall/fast:
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build && $(MAKE) -f CMakeFiles/Makefile2 doc/preinstall
|
||||
.PHONY : preinstall/fast
|
||||
|
||||
# clear depends
|
||||
depend:
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||
.PHONY : depend
|
||||
|
||||
# Help Target
|
||||
help:
|
||||
@echo "The following are some of the valid targets for this Makefile:"
|
||||
@echo "... all (the default if no target is provided)"
|
||||
@echo "... clean"
|
||||
@echo "... depend"
|
||||
@echo "... install/strip"
|
||||
@echo "... install/local"
|
||||
@echo "... install"
|
||||
@echo "... list_install_components"
|
||||
@echo "... package"
|
||||
@echo "... rebuild_cache"
|
||||
@echo "... package_source"
|
||||
@echo "... edit_cache"
|
||||
.PHONY : help
|
||||
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
34
tests/cmocka-1.1.0/build/doc/cmake_install.cmake
Normal file
34
tests/cmocka-1.1.0/build/doc/cmake_install.cmake
Normal file
@ -0,0 +1,34 @@
|
||||
# Install script for directory: /home/anton/programs/libfort/tests/cmocka-1.1.0/doc
|
||||
|
||||
# Set the install prefix
|
||||
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
||||
endif()
|
||||
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||
|
||||
# Set the install configuration name.
|
||||
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||
if(BUILD_TYPE)
|
||||
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
||||
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_CONFIG_NAME "")
|
||||
endif()
|
||||
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
||||
endif()
|
||||
|
||||
# Set the component getting installed.
|
||||
if(NOT CMAKE_INSTALL_COMPONENT)
|
||||
if(COMPONENT)
|
||||
message(STATUS "Install component: \"${COMPONENT}\"")
|
||||
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_COMPONENT)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Install shared libraries without execute permission?
|
||||
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
||||
set(CMAKE_INSTALL_SO_NO_EXE "1")
|
||||
endif()
|
||||
|
@ -0,0 +1,16 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
# Relative path conversion top directories.
|
||||
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/anton/programs/libfort/tests/cmocka-1.1.0")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/anton/programs/libfort/tests/cmocka-1.1.0/build")
|
||||
|
||||
# Force unix paths in dependencies.
|
||||
set(CMAKE_FORCE_UNIX_PATHS 1)
|
||||
|
||||
|
||||
# The C and CXX include file regular expressions for this directory.
|
||||
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
@ -0,0 +1,32 @@
|
||||
#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
|
||||
|
||||
#IncludeRegexScan: ^.*$
|
||||
|
||||
#IncludeRegexComplain: ^$
|
||||
|
||||
#IncludeRegexTransform:
|
||||
|
||||
../include/cmocka.h
|
||||
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/allocate_module.c
|
||||
config.h
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/config.h
|
||||
malloc.h
|
||||
-
|
||||
sys/types.h
|
||||
-
|
||||
stdlib.h
|
||||
-
|
||||
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/allocate_module_test.c
|
||||
stdarg.h
|
||||
-
|
||||
stddef.h
|
||||
-
|
||||
setjmp.h
|
||||
-
|
||||
cmocka.h
|
||||
-
|
||||
|
||||
config.h
|
||||
|
@ -0,0 +1,26 @@
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
"C"
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
set(CMAKE_DEPENDS_CHECK_C
|
||||
"/home/anton/programs/libfort/tests/cmocka-1.1.0/example/allocate_module.c" "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/allocate_module_test.dir/allocate_module.c.o"
|
||||
"/home/anton/programs/libfort/tests/cmocka-1.1.0/example/allocate_module_test.c" "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o"
|
||||
)
|
||||
set(CMAKE_C_COMPILER_ID "GNU")
|
||||
|
||||
# The include file search paths:
|
||||
set(CMAKE_C_TARGET_INCLUDE_PATH
|
||||
"example"
|
||||
"../example"
|
||||
"."
|
||||
"../include"
|
||||
)
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
"/home/anton/programs/libfort/tests/cmocka-1.1.0/build/src/CMakeFiles/cmocka_shared.dir/DependInfo.cmake"
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,141 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/anton/programs/libfort/tests/cmocka-1.1.0
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/anton/programs/libfort/tests/cmocka-1.1.0/build
|
||||
|
||||
# Include any dependencies generated for this target.
|
||||
include example/CMakeFiles/allocate_module_test.dir/depend.make
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include example/CMakeFiles/allocate_module_test.dir/progress.make
|
||||
|
||||
# Include the compile flags for this target's objects.
|
||||
include example/CMakeFiles/allocate_module_test.dir/flags.make
|
||||
|
||||
example/CMakeFiles/allocate_module_test.dir/allocate_module.c.o: example/CMakeFiles/allocate_module_test.dir/flags.make
|
||||
example/CMakeFiles/allocate_module_test.dir/allocate_module.c.o: ../example/allocate_module.c
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object example/CMakeFiles/allocate_module_test.dir/allocate_module.c.o"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) -DUNIT_TESTING=1 $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/allocate_module_test.dir/allocate_module.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/allocate_module.c
|
||||
|
||||
example/CMakeFiles/allocate_module_test.dir/allocate_module.c.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/allocate_module_test.dir/allocate_module.c.i"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) -DUNIT_TESTING=1 $(C_INCLUDES) $(C_FLAGS) -E /home/anton/programs/libfort/tests/cmocka-1.1.0/example/allocate_module.c > CMakeFiles/allocate_module_test.dir/allocate_module.c.i
|
||||
|
||||
example/CMakeFiles/allocate_module_test.dir/allocate_module.c.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/allocate_module_test.dir/allocate_module.c.s"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) -DUNIT_TESTING=1 $(C_INCLUDES) $(C_FLAGS) -S /home/anton/programs/libfort/tests/cmocka-1.1.0/example/allocate_module.c -o CMakeFiles/allocate_module_test.dir/allocate_module.c.s
|
||||
|
||||
example/CMakeFiles/allocate_module_test.dir/allocate_module.c.o.requires:
|
||||
|
||||
.PHONY : example/CMakeFiles/allocate_module_test.dir/allocate_module.c.o.requires
|
||||
|
||||
example/CMakeFiles/allocate_module_test.dir/allocate_module.c.o.provides: example/CMakeFiles/allocate_module_test.dir/allocate_module.c.o.requires
|
||||
$(MAKE) -f example/CMakeFiles/allocate_module_test.dir/build.make example/CMakeFiles/allocate_module_test.dir/allocate_module.c.o.provides.build
|
||||
.PHONY : example/CMakeFiles/allocate_module_test.dir/allocate_module.c.o.provides
|
||||
|
||||
example/CMakeFiles/allocate_module_test.dir/allocate_module.c.o.provides.build: example/CMakeFiles/allocate_module_test.dir/allocate_module.c.o
|
||||
|
||||
|
||||
example/CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o: example/CMakeFiles/allocate_module_test.dir/flags.make
|
||||
example/CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o: ../example/allocate_module_test.c
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building C object example/CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/allocate_module_test.c
|
||||
|
||||
example/CMakeFiles/allocate_module_test.dir/allocate_module_test.c.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/allocate_module_test.dir/allocate_module_test.c.i"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/anton/programs/libfort/tests/cmocka-1.1.0/example/allocate_module_test.c > CMakeFiles/allocate_module_test.dir/allocate_module_test.c.i
|
||||
|
||||
example/CMakeFiles/allocate_module_test.dir/allocate_module_test.c.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/allocate_module_test.dir/allocate_module_test.c.s"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/anton/programs/libfort/tests/cmocka-1.1.0/example/allocate_module_test.c -o CMakeFiles/allocate_module_test.dir/allocate_module_test.c.s
|
||||
|
||||
example/CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o.requires:
|
||||
|
||||
.PHONY : example/CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o.requires
|
||||
|
||||
example/CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o.provides: example/CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o.requires
|
||||
$(MAKE) -f example/CMakeFiles/allocate_module_test.dir/build.make example/CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o.provides.build
|
||||
.PHONY : example/CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o.provides
|
||||
|
||||
example/CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o.provides.build: example/CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o
|
||||
|
||||
|
||||
# Object files for target allocate_module_test
|
||||
allocate_module_test_OBJECTS = \
|
||||
"CMakeFiles/allocate_module_test.dir/allocate_module.c.o" \
|
||||
"CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o"
|
||||
|
||||
# External object files for target allocate_module_test
|
||||
allocate_module_test_EXTERNAL_OBJECTS =
|
||||
|
||||
example/allocate_module_test: example/CMakeFiles/allocate_module_test.dir/allocate_module.c.o
|
||||
example/allocate_module_test: example/CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o
|
||||
example/allocate_module_test: example/CMakeFiles/allocate_module_test.dir/build.make
|
||||
example/allocate_module_test: src/libcmocka.so.0.4.0
|
||||
example/allocate_module_test: example/CMakeFiles/allocate_module_test.dir/link.txt
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Linking C executable allocate_module_test"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/allocate_module_test.dir/link.txt --verbose=$(VERBOSE)
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
example/CMakeFiles/allocate_module_test.dir/build: example/allocate_module_test
|
||||
|
||||
.PHONY : example/CMakeFiles/allocate_module_test.dir/build
|
||||
|
||||
example/CMakeFiles/allocate_module_test.dir/requires: example/CMakeFiles/allocate_module_test.dir/allocate_module.c.o.requires
|
||||
example/CMakeFiles/allocate_module_test.dir/requires: example/CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o.requires
|
||||
|
||||
.PHONY : example/CMakeFiles/allocate_module_test.dir/requires
|
||||
|
||||
example/CMakeFiles/allocate_module_test.dir/clean:
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && $(CMAKE_COMMAND) -P CMakeFiles/allocate_module_test.dir/cmake_clean.cmake
|
||||
.PHONY : example/CMakeFiles/allocate_module_test.dir/clean
|
||||
|
||||
example/CMakeFiles/allocate_module_test.dir/depend:
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/anton/programs/libfort/tests/cmocka-1.1.0 /home/anton/programs/libfort/tests/cmocka-1.1.0/example /home/anton/programs/libfort/tests/cmocka-1.1.0/build /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/allocate_module_test.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : example/CMakeFiles/allocate_module_test.dir/depend
|
||||
|
@ -0,0 +1,11 @@
|
||||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/allocate_module_test.dir/allocate_module.c.o"
|
||||
"CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o"
|
||||
"allocate_module_test.pdb"
|
||||
"allocate_module_test"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang C)
|
||||
include(CMakeFiles/allocate_module_test.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
@ -0,0 +1,9 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
example/CMakeFiles/allocate_module_test.dir/allocate_module.c.o
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/allocate_module.c
|
||||
config.h
|
||||
example/CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o
|
||||
../include/cmocka.h
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/allocate_module_test.c
|
@ -0,0 +1,9 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
example/CMakeFiles/allocate_module_test.dir/allocate_module.c.o: ../example/allocate_module.c
|
||||
example/CMakeFiles/allocate_module_test.dir/allocate_module.c.o: config.h
|
||||
|
||||
example/CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o: ../include/cmocka.h
|
||||
example/CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o: ../example/allocate_module_test.c
|
||||
|
@ -0,0 +1,12 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
# compile C with /usr/bin/cc
|
||||
C_FLAGS = -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
|
||||
|
||||
C_DEFINES =
|
||||
|
||||
C_INCLUDES = -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build -I/home/anton/programs/libfort/tests/cmocka-1.1.0/include
|
||||
|
||||
# Custom defines: example/CMakeFiles/allocate_module_test.dir/allocate_module.c.o_DEFINES = UNIT_TESTING=1
|
||||
|
@ -0,0 +1 @@
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/allocate_module_test.dir/allocate_module.c.o CMakeFiles/allocate_module_test.dir/allocate_module_test.c.o -o allocate_module_test -Wl,-rpath,/home/anton/programs/libfort/tests/cmocka-1.1.0/build/src -rdynamic ../src/libcmocka.so.0.4.0
|
@ -0,0 +1,4 @@
|
||||
CMAKE_PROGRESS_1 = 1
|
||||
CMAKE_PROGRESS_2 = 2
|
||||
CMAKE_PROGRESS_3 = 3
|
||||
|
@ -0,0 +1,30 @@
|
||||
#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
|
||||
|
||||
#IncludeRegexScan: ^.*$
|
||||
|
||||
#IncludeRegexComplain: ^$
|
||||
|
||||
#IncludeRegexTransform:
|
||||
|
||||
../include/cmocka.h
|
||||
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_macro.c
|
||||
string.h
|
||||
-
|
||||
assert_macro.h
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_macro.h
|
||||
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_macro.h
|
||||
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_macro_test.c
|
||||
stdarg.h
|
||||
-
|
||||
stddef.h
|
||||
-
|
||||
setjmp.h
|
||||
-
|
||||
cmocka.h
|
||||
-
|
||||
assert_macro.h
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_macro.h
|
||||
|
@ -0,0 +1,26 @@
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
"C"
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
set(CMAKE_DEPENDS_CHECK_C
|
||||
"/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_macro.c" "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/assert_macro_test.dir/assert_macro.c.o"
|
||||
"/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_macro_test.c" "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o"
|
||||
)
|
||||
set(CMAKE_C_COMPILER_ID "GNU")
|
||||
|
||||
# The include file search paths:
|
||||
set(CMAKE_C_TARGET_INCLUDE_PATH
|
||||
"example"
|
||||
"../example"
|
||||
"."
|
||||
"../include"
|
||||
)
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
"/home/anton/programs/libfort/tests/cmocka-1.1.0/build/src/CMakeFiles/cmocka_shared.dir/DependInfo.cmake"
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,141 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/anton/programs/libfort/tests/cmocka-1.1.0
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/anton/programs/libfort/tests/cmocka-1.1.0/build
|
||||
|
||||
# Include any dependencies generated for this target.
|
||||
include example/CMakeFiles/assert_macro_test.dir/depend.make
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include example/CMakeFiles/assert_macro_test.dir/progress.make
|
||||
|
||||
# Include the compile flags for this target's objects.
|
||||
include example/CMakeFiles/assert_macro_test.dir/flags.make
|
||||
|
||||
example/CMakeFiles/assert_macro_test.dir/assert_macro.c.o: example/CMakeFiles/assert_macro_test.dir/flags.make
|
||||
example/CMakeFiles/assert_macro_test.dir/assert_macro.c.o: ../example/assert_macro.c
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object example/CMakeFiles/assert_macro_test.dir/assert_macro.c.o"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/assert_macro_test.dir/assert_macro.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_macro.c
|
||||
|
||||
example/CMakeFiles/assert_macro_test.dir/assert_macro.c.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/assert_macro_test.dir/assert_macro.c.i"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_macro.c > CMakeFiles/assert_macro_test.dir/assert_macro.c.i
|
||||
|
||||
example/CMakeFiles/assert_macro_test.dir/assert_macro.c.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/assert_macro_test.dir/assert_macro.c.s"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_macro.c -o CMakeFiles/assert_macro_test.dir/assert_macro.c.s
|
||||
|
||||
example/CMakeFiles/assert_macro_test.dir/assert_macro.c.o.requires:
|
||||
|
||||
.PHONY : example/CMakeFiles/assert_macro_test.dir/assert_macro.c.o.requires
|
||||
|
||||
example/CMakeFiles/assert_macro_test.dir/assert_macro.c.o.provides: example/CMakeFiles/assert_macro_test.dir/assert_macro.c.o.requires
|
||||
$(MAKE) -f example/CMakeFiles/assert_macro_test.dir/build.make example/CMakeFiles/assert_macro_test.dir/assert_macro.c.o.provides.build
|
||||
.PHONY : example/CMakeFiles/assert_macro_test.dir/assert_macro.c.o.provides
|
||||
|
||||
example/CMakeFiles/assert_macro_test.dir/assert_macro.c.o.provides.build: example/CMakeFiles/assert_macro_test.dir/assert_macro.c.o
|
||||
|
||||
|
||||
example/CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o: example/CMakeFiles/assert_macro_test.dir/flags.make
|
||||
example/CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o: ../example/assert_macro_test.c
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building C object example/CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_macro_test.c
|
||||
|
||||
example/CMakeFiles/assert_macro_test.dir/assert_macro_test.c.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/assert_macro_test.dir/assert_macro_test.c.i"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_macro_test.c > CMakeFiles/assert_macro_test.dir/assert_macro_test.c.i
|
||||
|
||||
example/CMakeFiles/assert_macro_test.dir/assert_macro_test.c.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/assert_macro_test.dir/assert_macro_test.c.s"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_macro_test.c -o CMakeFiles/assert_macro_test.dir/assert_macro_test.c.s
|
||||
|
||||
example/CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o.requires:
|
||||
|
||||
.PHONY : example/CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o.requires
|
||||
|
||||
example/CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o.provides: example/CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o.requires
|
||||
$(MAKE) -f example/CMakeFiles/assert_macro_test.dir/build.make example/CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o.provides.build
|
||||
.PHONY : example/CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o.provides
|
||||
|
||||
example/CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o.provides.build: example/CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o
|
||||
|
||||
|
||||
# Object files for target assert_macro_test
|
||||
assert_macro_test_OBJECTS = \
|
||||
"CMakeFiles/assert_macro_test.dir/assert_macro.c.o" \
|
||||
"CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o"
|
||||
|
||||
# External object files for target assert_macro_test
|
||||
assert_macro_test_EXTERNAL_OBJECTS =
|
||||
|
||||
example/assert_macro_test: example/CMakeFiles/assert_macro_test.dir/assert_macro.c.o
|
||||
example/assert_macro_test: example/CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o
|
||||
example/assert_macro_test: example/CMakeFiles/assert_macro_test.dir/build.make
|
||||
example/assert_macro_test: src/libcmocka.so.0.4.0
|
||||
example/assert_macro_test: example/CMakeFiles/assert_macro_test.dir/link.txt
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Linking C executable assert_macro_test"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/assert_macro_test.dir/link.txt --verbose=$(VERBOSE)
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
example/CMakeFiles/assert_macro_test.dir/build: example/assert_macro_test
|
||||
|
||||
.PHONY : example/CMakeFiles/assert_macro_test.dir/build
|
||||
|
||||
example/CMakeFiles/assert_macro_test.dir/requires: example/CMakeFiles/assert_macro_test.dir/assert_macro.c.o.requires
|
||||
example/CMakeFiles/assert_macro_test.dir/requires: example/CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o.requires
|
||||
|
||||
.PHONY : example/CMakeFiles/assert_macro_test.dir/requires
|
||||
|
||||
example/CMakeFiles/assert_macro_test.dir/clean:
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && $(CMAKE_COMMAND) -P CMakeFiles/assert_macro_test.dir/cmake_clean.cmake
|
||||
.PHONY : example/CMakeFiles/assert_macro_test.dir/clean
|
||||
|
||||
example/CMakeFiles/assert_macro_test.dir/depend:
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/anton/programs/libfort/tests/cmocka-1.1.0 /home/anton/programs/libfort/tests/cmocka-1.1.0/example /home/anton/programs/libfort/tests/cmocka-1.1.0/build /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/assert_macro_test.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : example/CMakeFiles/assert_macro_test.dir/depend
|
||||
|
@ -0,0 +1,11 @@
|
||||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/assert_macro_test.dir/assert_macro.c.o"
|
||||
"CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o"
|
||||
"assert_macro_test.pdb"
|
||||
"assert_macro_test"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang C)
|
||||
include(CMakeFiles/assert_macro_test.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
@ -0,0 +1,10 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
example/CMakeFiles/assert_macro_test.dir/assert_macro.c.o
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_macro.c
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_macro.h
|
||||
example/CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o
|
||||
../include/cmocka.h
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_macro.h
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_macro_test.c
|
@ -0,0 +1,10 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
example/CMakeFiles/assert_macro_test.dir/assert_macro.c.o: ../example/assert_macro.c
|
||||
example/CMakeFiles/assert_macro_test.dir/assert_macro.c.o: ../example/assert_macro.h
|
||||
|
||||
example/CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o: ../include/cmocka.h
|
||||
example/CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o: ../example/assert_macro.h
|
||||
example/CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o: ../example/assert_macro_test.c
|
||||
|
@ -0,0 +1,10 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
# compile C with /usr/bin/cc
|
||||
C_FLAGS = -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
|
||||
|
||||
C_DEFINES =
|
||||
|
||||
C_INCLUDES = -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build -I/home/anton/programs/libfort/tests/cmocka-1.1.0/include
|
||||
|
@ -0,0 +1 @@
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/assert_macro_test.dir/assert_macro.c.o CMakeFiles/assert_macro_test.dir/assert_macro_test.c.o -o assert_macro_test -Wl,-rpath,/home/anton/programs/libfort/tests/cmocka-1.1.0/build/src -rdynamic ../src/libcmocka.so.0.4.0
|
@ -0,0 +1,4 @@
|
||||
CMAKE_PROGRESS_1 = 4
|
||||
CMAKE_PROGRESS_2 = 5
|
||||
CMAKE_PROGRESS_3 = 6
|
||||
|
@ -0,0 +1,30 @@
|
||||
#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
|
||||
|
||||
#IncludeRegexScan: ^.*$
|
||||
|
||||
#IncludeRegexComplain: ^$
|
||||
|
||||
#IncludeRegexTransform:
|
||||
|
||||
../include/cmocka.h
|
||||
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_module.c
|
||||
assert.h
|
||||
-
|
||||
assert_module.h
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_module.h
|
||||
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_module.h
|
||||
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_module_test.c
|
||||
stdarg.h
|
||||
-
|
||||
stddef.h
|
||||
-
|
||||
setjmp.h
|
||||
-
|
||||
cmocka.h
|
||||
-
|
||||
assert_module.h
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_module.h
|
||||
|
@ -0,0 +1,26 @@
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
"C"
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
set(CMAKE_DEPENDS_CHECK_C
|
||||
"/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_module.c" "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/assert_module_test.dir/assert_module.c.o"
|
||||
"/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_module_test.c" "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/assert_module_test.dir/assert_module_test.c.o"
|
||||
)
|
||||
set(CMAKE_C_COMPILER_ID "GNU")
|
||||
|
||||
# The include file search paths:
|
||||
set(CMAKE_C_TARGET_INCLUDE_PATH
|
||||
"example"
|
||||
"../example"
|
||||
"."
|
||||
"../include"
|
||||
)
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
"/home/anton/programs/libfort/tests/cmocka-1.1.0/build/src/CMakeFiles/cmocka_shared.dir/DependInfo.cmake"
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,141 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/anton/programs/libfort/tests/cmocka-1.1.0
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/anton/programs/libfort/tests/cmocka-1.1.0/build
|
||||
|
||||
# Include any dependencies generated for this target.
|
||||
include example/CMakeFiles/assert_module_test.dir/depend.make
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include example/CMakeFiles/assert_module_test.dir/progress.make
|
||||
|
||||
# Include the compile flags for this target's objects.
|
||||
include example/CMakeFiles/assert_module_test.dir/flags.make
|
||||
|
||||
example/CMakeFiles/assert_module_test.dir/assert_module.c.o: example/CMakeFiles/assert_module_test.dir/flags.make
|
||||
example/CMakeFiles/assert_module_test.dir/assert_module.c.o: ../example/assert_module.c
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object example/CMakeFiles/assert_module_test.dir/assert_module.c.o"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) -DUNIT_TESTING=1 $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/assert_module_test.dir/assert_module.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_module.c
|
||||
|
||||
example/CMakeFiles/assert_module_test.dir/assert_module.c.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/assert_module_test.dir/assert_module.c.i"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) -DUNIT_TESTING=1 $(C_INCLUDES) $(C_FLAGS) -E /home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_module.c > CMakeFiles/assert_module_test.dir/assert_module.c.i
|
||||
|
||||
example/CMakeFiles/assert_module_test.dir/assert_module.c.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/assert_module_test.dir/assert_module.c.s"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) -DUNIT_TESTING=1 $(C_INCLUDES) $(C_FLAGS) -S /home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_module.c -o CMakeFiles/assert_module_test.dir/assert_module.c.s
|
||||
|
||||
example/CMakeFiles/assert_module_test.dir/assert_module.c.o.requires:
|
||||
|
||||
.PHONY : example/CMakeFiles/assert_module_test.dir/assert_module.c.o.requires
|
||||
|
||||
example/CMakeFiles/assert_module_test.dir/assert_module.c.o.provides: example/CMakeFiles/assert_module_test.dir/assert_module.c.o.requires
|
||||
$(MAKE) -f example/CMakeFiles/assert_module_test.dir/build.make example/CMakeFiles/assert_module_test.dir/assert_module.c.o.provides.build
|
||||
.PHONY : example/CMakeFiles/assert_module_test.dir/assert_module.c.o.provides
|
||||
|
||||
example/CMakeFiles/assert_module_test.dir/assert_module.c.o.provides.build: example/CMakeFiles/assert_module_test.dir/assert_module.c.o
|
||||
|
||||
|
||||
example/CMakeFiles/assert_module_test.dir/assert_module_test.c.o: example/CMakeFiles/assert_module_test.dir/flags.make
|
||||
example/CMakeFiles/assert_module_test.dir/assert_module_test.c.o: ../example/assert_module_test.c
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building C object example/CMakeFiles/assert_module_test.dir/assert_module_test.c.o"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/assert_module_test.dir/assert_module_test.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_module_test.c
|
||||
|
||||
example/CMakeFiles/assert_module_test.dir/assert_module_test.c.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/assert_module_test.dir/assert_module_test.c.i"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_module_test.c > CMakeFiles/assert_module_test.dir/assert_module_test.c.i
|
||||
|
||||
example/CMakeFiles/assert_module_test.dir/assert_module_test.c.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/assert_module_test.dir/assert_module_test.c.s"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_module_test.c -o CMakeFiles/assert_module_test.dir/assert_module_test.c.s
|
||||
|
||||
example/CMakeFiles/assert_module_test.dir/assert_module_test.c.o.requires:
|
||||
|
||||
.PHONY : example/CMakeFiles/assert_module_test.dir/assert_module_test.c.o.requires
|
||||
|
||||
example/CMakeFiles/assert_module_test.dir/assert_module_test.c.o.provides: example/CMakeFiles/assert_module_test.dir/assert_module_test.c.o.requires
|
||||
$(MAKE) -f example/CMakeFiles/assert_module_test.dir/build.make example/CMakeFiles/assert_module_test.dir/assert_module_test.c.o.provides.build
|
||||
.PHONY : example/CMakeFiles/assert_module_test.dir/assert_module_test.c.o.provides
|
||||
|
||||
example/CMakeFiles/assert_module_test.dir/assert_module_test.c.o.provides.build: example/CMakeFiles/assert_module_test.dir/assert_module_test.c.o
|
||||
|
||||
|
||||
# Object files for target assert_module_test
|
||||
assert_module_test_OBJECTS = \
|
||||
"CMakeFiles/assert_module_test.dir/assert_module.c.o" \
|
||||
"CMakeFiles/assert_module_test.dir/assert_module_test.c.o"
|
||||
|
||||
# External object files for target assert_module_test
|
||||
assert_module_test_EXTERNAL_OBJECTS =
|
||||
|
||||
example/assert_module_test: example/CMakeFiles/assert_module_test.dir/assert_module.c.o
|
||||
example/assert_module_test: example/CMakeFiles/assert_module_test.dir/assert_module_test.c.o
|
||||
example/assert_module_test: example/CMakeFiles/assert_module_test.dir/build.make
|
||||
example/assert_module_test: src/libcmocka.so.0.4.0
|
||||
example/assert_module_test: example/CMakeFiles/assert_module_test.dir/link.txt
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Linking C executable assert_module_test"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/assert_module_test.dir/link.txt --verbose=$(VERBOSE)
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
example/CMakeFiles/assert_module_test.dir/build: example/assert_module_test
|
||||
|
||||
.PHONY : example/CMakeFiles/assert_module_test.dir/build
|
||||
|
||||
example/CMakeFiles/assert_module_test.dir/requires: example/CMakeFiles/assert_module_test.dir/assert_module.c.o.requires
|
||||
example/CMakeFiles/assert_module_test.dir/requires: example/CMakeFiles/assert_module_test.dir/assert_module_test.c.o.requires
|
||||
|
||||
.PHONY : example/CMakeFiles/assert_module_test.dir/requires
|
||||
|
||||
example/CMakeFiles/assert_module_test.dir/clean:
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && $(CMAKE_COMMAND) -P CMakeFiles/assert_module_test.dir/cmake_clean.cmake
|
||||
.PHONY : example/CMakeFiles/assert_module_test.dir/clean
|
||||
|
||||
example/CMakeFiles/assert_module_test.dir/depend:
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/anton/programs/libfort/tests/cmocka-1.1.0 /home/anton/programs/libfort/tests/cmocka-1.1.0/example /home/anton/programs/libfort/tests/cmocka-1.1.0/build /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/assert_module_test.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : example/CMakeFiles/assert_module_test.dir/depend
|
||||
|
@ -0,0 +1,11 @@
|
||||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/assert_module_test.dir/assert_module.c.o"
|
||||
"CMakeFiles/assert_module_test.dir/assert_module_test.c.o"
|
||||
"assert_module_test.pdb"
|
||||
"assert_module_test"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang C)
|
||||
include(CMakeFiles/assert_module_test.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
@ -0,0 +1,10 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
example/CMakeFiles/assert_module_test.dir/assert_module.c.o
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_module.c
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_module.h
|
||||
example/CMakeFiles/assert_module_test.dir/assert_module_test.c.o
|
||||
../include/cmocka.h
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_module.h
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/assert_module_test.c
|
@ -0,0 +1,10 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
example/CMakeFiles/assert_module_test.dir/assert_module.c.o: ../example/assert_module.c
|
||||
example/CMakeFiles/assert_module_test.dir/assert_module.c.o: ../example/assert_module.h
|
||||
|
||||
example/CMakeFiles/assert_module_test.dir/assert_module_test.c.o: ../include/cmocka.h
|
||||
example/CMakeFiles/assert_module_test.dir/assert_module_test.c.o: ../example/assert_module.h
|
||||
example/CMakeFiles/assert_module_test.dir/assert_module_test.c.o: ../example/assert_module_test.c
|
||||
|
@ -0,0 +1,12 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
# compile C with /usr/bin/cc
|
||||
C_FLAGS = -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
|
||||
|
||||
C_DEFINES =
|
||||
|
||||
C_INCLUDES = -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build -I/home/anton/programs/libfort/tests/cmocka-1.1.0/include
|
||||
|
||||
# Custom defines: example/CMakeFiles/assert_module_test.dir/assert_module.c.o_DEFINES = UNIT_TESTING=1
|
||||
|
@ -0,0 +1 @@
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/assert_module_test.dir/assert_module.c.o CMakeFiles/assert_module_test.dir/assert_module_test.c.o -o assert_module_test -Wl,-rpath,/home/anton/programs/libfort/tests/cmocka-1.1.0/build/src -rdynamic ../src/libcmocka.so.0.4.0
|
@ -0,0 +1,4 @@
|
||||
CMAKE_PROGRESS_1 = 7
|
||||
CMAKE_PROGRESS_2 = 8
|
||||
CMAKE_PROGRESS_3 = 9
|
||||
|
@ -0,0 +1,38 @@
|
||||
#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
|
||||
|
||||
#IncludeRegexScan: ^.*$
|
||||
|
||||
#IncludeRegexComplain: ^$
|
||||
|
||||
#IncludeRegexTransform:
|
||||
|
||||
../include/cmocka.h
|
||||
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/calculator.c
|
||||
config.h
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/config.h
|
||||
assert.h
|
||||
-
|
||||
malloc.h
|
||||
-
|
||||
stdio.h
|
||||
-
|
||||
stdlib.h
|
||||
-
|
||||
string.h
|
||||
-
|
||||
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/calculator_test.c
|
||||
stdarg.h
|
||||
-
|
||||
stddef.h
|
||||
-
|
||||
setjmp.h
|
||||
-
|
||||
cmocka.h
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/cmocka.h
|
||||
stdio.h
|
||||
-
|
||||
|
||||
config.h
|
||||
|
@ -0,0 +1,26 @@
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
"C"
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
set(CMAKE_DEPENDS_CHECK_C
|
||||
"/home/anton/programs/libfort/tests/cmocka-1.1.0/example/calculator.c" "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/calculator_test.dir/calculator.c.o"
|
||||
"/home/anton/programs/libfort/tests/cmocka-1.1.0/example/calculator_test.c" "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/calculator_test.dir/calculator_test.c.o"
|
||||
)
|
||||
set(CMAKE_C_COMPILER_ID "GNU")
|
||||
|
||||
# The include file search paths:
|
||||
set(CMAKE_C_TARGET_INCLUDE_PATH
|
||||
"example"
|
||||
"../example"
|
||||
"."
|
||||
"../include"
|
||||
)
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
"/home/anton/programs/libfort/tests/cmocka-1.1.0/build/src/CMakeFiles/cmocka_shared.dir/DependInfo.cmake"
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
@ -0,0 +1,141 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/anton/programs/libfort/tests/cmocka-1.1.0
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/anton/programs/libfort/tests/cmocka-1.1.0/build
|
||||
|
||||
# Include any dependencies generated for this target.
|
||||
include example/CMakeFiles/calculator_test.dir/depend.make
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include example/CMakeFiles/calculator_test.dir/progress.make
|
||||
|
||||
# Include the compile flags for this target's objects.
|
||||
include example/CMakeFiles/calculator_test.dir/flags.make
|
||||
|
||||
example/CMakeFiles/calculator_test.dir/calculator.c.o: example/CMakeFiles/calculator_test.dir/flags.make
|
||||
example/CMakeFiles/calculator_test.dir/calculator.c.o: ../example/calculator.c
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object example/CMakeFiles/calculator_test.dir/calculator.c.o"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) -DUNIT_TESTING=1 $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/calculator_test.dir/calculator.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/calculator.c
|
||||
|
||||
example/CMakeFiles/calculator_test.dir/calculator.c.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/calculator_test.dir/calculator.c.i"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) -DUNIT_TESTING=1 $(C_INCLUDES) $(C_FLAGS) -E /home/anton/programs/libfort/tests/cmocka-1.1.0/example/calculator.c > CMakeFiles/calculator_test.dir/calculator.c.i
|
||||
|
||||
example/CMakeFiles/calculator_test.dir/calculator.c.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/calculator_test.dir/calculator.c.s"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) -DUNIT_TESTING=1 $(C_INCLUDES) $(C_FLAGS) -S /home/anton/programs/libfort/tests/cmocka-1.1.0/example/calculator.c -o CMakeFiles/calculator_test.dir/calculator.c.s
|
||||
|
||||
example/CMakeFiles/calculator_test.dir/calculator.c.o.requires:
|
||||
|
||||
.PHONY : example/CMakeFiles/calculator_test.dir/calculator.c.o.requires
|
||||
|
||||
example/CMakeFiles/calculator_test.dir/calculator.c.o.provides: example/CMakeFiles/calculator_test.dir/calculator.c.o.requires
|
||||
$(MAKE) -f example/CMakeFiles/calculator_test.dir/build.make example/CMakeFiles/calculator_test.dir/calculator.c.o.provides.build
|
||||
.PHONY : example/CMakeFiles/calculator_test.dir/calculator.c.o.provides
|
||||
|
||||
example/CMakeFiles/calculator_test.dir/calculator.c.o.provides.build: example/CMakeFiles/calculator_test.dir/calculator.c.o
|
||||
|
||||
|
||||
example/CMakeFiles/calculator_test.dir/calculator_test.c.o: example/CMakeFiles/calculator_test.dir/flags.make
|
||||
example/CMakeFiles/calculator_test.dir/calculator_test.c.o: ../example/calculator_test.c
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building C object example/CMakeFiles/calculator_test.dir/calculator_test.c.o"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/calculator_test.dir/calculator_test.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/calculator_test.c
|
||||
|
||||
example/CMakeFiles/calculator_test.dir/calculator_test.c.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/calculator_test.dir/calculator_test.c.i"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/anton/programs/libfort/tests/cmocka-1.1.0/example/calculator_test.c > CMakeFiles/calculator_test.dir/calculator_test.c.i
|
||||
|
||||
example/CMakeFiles/calculator_test.dir/calculator_test.c.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/calculator_test.dir/calculator_test.c.s"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/anton/programs/libfort/tests/cmocka-1.1.0/example/calculator_test.c -o CMakeFiles/calculator_test.dir/calculator_test.c.s
|
||||
|
||||
example/CMakeFiles/calculator_test.dir/calculator_test.c.o.requires:
|
||||
|
||||
.PHONY : example/CMakeFiles/calculator_test.dir/calculator_test.c.o.requires
|
||||
|
||||
example/CMakeFiles/calculator_test.dir/calculator_test.c.o.provides: example/CMakeFiles/calculator_test.dir/calculator_test.c.o.requires
|
||||
$(MAKE) -f example/CMakeFiles/calculator_test.dir/build.make example/CMakeFiles/calculator_test.dir/calculator_test.c.o.provides.build
|
||||
.PHONY : example/CMakeFiles/calculator_test.dir/calculator_test.c.o.provides
|
||||
|
||||
example/CMakeFiles/calculator_test.dir/calculator_test.c.o.provides.build: example/CMakeFiles/calculator_test.dir/calculator_test.c.o
|
||||
|
||||
|
||||
# Object files for target calculator_test
|
||||
calculator_test_OBJECTS = \
|
||||
"CMakeFiles/calculator_test.dir/calculator.c.o" \
|
||||
"CMakeFiles/calculator_test.dir/calculator_test.c.o"
|
||||
|
||||
# External object files for target calculator_test
|
||||
calculator_test_EXTERNAL_OBJECTS =
|
||||
|
||||
example/calculator_test: example/CMakeFiles/calculator_test.dir/calculator.c.o
|
||||
example/calculator_test: example/CMakeFiles/calculator_test.dir/calculator_test.c.o
|
||||
example/calculator_test: example/CMakeFiles/calculator_test.dir/build.make
|
||||
example/calculator_test: src/libcmocka.so.0.4.0
|
||||
example/calculator_test: example/CMakeFiles/calculator_test.dir/link.txt
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Linking C executable calculator_test"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/calculator_test.dir/link.txt --verbose=$(VERBOSE)
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
example/CMakeFiles/calculator_test.dir/build: example/calculator_test
|
||||
|
||||
.PHONY : example/CMakeFiles/calculator_test.dir/build
|
||||
|
||||
example/CMakeFiles/calculator_test.dir/requires: example/CMakeFiles/calculator_test.dir/calculator.c.o.requires
|
||||
example/CMakeFiles/calculator_test.dir/requires: example/CMakeFiles/calculator_test.dir/calculator_test.c.o.requires
|
||||
|
||||
.PHONY : example/CMakeFiles/calculator_test.dir/requires
|
||||
|
||||
example/CMakeFiles/calculator_test.dir/clean:
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && $(CMAKE_COMMAND) -P CMakeFiles/calculator_test.dir/cmake_clean.cmake
|
||||
.PHONY : example/CMakeFiles/calculator_test.dir/clean
|
||||
|
||||
example/CMakeFiles/calculator_test.dir/depend:
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/anton/programs/libfort/tests/cmocka-1.1.0 /home/anton/programs/libfort/tests/cmocka-1.1.0/example /home/anton/programs/libfort/tests/cmocka-1.1.0/build /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/calculator_test.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : example/CMakeFiles/calculator_test.dir/depend
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,11 @@
|
||||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/calculator_test.dir/calculator.c.o"
|
||||
"CMakeFiles/calculator_test.dir/calculator_test.c.o"
|
||||
"calculator_test.pdb"
|
||||
"calculator_test"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang C)
|
||||
include(CMakeFiles/calculator_test.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
@ -0,0 +1,9 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
example/CMakeFiles/calculator_test.dir/calculator.c.o
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/calculator.c
|
||||
config.h
|
||||
example/CMakeFiles/calculator_test.dir/calculator_test.c.o
|
||||
../include/cmocka.h
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/calculator_test.c
|
@ -0,0 +1,9 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
example/CMakeFiles/calculator_test.dir/calculator.c.o: ../example/calculator.c
|
||||
example/CMakeFiles/calculator_test.dir/calculator.c.o: config.h
|
||||
|
||||
example/CMakeFiles/calculator_test.dir/calculator_test.c.o: ../include/cmocka.h
|
||||
example/CMakeFiles/calculator_test.dir/calculator_test.c.o: ../example/calculator_test.c
|
||||
|
@ -0,0 +1,12 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
# compile C with /usr/bin/cc
|
||||
C_FLAGS = -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
|
||||
|
||||
C_DEFINES =
|
||||
|
||||
C_INCLUDES = -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/example -I/home/anton/programs/libfort/tests/cmocka-1.1.0/build -I/home/anton/programs/libfort/tests/cmocka-1.1.0/include
|
||||
|
||||
# Custom defines: example/CMakeFiles/calculator_test.dir/calculator.c.o_DEFINES = UNIT_TESTING=1
|
||||
|
@ -0,0 +1 @@
|
||||
/usr/bin/cc -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -Wundef -fPIC -fstack-protector -D_GNU_SOURCE -D_LARGEFILE64_SOURCE CMakeFiles/calculator_test.dir/calculator.c.o CMakeFiles/calculator_test.dir/calculator_test.c.o -o calculator_test -Wl,-rpath,/home/anton/programs/libfort/tests/cmocka-1.1.0/build/src -rdynamic ../src/libcmocka.so.0.4.0
|
@ -0,0 +1,4 @@
|
||||
CMAKE_PROGRESS_1 = 10
|
||||
CMAKE_PROGRESS_2 = 11
|
||||
CMAKE_PROGRESS_3 = 12
|
||||
|
@ -0,0 +1,32 @@
|
||||
#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
|
||||
|
||||
#IncludeRegexScan: ^.*$
|
||||
|
||||
#IncludeRegexComplain: ^$
|
||||
|
||||
#IncludeRegexTransform:
|
||||
|
||||
../example/database.h
|
||||
|
||||
../include/cmocka.h
|
||||
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/customer_database.c
|
||||
stddef.h
|
||||
-
|
||||
stdio.h
|
||||
-
|
||||
database.h
|
||||
-
|
||||
|
||||
/home/anton/programs/libfort/tests/cmocka-1.1.0/example/customer_database_test.c
|
||||
stdarg.h
|
||||
-
|
||||
stddef.h
|
||||
-
|
||||
setjmp.h
|
||||
-
|
||||
cmocka.h
|
||||
-
|
||||
database.h
|
||||
-
|
||||
|
@ -0,0 +1,26 @@
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
"C"
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
set(CMAKE_DEPENDS_CHECK_C
|
||||
"/home/anton/programs/libfort/tests/cmocka-1.1.0/example/customer_database.c" "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/customer_database_test.dir/customer_database.c.o"
|
||||
"/home/anton/programs/libfort/tests/cmocka-1.1.0/example/customer_database_test.c" "/home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/customer_database_test.dir/customer_database_test.c.o"
|
||||
)
|
||||
set(CMAKE_C_COMPILER_ID "GNU")
|
||||
|
||||
# The include file search paths:
|
||||
set(CMAKE_C_TARGET_INCLUDE_PATH
|
||||
"example"
|
||||
"../example"
|
||||
"."
|
||||
"../include"
|
||||
)
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
"/home/anton/programs/libfort/tests/cmocka-1.1.0/build/src/CMakeFiles/cmocka_shared.dir/DependInfo.cmake"
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
@ -0,0 +1,141 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.7
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /home/anton/programs/libfort/tests/cmocka-1.1.0
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /home/anton/programs/libfort/tests/cmocka-1.1.0/build
|
||||
|
||||
# Include any dependencies generated for this target.
|
||||
include example/CMakeFiles/customer_database_test.dir/depend.make
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include example/CMakeFiles/customer_database_test.dir/progress.make
|
||||
|
||||
# Include the compile flags for this target's objects.
|
||||
include example/CMakeFiles/customer_database_test.dir/flags.make
|
||||
|
||||
example/CMakeFiles/customer_database_test.dir/customer_database.c.o: example/CMakeFiles/customer_database_test.dir/flags.make
|
||||
example/CMakeFiles/customer_database_test.dir/customer_database.c.o: ../example/customer_database.c
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object example/CMakeFiles/customer_database_test.dir/customer_database.c.o"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/customer_database_test.dir/customer_database.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/customer_database.c
|
||||
|
||||
example/CMakeFiles/customer_database_test.dir/customer_database.c.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/customer_database_test.dir/customer_database.c.i"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/anton/programs/libfort/tests/cmocka-1.1.0/example/customer_database.c > CMakeFiles/customer_database_test.dir/customer_database.c.i
|
||||
|
||||
example/CMakeFiles/customer_database_test.dir/customer_database.c.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/customer_database_test.dir/customer_database.c.s"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/anton/programs/libfort/tests/cmocka-1.1.0/example/customer_database.c -o CMakeFiles/customer_database_test.dir/customer_database.c.s
|
||||
|
||||
example/CMakeFiles/customer_database_test.dir/customer_database.c.o.requires:
|
||||
|
||||
.PHONY : example/CMakeFiles/customer_database_test.dir/customer_database.c.o.requires
|
||||
|
||||
example/CMakeFiles/customer_database_test.dir/customer_database.c.o.provides: example/CMakeFiles/customer_database_test.dir/customer_database.c.o.requires
|
||||
$(MAKE) -f example/CMakeFiles/customer_database_test.dir/build.make example/CMakeFiles/customer_database_test.dir/customer_database.c.o.provides.build
|
||||
.PHONY : example/CMakeFiles/customer_database_test.dir/customer_database.c.o.provides
|
||||
|
||||
example/CMakeFiles/customer_database_test.dir/customer_database.c.o.provides.build: example/CMakeFiles/customer_database_test.dir/customer_database.c.o
|
||||
|
||||
|
||||
example/CMakeFiles/customer_database_test.dir/customer_database_test.c.o: example/CMakeFiles/customer_database_test.dir/flags.make
|
||||
example/CMakeFiles/customer_database_test.dir/customer_database_test.c.o: ../example/customer_database_test.c
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building C object example/CMakeFiles/customer_database_test.dir/customer_database_test.c.o"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/customer_database_test.dir/customer_database_test.c.o -c /home/anton/programs/libfort/tests/cmocka-1.1.0/example/customer_database_test.c
|
||||
|
||||
example/CMakeFiles/customer_database_test.dir/customer_database_test.c.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/customer_database_test.dir/customer_database_test.c.i"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/anton/programs/libfort/tests/cmocka-1.1.0/example/customer_database_test.c > CMakeFiles/customer_database_test.dir/customer_database_test.c.i
|
||||
|
||||
example/CMakeFiles/customer_database_test.dir/customer_database_test.c.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/customer_database_test.dir/customer_database_test.c.s"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/anton/programs/libfort/tests/cmocka-1.1.0/example/customer_database_test.c -o CMakeFiles/customer_database_test.dir/customer_database_test.c.s
|
||||
|
||||
example/CMakeFiles/customer_database_test.dir/customer_database_test.c.o.requires:
|
||||
|
||||
.PHONY : example/CMakeFiles/customer_database_test.dir/customer_database_test.c.o.requires
|
||||
|
||||
example/CMakeFiles/customer_database_test.dir/customer_database_test.c.o.provides: example/CMakeFiles/customer_database_test.dir/customer_database_test.c.o.requires
|
||||
$(MAKE) -f example/CMakeFiles/customer_database_test.dir/build.make example/CMakeFiles/customer_database_test.dir/customer_database_test.c.o.provides.build
|
||||
.PHONY : example/CMakeFiles/customer_database_test.dir/customer_database_test.c.o.provides
|
||||
|
||||
example/CMakeFiles/customer_database_test.dir/customer_database_test.c.o.provides.build: example/CMakeFiles/customer_database_test.dir/customer_database_test.c.o
|
||||
|
||||
|
||||
# Object files for target customer_database_test
|
||||
customer_database_test_OBJECTS = \
|
||||
"CMakeFiles/customer_database_test.dir/customer_database.c.o" \
|
||||
"CMakeFiles/customer_database_test.dir/customer_database_test.c.o"
|
||||
|
||||
# External object files for target customer_database_test
|
||||
customer_database_test_EXTERNAL_OBJECTS =
|
||||
|
||||
example/customer_database_test: example/CMakeFiles/customer_database_test.dir/customer_database.c.o
|
||||
example/customer_database_test: example/CMakeFiles/customer_database_test.dir/customer_database_test.c.o
|
||||
example/customer_database_test: example/CMakeFiles/customer_database_test.dir/build.make
|
||||
example/customer_database_test: src/libcmocka.so.0.4.0
|
||||
example/customer_database_test: example/CMakeFiles/customer_database_test.dir/link.txt
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/anton/programs/libfort/tests/cmocka-1.1.0/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Linking C executable customer_database_test"
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/customer_database_test.dir/link.txt --verbose=$(VERBOSE)
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
example/CMakeFiles/customer_database_test.dir/build: example/customer_database_test
|
||||
|
||||
.PHONY : example/CMakeFiles/customer_database_test.dir/build
|
||||
|
||||
example/CMakeFiles/customer_database_test.dir/requires: example/CMakeFiles/customer_database_test.dir/customer_database.c.o.requires
|
||||
example/CMakeFiles/customer_database_test.dir/requires: example/CMakeFiles/customer_database_test.dir/customer_database_test.c.o.requires
|
||||
|
||||
.PHONY : example/CMakeFiles/customer_database_test.dir/requires
|
||||
|
||||
example/CMakeFiles/customer_database_test.dir/clean:
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example && $(CMAKE_COMMAND) -P CMakeFiles/customer_database_test.dir/cmake_clean.cmake
|
||||
.PHONY : example/CMakeFiles/customer_database_test.dir/clean
|
||||
|
||||
example/CMakeFiles/customer_database_test.dir/depend:
|
||||
cd /home/anton/programs/libfort/tests/cmocka-1.1.0/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/anton/programs/libfort/tests/cmocka-1.1.0 /home/anton/programs/libfort/tests/cmocka-1.1.0/example /home/anton/programs/libfort/tests/cmocka-1.1.0/build /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example /home/anton/programs/libfort/tests/cmocka-1.1.0/build/example/CMakeFiles/customer_database_test.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : example/CMakeFiles/customer_database_test.dir/depend
|
||||
|
@ -0,0 +1,11 @@
|
||||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/customer_database_test.dir/customer_database.c.o"
|
||||
"CMakeFiles/customer_database_test.dir/customer_database_test.c.o"
|
||||
"customer_database_test.pdb"
|
||||
"customer_database_test"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang C)
|
||||
include(CMakeFiles/customer_database_test.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user