add sql3 in main
This commit is contained in:
parent
2443e553c8
commit
ab1a87c6ac
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include <pthread.h>
|
||||
#include <stdbool.h>
|
||||
#include <sqlite3.h>
|
||||
|
||||
#include "./Include/simulateFlux.h"
|
||||
#include "./Include/power.h"
|
||||
|
|
Loading…
Reference in a new issue