My compile command is:
cc -std=c11 -I include src/main.c lib/libflatccrt.a -o run_file
Which has to havelib/libflatccrt.a
init to compile. How do you add this file to CMake?
Right now my CMakeLists.txt is:
cmake_minimum_required (VERSION 2.6)
project (MyProject)
include_directories(include)
file(GLOB SOURCES "src/*.c")
add_executable(MyProject ${SOURCES})