File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22cmake_minimum_required (VERSION 3.1 )
33project (createstructure)
44
5- add_definitions ("-DCMAKE_C_COMPILER=/usr/bin/gcc" )
6- add_definitions ("-std=c99 -ggdb3 -O0 -pedantic-errors -Wall -Wextra -fpie $(python3-config --cflags --embed) -o 'createstructure.out' 'createstructure.c' $(python3-config --embed --ldflags) && ./createstructure.out" )
7-
85add_executable (createstructure createstructure.c )
96install (TARGETS createstructure RUNTIME DESTINATION bin)
Original file line number Diff line number Diff line change 33#include <stdbool.h>
44#include <string.h>
55#include <time.h>
6- #include <Python.h>
7- //gcc -std=c99 -ggdb3 -O0 -pedantic-errors -Wall -Wextra -fpie $(python3-config --cflags --embed) -o 'createstructure.out' 'createstructure.c' $(python3-config --embed --ldflags) && ./createstructure.out
86
97// Definitions
108#define MALLOC_MAX_SIXE 1024
You can’t perform that action at this time.
0 commit comments