This is the very first version that pass the compiler. Though it has lots things were made for testing, such as commenting problematic source code to avoid irrelevant errors. For test.c, everything is working fine. Congrats!
24 lines
600 B
CMake
24 lines
600 B
CMake
cmake_minimum_required (VERSION 3.5)
|
|
|
|
project (Compound)
|
|
|
|
add_compile_options(-g -std=c99 -Wall -Wextra -Wformat)
|
|
LINK_LIBRARIES(m)
|
|
|
|
# add_executable(CompoundTest test.c
|
|
# Var/src/var.c
|
|
# Status/src/status.c
|
|
# Stack/src/stack.c
|
|
# Array/src/array.c
|
|
# Utils/src/utils.c
|
|
# catlog.c
|
|
# name.c)
|
|
|
|
add_executable(CompoundTest
|
|
test.c
|
|
Var/src/var.c
|
|
Array/src/array.c
|
|
Status/src/status.c
|
|
Utils/src/utils.c
|
|
catlog.c)
|