change cmake params
This commit is contained in:
parent
bf4f35ca29
commit
5be8eaa7c9
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -53,6 +53,7 @@ Makefile
|
||||||
*.i*86
|
*.i*86
|
||||||
*.x86_64
|
*.x86_64
|
||||||
*.hex
|
*.hex
|
||||||
|
*/Executable
|
||||||
|
|
||||||
# Debug files
|
# Debug files
|
||||||
*.dSYM/
|
*.dSYM/
|
||||||
|
@ -86,4 +87,7 @@ _deps
|
||||||
# External projects
|
# External projects
|
||||||
*-prefix/
|
*-prefix/
|
||||||
|
|
||||||
|
### DataFiles ###
|
||||||
|
*/RawDataFiles
|
||||||
|
|
||||||
# End of https://www.toptal.com/developers/gitignore/api/cmake,c
|
# End of https://www.toptal.com/developers/gitignore/api/cmake,c
|
||||||
|
|
|
@ -3,11 +3,13 @@ project(Traitement-signal-plantes C)
|
||||||
|
|
||||||
include(CTest)
|
include(CTest)
|
||||||
enable_testing()
|
enable_testing()
|
||||||
set(CMAKE_C_FLAGS "-std=c99 -g -Wall")
|
set(CMAKE_C_FLAGS "-std=c99 -g -Wall") #what are the flag for ?
|
||||||
|
|
||||||
file(MAKE_DIRECTORY RawDataFiles)
|
file(MAKE_DIRECTORY RawDataFiles) #why do we make this folder each time ?
|
||||||
file(MAKE_DIRECTORY Executable)
|
file(MAKE_DIRECTORY Executable)
|
||||||
|
|
||||||
|
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY Executable) #Set Executable directory as default exectutable file location
|
||||||
|
|
||||||
add_executable(exect fileGestion.c getArray.c average.c growthRate.c power.c queue.c simulateFlux.c main.c)
|
add_executable(exect fileGestion.c getArray.c average.c growthRate.c power.c queue.c simulateFlux.c main.c)
|
||||||
# add_executable(exect main.c simulateFlux.c queue.c power.c growthRate.c average.c getArray.c fileGestion.c)
|
# add_executable(exect main.c simulateFlux.c queue.c power.c growthRate.c average.c getArray.c fileGestion.c)
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ int nbRowIgnore = 19;
|
||||||
|
|
||||||
Pqueue firstRawDataQueue;
|
Pqueue firstRawDataQueue;
|
||||||
// Captor 1 2 3 4 5 6 7 8
|
// Captor 1 2 3 4 5 6 7 8
|
||||||
bool selectionCaptors[] = {true, false, false, false, false, false, true, false};
|
bool selectionCaptors[] = {true, false, true, false, false, false, true, false};
|
||||||
|
|
||||||
int cptData = 0;
|
int cptData = 0;
|
||||||
int cptFile = 1;
|
int cptFile = 1;
|
||||||
|
|
Loading…
Reference in a new issue