add sql3 in main

This commit is contained in:
QuentinPerret 2023-06-02 16:10:31 +02:00
parent 2443e553c8
commit ab1a87c6ac
2 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@ project(Traitement-signal-plantes C)
include(CTest)
enable_testing()
set(CMAKE_C_FLAGS "-std=c99 -g -Wall") #what are the flag for ?
set(CMAKE_C_FLAGS "-lsqlite3 -std=c99 -g -Wall") #what are the flag for ?
file(MAKE_DIRECTORY RawDataFiles) #why do we make this folder each time ?
file(MAKE_DIRECTORY Executable)
@ -14,7 +14,6 @@ add_executable(exect fileGestion.c getArray.c average.c growthRate.c power.c que
# add_executable(exect main.c simulateFlux.c queue.c power.c growthRate.c average.c getArray.c fileGestion.c)
find_package(SQLite3)
include_directories(${SQLite3_INCLUDE_DIRS})
target_link_libraries(exect ${SQLite3_LIBRARIES} m)

View file

@ -1,5 +1,6 @@
#include <pthread.h>
#include <stdbool.h>
#include <sqlite3.h>
#include "./Include/simulateFlux.h"
#include "./Include/power.h"