mirror of
https://github.com/BreizhHardware/projetCGroupe8.git
synced 2026-01-18 16:37:25 +01:00
Add the time parametre to the display function
This commit is contained in:
BIN
BackEnd.zip
BIN
BackEnd.zip
Binary file not shown.
@@ -141,7 +141,7 @@ struct List* searchByCategory(struct List* table[], char* category){
|
||||
struct Cell* inter = table[i]->head;
|
||||
int length = table[i]->size;
|
||||
for(int j=0;j<length;j++){
|
||||
if(inter->movie->category == category){
|
||||
if(strcmp(inter->movie->category,category) == 0){
|
||||
addFirst(result,inter->movie);
|
||||
}
|
||||
}
|
||||
@@ -160,7 +160,8 @@ struct List* searchByFilm(struct List* table[LENGTH], char* name){
|
||||
struct Cell* inter = table[i]->head;
|
||||
int length = table[i]->size;
|
||||
for(int j=0; j<length; j++){
|
||||
if(inter->movie->name == name){
|
||||
//Si le nom du film contient le nom recherché
|
||||
if(strstr(inter->movie->name,name) != NULL){
|
||||
addFirst(result,inter->movie);
|
||||
}
|
||||
}
|
||||
@@ -266,5 +267,6 @@ void printResultInFile(struct List* result, double time){
|
||||
//ecrit ready.txt pour dire que le fichier est pret a etre lu
|
||||
FILE *fichier2;
|
||||
fichier2 = fopen("ready.txt", "w");
|
||||
fprintf(fichier2,"ready");
|
||||
fclose(fichier2);
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"artifacts" :
|
||||
[
|
||||
{
|
||||
"path" : "untitled"
|
||||
}
|
||||
],
|
||||
"backtrace" : 1,
|
||||
"backtraceGraph" :
|
||||
{
|
||||
"commands" :
|
||||
[
|
||||
"add_executable"
|
||||
],
|
||||
"files" :
|
||||
[
|
||||
"CMakeLists.txt"
|
||||
],
|
||||
"nodes" :
|
||||
[
|
||||
{
|
||||
"file" : 0
|
||||
},
|
||||
{
|
||||
"command" : 0,
|
||||
"file" : 0,
|
||||
"line" : 6,
|
||||
"parent" : 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"compileGroups" :
|
||||
[
|
||||
{
|
||||
"compileCommandFragments" :
|
||||
[
|
||||
{
|
||||
"fragment" : "-g"
|
||||
},
|
||||
{
|
||||
"fragment" : "-std=gnu11"
|
||||
}
|
||||
],
|
||||
"language" : "C",
|
||||
"sourceIndexes" :
|
||||
[
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
]
|
||||
}
|
||||
],
|
||||
"id" : "untitled::@6890427a1f51a3e7e1df",
|
||||
"link" :
|
||||
{
|
||||
"commandFragments" :
|
||||
[
|
||||
{
|
||||
"fragment" : "-g",
|
||||
"role" : "flags"
|
||||
},
|
||||
{
|
||||
"fragment" : "",
|
||||
"role" : "flags"
|
||||
}
|
||||
],
|
||||
"language" : "C"
|
||||
},
|
||||
"name" : "untitled",
|
||||
"nameOnDisk" : "untitled",
|
||||
"paths" :
|
||||
{
|
||||
"build" : ".",
|
||||
"source" : "."
|
||||
},
|
||||
"sourceGroups" :
|
||||
[
|
||||
{
|
||||
"name" : "Source Files",
|
||||
"sourceIndexes" :
|
||||
[
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
]
|
||||
}
|
||||
],
|
||||
"sources" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "Filmotheque.c",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "main.c",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "Movie.c",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "NodeTrie.c",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "List.c",
|
||||
"sourceGroupIndex" : 0
|
||||
}
|
||||
],
|
||||
"type" : "EXECUTABLE"
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
set(CMAKE_C_COMPILER "/usr/bin/cc")
|
||||
set(CMAKE_C_COMPILER_ARG1 "")
|
||||
set(CMAKE_C_COMPILER_ID "GNU")
|
||||
set(CMAKE_C_COMPILER_VERSION "10.2.1")
|
||||
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
|
||||
set(CMAKE_C_COMPILER_WRAPPER "")
|
||||
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
|
||||
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert")
|
||||
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
|
||||
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
|
||||
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
|
||||
|
||||
set(CMAKE_C_PLATFORM_ID "Linux")
|
||||
set(CMAKE_C_SIMULATE_ID "")
|
||||
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "")
|
||||
set(CMAKE_C_SIMULATE_VERSION "")
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_AR "/usr/bin/ar")
|
||||
set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar-10")
|
||||
set(CMAKE_RANLIB "/usr/bin/ranlib")
|
||||
set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib-10")
|
||||
set(CMAKE_LINKER "/usr/bin/ld")
|
||||
set(CMAKE_MT "")
|
||||
set(CMAKE_COMPILER_IS_GNUCC 1)
|
||||
set(CMAKE_C_COMPILER_LOADED 1)
|
||||
set(CMAKE_C_COMPILER_WORKS TRUE)
|
||||
set(CMAKE_C_ABI_COMPILED TRUE)
|
||||
set(CMAKE_COMPILER_IS_MINGW )
|
||||
set(CMAKE_COMPILER_IS_CYGWIN )
|
||||
if(CMAKE_COMPILER_IS_CYGWIN)
|
||||
set(CYGWIN 1)
|
||||
set(UNIX 1)
|
||||
endif()
|
||||
|
||||
set(CMAKE_C_COMPILER_ENV_VAR "CC")
|
||||
|
||||
if(CMAKE_COMPILER_IS_MINGW)
|
||||
set(MINGW 1)
|
||||
endif()
|
||||
set(CMAKE_C_COMPILER_ID_RUN 1)
|
||||
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
|
||||
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||
set(CMAKE_C_LINKER_PREFERENCE 10)
|
||||
|
||||
# Save compiler ABI information.
|
||||
set(CMAKE_C_SIZEOF_DATA_PTR "8")
|
||||
set(CMAKE_C_COMPILER_ABI "ELF")
|
||||
set(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||
|
||||
if(CMAKE_C_SIZEOF_DATA_PTR)
|
||||
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_COMPILER_ABI)
|
||||
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_LIBRARY_ARCHITECTURE)
|
||||
set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||
endif()
|
||||
|
||||
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
|
||||
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
|
||||
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/10/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include")
|
||||
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s")
|
||||
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/10;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
|
||||
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
||||
Binary file not shown.
@@ -0,0 +1,15 @@
|
||||
set(CMAKE_HOST_SYSTEM "Linux-5.15.90.1-microsoft-standard-WSL2")
|
||||
set(CMAKE_HOST_SYSTEM_NAME "Linux")
|
||||
set(CMAKE_HOST_SYSTEM_VERSION "5.15.90.1-microsoft-standard-WSL2")
|
||||
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_SYSTEM "Linux-5.15.90.1-microsoft-standard-WSL2")
|
||||
set(CMAKE_SYSTEM_NAME "Linux")
|
||||
set(CMAKE_SYSTEM_VERSION "5.15.90.1-microsoft-standard-WSL2")
|
||||
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
|
||||
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
|
||||
set(CMAKE_SYSTEM_LOADED 1)
|
||||
@@ -0,0 +1,674 @@
|
||||
#ifdef __cplusplus
|
||||
# error "A C++ compiler has been selected for C."
|
||||
#endif
|
||||
|
||||
#if defined(__18CXX)
|
||||
# define ID_VOID_MAIN
|
||||
#endif
|
||||
#if defined(__CLASSIC_C__)
|
||||
/* cv-qualifiers did not exist in K&R C */
|
||||
# define const
|
||||
# define volatile
|
||||
#endif
|
||||
|
||||
|
||||
/* Version number components: V=Version, R=Revision, P=Patch
|
||||
Version date components: YYYY=Year, MM=Month, DD=Day */
|
||||
|
||||
#if defined(__INTEL_COMPILER) || defined(__ICC)
|
||||
# define COMPILER_ID "Intel"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# if defined(__GNUC__)
|
||||
# define SIMULATE_ID "GNU"
|
||||
# endif
|
||||
/* __INTEL_COMPILER = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
|
||||
# if defined(__INTEL_COMPILER_UPDATE)
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
|
||||
# else
|
||||
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
|
||||
# endif
|
||||
# if defined(__INTEL_COMPILER_BUILD_DATE)
|
||||
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
|
||||
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
|
||||
# endif
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
# if defined(__GNUC__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
|
||||
# elif defined(__GNUG__)
|
||||
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
|
||||
# endif
|
||||
# if defined(__GNUC_MINOR__)
|
||||
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__PATHCC__)
|
||||
# define COMPILER_ID "PathScale"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
|
||||
# if defined(__PATHCC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
|
||||
# define COMPILER_ID "Embarcadero"
|
||||
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
|
||||
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
|
||||
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
|
||||
|
||||
#elif defined(__BORLANDC__)
|
||||
# define COMPILER_ID "Borland"
|
||||
/* __BORLANDC__ = 0xVRR */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
|
||||
|
||||
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
|
||||
# define COMPILER_ID "Watcom"
|
||||
/* __WATCOMC__ = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# define COMPILER_ID "OpenWatcom"
|
||||
/* __WATCOMC__ = VVRP + 1100 */
|
||||
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
|
||||
# if (__WATCOMC__ % 10) > 0
|
||||
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__SUNPRO_C)
|
||||
# define COMPILER_ID "SunPro"
|
||||
# if __SUNPRO_C >= 0x5100
|
||||
/* __SUNPRO_C = 0xVRRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||
# else
|
||||
/* __SUNPRO_CC = 0xVRP */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
|
||||
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
|
||||
# endif
|
||||
|
||||
#elif defined(__HP_cc)
|
||||
# define COMPILER_ID "HP"
|
||||
/* __HP_cc = VVRRPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
|
||||
|
||||
#elif defined(__DECC)
|
||||
# define COMPILER_ID "Compaq"
|
||||
/* __DECC_VER = VVRRTPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
|
||||
|
||||
#elif defined(__IBMC__) && defined(__COMPILER_VER__)
|
||||
# define COMPILER_ID "zOS"
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
|
||||
#elif defined(__ibmxl__) && defined(__clang__)
|
||||
# define COMPILER_ID "XLClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
|
||||
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
|
||||
|
||||
|
||||
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
|
||||
# define COMPILER_ID "XL"
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
|
||||
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
|
||||
# define COMPILER_ID "VisualAge"
|
||||
/* __IBMC__ = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
|
||||
|
||||
#elif defined(__PGI)
|
||||
# define COMPILER_ID "PGI"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
|
||||
# if defined(__PGIC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_CRAYC)
|
||||
# define COMPILER_ID "Cray"
|
||||
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
|
||||
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
|
||||
|
||||
#elif defined(__TI_COMPILER_VERSION__)
|
||||
# define COMPILER_ID "TI"
|
||||
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
|
||||
|
||||
#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
|
||||
# define COMPILER_ID "Fujitsu"
|
||||
|
||||
#elif defined(__ghs__)
|
||||
# define COMPILER_ID "GHS"
|
||||
/* __GHS_VERSION_NUMBER = VVVVRP */
|
||||
# ifdef __GHS_VERSION_NUMBER
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
|
||||
# endif
|
||||
|
||||
#elif defined(__TINYC__)
|
||||
# define COMPILER_ID "TinyCC"
|
||||
|
||||
#elif defined(__BCC__)
|
||||
# define COMPILER_ID "Bruce"
|
||||
|
||||
#elif defined(__SCO_VERSION__)
|
||||
# define COMPILER_ID "SCO"
|
||||
|
||||
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
|
||||
# define COMPILER_ID "ARMCC"
|
||||
#if __ARMCC_VERSION >= 1000000
|
||||
/* __ARMCC_VERSION = VRRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#else
|
||||
/* __ARMCC_VERSION = VRPPPP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
|
||||
#endif
|
||||
|
||||
|
||||
#elif defined(__clang__) && defined(__apple_build_version__)
|
||||
# define COMPILER_ID "AppleClang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
|
||||
|
||||
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
|
||||
# define COMPILER_ID "ARMClang"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
|
||||
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
|
||||
|
||||
#elif defined(__clang__)
|
||||
# define COMPILER_ID "Clang"
|
||||
# if defined(_MSC_VER)
|
||||
# define SIMULATE_ID "MSVC"
|
||||
# endif
|
||||
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
|
||||
# if defined(_MSC_VER)
|
||||
/* _MSC_VER = VVRR */
|
||||
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# endif
|
||||
|
||||
#elif defined(__GNUC__)
|
||||
# define COMPILER_ID "GNU"
|
||||
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
|
||||
# if defined(__GNUC_MINOR__)
|
||||
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
|
||||
# endif
|
||||
# if defined(__GNUC_PATCHLEVEL__)
|
||||
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
|
||||
# endif
|
||||
|
||||
#elif defined(_MSC_VER)
|
||||
# define COMPILER_ID "MSVC"
|
||||
/* _MSC_VER = VVRR */
|
||||
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
|
||||
# if defined(_MSC_FULL_VER)
|
||||
# if _MSC_VER >= 1400
|
||||
/* _MSC_FULL_VER = VVRRPPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
|
||||
# else
|
||||
/* _MSC_FULL_VER = VVRRPPPP */
|
||||
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
|
||||
# endif
|
||||
# endif
|
||||
# if defined(_MSC_BUILD)
|
||||
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
|
||||
# endif
|
||||
|
||||
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
|
||||
# define COMPILER_ID "ADSP"
|
||||
#if defined(__VISUALDSPVERSION__)
|
||||
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
|
||||
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
|
||||
#endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# define COMPILER_ID "IAR"
|
||||
# if defined(__VER__) && defined(__ICCARM__)
|
||||
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
|
||||
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
|
||||
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__))
|
||||
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
|
||||
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
|
||||
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
|
||||
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
|
||||
# endif
|
||||
|
||||
#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
|
||||
# define COMPILER_ID "SDCC"
|
||||
# if defined(__SDCC_VERSION_MAJOR)
|
||||
# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
|
||||
# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
|
||||
# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
|
||||
# else
|
||||
/* SDCC = VRP */
|
||||
# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
|
||||
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
|
||||
# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
|
||||
# endif
|
||||
|
||||
|
||||
/* These compilers are either not known or too old to define an
|
||||
identification macro. Try to identify the platform and guess that
|
||||
it is the native compiler. */
|
||||
#elif defined(__hpux) || defined(__hpua)
|
||||
# define COMPILER_ID "HP"
|
||||
|
||||
#else /* unknown compiler */
|
||||
# define COMPILER_ID ""
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
|
||||
#ifdef SIMULATE_ID
|
||||
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
|
||||
#endif
|
||||
|
||||
#ifdef __QNXNTO__
|
||||
char const* qnxnto = "INFO" ":" "qnxnto[]";
|
||||
#endif
|
||||
|
||||
#if defined(__CRAYXE) || defined(__CRAYXC)
|
||||
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
|
||||
#endif
|
||||
|
||||
#define STRINGIFY_HELPER(X) #X
|
||||
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
||||
|
||||
/* Identify known platforms by name. */
|
||||
#if defined(__linux) || defined(__linux__) || defined(linux)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
#elif defined(__CYGWIN__)
|
||||
# define PLATFORM_ID "Cygwin"
|
||||
|
||||
#elif defined(__MINGW32__)
|
||||
# define PLATFORM_ID "MinGW"
|
||||
|
||||
#elif defined(__APPLE__)
|
||||
# define PLATFORM_ID "Darwin"
|
||||
|
||||
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
|
||||
# define PLATFORM_ID "Windows"
|
||||
|
||||
#elif defined(__FreeBSD__) || defined(__FreeBSD)
|
||||
# define PLATFORM_ID "FreeBSD"
|
||||
|
||||
#elif defined(__NetBSD__) || defined(__NetBSD)
|
||||
# define PLATFORM_ID "NetBSD"
|
||||
|
||||
#elif defined(__OpenBSD__) || defined(__OPENBSD)
|
||||
# define PLATFORM_ID "OpenBSD"
|
||||
|
||||
#elif defined(__sun) || defined(sun)
|
||||
# define PLATFORM_ID "SunOS"
|
||||
|
||||
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
|
||||
# define PLATFORM_ID "AIX"
|
||||
|
||||
#elif defined(__hpux) || defined(__hpux__)
|
||||
# define PLATFORM_ID "HP-UX"
|
||||
|
||||
#elif defined(__HAIKU__)
|
||||
# define PLATFORM_ID "Haiku"
|
||||
|
||||
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
|
||||
# define PLATFORM_ID "BeOS"
|
||||
|
||||
#elif defined(__QNX__) || defined(__QNXNTO__)
|
||||
# define PLATFORM_ID "QNX"
|
||||
|
||||
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
|
||||
# define PLATFORM_ID "Tru64"
|
||||
|
||||
#elif defined(__riscos) || defined(__riscos__)
|
||||
# define PLATFORM_ID "RISCos"
|
||||
|
||||
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
|
||||
# define PLATFORM_ID "SINIX"
|
||||
|
||||
#elif defined(__UNIX_SV__)
|
||||
# define PLATFORM_ID "UNIX_SV"
|
||||
|
||||
#elif defined(__bsdos__)
|
||||
# define PLATFORM_ID "BSDOS"
|
||||
|
||||
#elif defined(_MPRAS) || defined(MPRAS)
|
||||
# define PLATFORM_ID "MP-RAS"
|
||||
|
||||
#elif defined(__osf) || defined(__osf__)
|
||||
# define PLATFORM_ID "OSF1"
|
||||
|
||||
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
|
||||
# define PLATFORM_ID "SCO_SV"
|
||||
|
||||
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
|
||||
# define PLATFORM_ID "ULTRIX"
|
||||
|
||||
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
|
||||
# define PLATFORM_ID "Xenix"
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(__LINUX__)
|
||||
# define PLATFORM_ID "Linux"
|
||||
|
||||
# elif defined(__DOS__)
|
||||
# define PLATFORM_ID "DOS"
|
||||
|
||||
# elif defined(__OS2__)
|
||||
# define PLATFORM_ID "OS2"
|
||||
|
||||
# elif defined(__WINDOWS__)
|
||||
# define PLATFORM_ID "Windows3x"
|
||||
|
||||
# elif defined(__VXWORKS__)
|
||||
# define PLATFORM_ID "VxWorks"
|
||||
|
||||
# else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
# endif
|
||||
|
||||
#elif defined(__INTEGRITY)
|
||||
# if defined(INT_178B)
|
||||
# define PLATFORM_ID "Integrity178"
|
||||
|
||||
# else /* regular Integrity */
|
||||
# define PLATFORM_ID "Integrity"
|
||||
# endif
|
||||
|
||||
#else /* unknown platform */
|
||||
# define PLATFORM_ID
|
||||
|
||||
#endif
|
||||
|
||||
/* For windows compilers MSVC and Intel we can determine
|
||||
the architecture of the compiler being used. This is because
|
||||
the compilers do not have flags that can change the architecture,
|
||||
but rather depend on which compiler is being used
|
||||
*/
|
||||
#if defined(_WIN32) && defined(_MSC_VER)
|
||||
# if defined(_M_IA64)
|
||||
# define ARCHITECTURE_ID "IA64"
|
||||
|
||||
# elif defined(_M_X64) || defined(_M_AMD64)
|
||||
# define ARCHITECTURE_ID "x64"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# elif defined(_M_ARM64)
|
||||
# define ARCHITECTURE_ID "ARM64"
|
||||
|
||||
# elif defined(_M_ARM)
|
||||
# if _M_ARM == 4
|
||||
# define ARCHITECTURE_ID "ARMV4I"
|
||||
# elif _M_ARM == 5
|
||||
# define ARCHITECTURE_ID "ARMV5I"
|
||||
# else
|
||||
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
|
||||
# endif
|
||||
|
||||
# elif defined(_M_MIPS)
|
||||
# define ARCHITECTURE_ID "MIPS"
|
||||
|
||||
# elif defined(_M_SH)
|
||||
# define ARCHITECTURE_ID "SHx"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__WATCOMC__)
|
||||
# if defined(_M_I86)
|
||||
# define ARCHITECTURE_ID "I86"
|
||||
|
||||
# elif defined(_M_IX86)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
|
||||
# if defined(__ICCARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__ICCRX__)
|
||||
# define ARCHITECTURE_ID "RX"
|
||||
|
||||
# elif defined(__ICCRH850__)
|
||||
# define ARCHITECTURE_ID "RH850"
|
||||
|
||||
# elif defined(__ICCRL78__)
|
||||
# define ARCHITECTURE_ID "RL78"
|
||||
|
||||
# elif defined(__ICCRISCV__)
|
||||
# define ARCHITECTURE_ID "RISCV"
|
||||
|
||||
# elif defined(__ICCAVR__)
|
||||
# define ARCHITECTURE_ID "AVR"
|
||||
|
||||
# elif defined(__ICC430__)
|
||||
# define ARCHITECTURE_ID "MSP430"
|
||||
|
||||
# elif defined(__ICCV850__)
|
||||
# define ARCHITECTURE_ID "V850"
|
||||
|
||||
# elif defined(__ICC8051__)
|
||||
# define ARCHITECTURE_ID "8051"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
|
||||
#elif defined(__ghs__)
|
||||
# if defined(__PPC64__)
|
||||
# define ARCHITECTURE_ID "PPC64"
|
||||
|
||||
# elif defined(__ppc__)
|
||||
# define ARCHITECTURE_ID "PPC"
|
||||
|
||||
# elif defined(__ARM__)
|
||||
# define ARCHITECTURE_ID "ARM"
|
||||
|
||||
# elif defined(__x86_64__)
|
||||
# define ARCHITECTURE_ID "x64"
|
||||
|
||||
# elif defined(__i386__)
|
||||
# define ARCHITECTURE_ID "X86"
|
||||
|
||||
# else /* unknown architecture */
|
||||
# define ARCHITECTURE_ID ""
|
||||
# endif
|
||||
#else
|
||||
# define ARCHITECTURE_ID
|
||||
#endif
|
||||
|
||||
/* Convert integer to decimal digit literals. */
|
||||
#define DEC(n) \
|
||||
('0' + (((n) / 10000000)%10)), \
|
||||
('0' + (((n) / 1000000)%10)), \
|
||||
('0' + (((n) / 100000)%10)), \
|
||||
('0' + (((n) / 10000)%10)), \
|
||||
('0' + (((n) / 1000)%10)), \
|
||||
('0' + (((n) / 100)%10)), \
|
||||
('0' + (((n) / 10)%10)), \
|
||||
('0' + ((n) % 10))
|
||||
|
||||
/* Convert integer to hex digit literals. */
|
||||
#define HEX(n) \
|
||||
('0' + ((n)>>28 & 0xF)), \
|
||||
('0' + ((n)>>24 & 0xF)), \
|
||||
('0' + ((n)>>20 & 0xF)), \
|
||||
('0' + ((n)>>16 & 0xF)), \
|
||||
('0' + ((n)>>12 & 0xF)), \
|
||||
('0' + ((n)>>8 & 0xF)), \
|
||||
('0' + ((n)>>4 & 0xF)), \
|
||||
('0' + ((n) & 0xF))
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#ifdef COMPILER_VERSION_MAJOR
|
||||
char const info_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
|
||||
COMPILER_VERSION_MAJOR,
|
||||
# ifdef COMPILER_VERSION_MINOR
|
||||
'.', COMPILER_VERSION_MINOR,
|
||||
# ifdef COMPILER_VERSION_PATCH
|
||||
'.', COMPILER_VERSION_PATCH,
|
||||
# ifdef COMPILER_VERSION_TWEAK
|
||||
'.', COMPILER_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the internal version number. */
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
char const info_version_internal[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
|
||||
'i','n','t','e','r','n','a','l','[',
|
||||
COMPILER_VERSION_INTERNAL,']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct a string literal encoding the version number components. */
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
char const info_simulate_version[] = {
|
||||
'I', 'N', 'F', 'O', ':',
|
||||
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
|
||||
SIMULATE_VERSION_MAJOR,
|
||||
# ifdef SIMULATE_VERSION_MINOR
|
||||
'.', SIMULATE_VERSION_MINOR,
|
||||
# ifdef SIMULATE_VERSION_PATCH
|
||||
'.', SIMULATE_VERSION_PATCH,
|
||||
# ifdef SIMULATE_VERSION_TWEAK
|
||||
'.', SIMULATE_VERSION_TWEAK,
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
']','\0'};
|
||||
#endif
|
||||
|
||||
/* Construct the string literal in pieces to prevent the source from
|
||||
getting matched. Store it in a pointer rather than an array
|
||||
because some compilers will just produce instructions to fill the
|
||||
array rather than assigning a pointer to a static array. */
|
||||
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
|
||||
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
|
||||
|
||||
|
||||
|
||||
|
||||
#if !defined(__STDC__)
|
||||
# if (defined(_MSC_VER) && !defined(__clang__)) \
|
||||
|| (defined(__ibmxl__) || defined(__IBMC__))
|
||||
# define C_DIALECT "90"
|
||||
# else
|
||||
# define C_DIALECT
|
||||
# endif
|
||||
#elif __STDC_VERSION__ >= 201000L
|
||||
# define C_DIALECT "11"
|
||||
#elif __STDC_VERSION__ >= 199901L
|
||||
# define C_DIALECT "99"
|
||||
#else
|
||||
# define C_DIALECT "90"
|
||||
#endif
|
||||
const char* info_language_dialect_default =
|
||||
"INFO" ":" "dialect_default[" C_DIALECT "]";
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
#ifdef ID_VOID_MAIN
|
||||
void main() {}
|
||||
#else
|
||||
# if defined(__CLASSIC_C__)
|
||||
int main(argc, argv) int argc; char *argv[];
|
||||
# else
|
||||
int main(int argc, char* argv[])
|
||||
# endif
|
||||
{
|
||||
int require = 0;
|
||||
require += info_compiler[argc];
|
||||
require += info_platform[argc];
|
||||
require += info_arch[argc];
|
||||
#ifdef COMPILER_VERSION_MAJOR
|
||||
require += info_version[argc];
|
||||
#endif
|
||||
#ifdef COMPILER_VERSION_INTERNAL
|
||||
require += info_version_internal[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_ID
|
||||
require += info_simulate[argc];
|
||||
#endif
|
||||
#ifdef SIMULATE_VERSION_MAJOR
|
||||
require += info_simulate_version[argc];
|
||||
#endif
|
||||
#if defined(__CRAYXE) || defined(__CRAYXC)
|
||||
require += info_cray[argc];
|
||||
#endif
|
||||
require += info_language_dialect_default[argc];
|
||||
(void)argv;
|
||||
return require;
|
||||
}
|
||||
#endif
|
||||
BIN
BackEnd/cmake-build-debug/CMakeFiles/3.18.4/CompilerIdC/a.out
Normal file
BIN
BackEnd/cmake-build-debug/CMakeFiles/3.18.4/CompilerIdC/a.out
Normal file
Binary file not shown.
@@ -0,0 +1,16 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.18
|
||||
|
||||
# Relative path conversion top directories.
|
||||
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug")
|
||||
|
||||
# Force unix paths in dependencies.
|
||||
set(CMAKE_FORCE_UNIX_PATHS 1)
|
||||
|
||||
|
||||
# The C and CXX include file regular expressions for this directory.
|
||||
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
||||
102
BackEnd/cmake-build-debug/CMakeFiles/Makefile.cmake
Normal file
102
BackEnd/cmake-build-debug/CMakeFiles/Makefile.cmake
Normal file
@@ -0,0 +1,102 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.18
|
||||
|
||||
# The generator used is:
|
||||
set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
|
||||
|
||||
# The top level Makefile was generated from the following files:
|
||||
set(CMAKE_MAKEFILE_DEPENDS
|
||||
"CMakeCache.txt"
|
||||
"../CMakeLists.txt"
|
||||
"CMakeFiles/3.18.4/CMakeCCompiler.cmake"
|
||||
"CMakeFiles/3.18.4/CMakeSystem.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeCCompiler.cmake.in"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeCCompilerABI.c"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeCInformation.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeCommonLanguageInclude.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeCompilerIdDetection.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeDetermineCCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeDetermineCompileFeatures.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeDetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeDetermineCompilerABI.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeDetermineCompilerId.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeFindBinUtils.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeFindCodeBlocks.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeGenericSystem.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeInitializeConfigs.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeLanguageInformation.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeParseImplicitIncludeInfo.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeParseImplicitLinkInfo.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeSystem.cmake.in"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeSystemSpecificInformation.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeSystemSpecificInitialize.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeTestCCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeTestCompilerCommon.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/CMakeUnixFindMake.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/ADSP-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/ARMClang-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/Borland-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/Bruce-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/Clang-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/Compaq-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/Cray-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/GHS-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/GNU-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/GNU-C.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/GNU-FindBinUtils.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/GNU.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/HP-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/IAR-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/Intel-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/MSVC-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/NVIDIA-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/PGI-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/PathScale-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/SCO-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/SDCC-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/SunPro-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/TI-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/Watcom-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/XL-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/XLClang-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Compiler/zOS-C-DetermineCompiler.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Internal/CMakeCheckCompilerFlag.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Internal/FeatureTesting.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Platform/Linux-GNU-C.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Platform/Linux-GNU.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Platform/Linux.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/Platform/UnixPaths.cmake"
|
||||
"/usr/share/cmake-3.18/Modules/ProcessorCount.cmake"
|
||||
)
|
||||
|
||||
# The corresponding makefile is:
|
||||
set(CMAKE_MAKEFILE_OUTPUTS
|
||||
"Makefile"
|
||||
"CMakeFiles/cmake.check_cache"
|
||||
)
|
||||
|
||||
# Byproducts of CMake generate step:
|
||||
set(CMAKE_MAKEFILE_PRODUCTS
|
||||
"CMakeFiles/3.18.4/CMakeSystem.cmake"
|
||||
"CMakeFiles/3.18.4/CMakeCCompiler.cmake"
|
||||
"CMakeFiles/3.18.4/CMakeCCompiler.cmake"
|
||||
"CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
)
|
||||
|
||||
# Dependency information for all targets:
|
||||
set(CMAKE_DEPEND_INFO_FILES
|
||||
"CMakeFiles/untitled.dir/DependInfo.cmake"
|
||||
)
|
||||
125
BackEnd/cmake-build-debug/CMakeFiles/Makefile2
Normal file
125
BackEnd/cmake-build-debug/CMakeFiles/Makefile2
Normal file
@@ -0,0 +1,125 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.18
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
|
||||
.PHONY : default_target
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug
|
||||
|
||||
#=============================================================================
|
||||
# Directory level rules for the build root directory
|
||||
|
||||
# The main recursive "all" target.
|
||||
all: CMakeFiles/untitled.dir/all
|
||||
|
||||
.PHONY : all
|
||||
|
||||
# The main recursive "preinstall" target.
|
||||
preinstall:
|
||||
|
||||
.PHONY : preinstall
|
||||
|
||||
# The main recursive "clean" target.
|
||||
clean: CMakeFiles/untitled.dir/clean
|
||||
|
||||
.PHONY : clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/untitled.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/untitled.dir/all:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/untitled.dir/build.make CMakeFiles/untitled.dir/depend
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/untitled.dir/build.make CMakeFiles/untitled.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles --progress-num=1,2,3,4,5,6 "Built target untitled"
|
||||
.PHONY : CMakeFiles/untitled.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/untitled.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles 6
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/untitled.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/untitled.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
untitled: CMakeFiles/untitled.dir/rule
|
||||
|
||||
.PHONY : untitled
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/untitled.dir/clean:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/untitled.dir/build.make CMakeFiles/untitled.dir/clean
|
||||
.PHONY : CMakeFiles/untitled.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
||||
1
BackEnd/cmake-build-debug/CMakeFiles/progress.marks
Normal file
1
BackEnd/cmake-build-debug/CMakeFiles/progress.marks
Normal file
@@ -0,0 +1 @@
|
||||
6
|
||||
@@ -0,0 +1,56 @@
|
||||
#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
|
||||
|
||||
#IncludeRegexScan: ^.*$
|
||||
|
||||
#IncludeRegexComplain: ^$
|
||||
|
||||
#IncludeRegexTransform:
|
||||
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Filmotheque.c
|
||||
stdio.h
|
||||
-
|
||||
string.h
|
||||
-
|
||||
stdlib.h
|
||||
-
|
||||
Movie.h
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Movie.h
|
||||
Filmotheque.h
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Filmotheque.h
|
||||
NodeTrie.h
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/NodeTrie.h
|
||||
List.h
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/List.h
|
||||
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Filmotheque.h
|
||||
NodeTrie.h
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/NodeTrie.h
|
||||
stdbool.h
|
||||
-
|
||||
stdlib.h
|
||||
-
|
||||
stdio.h
|
||||
-
|
||||
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/List.h
|
||||
stdbool.h
|
||||
-
|
||||
stdlib.h
|
||||
-
|
||||
stdio.h
|
||||
-
|
||||
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Movie.h
|
||||
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/NodeTrie.h
|
||||
List.h
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/List.h
|
||||
string.h
|
||||
-
|
||||
stdbool.h
|
||||
-
|
||||
stdlib.h
|
||||
-
|
||||
stdio.h
|
||||
-
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
"C"
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
set(CMAKE_DEPENDS_CHECK_C
|
||||
"/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Filmotheque.c" "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles/untitled.dir/Filmotheque.c.o"
|
||||
"/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/List.c" "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles/untitled.dir/List.c.o"
|
||||
"/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Movie.c" "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles/untitled.dir/Movie.c.o"
|
||||
"/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/NodeTrie.c" "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles/untitled.dir/NodeTrie.c.o"
|
||||
"/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/main.c" "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles/untitled.dir/main.c.o"
|
||||
)
|
||||
set(CMAKE_C_COMPILER_ID "GNU")
|
||||
|
||||
# The include file search paths:
|
||||
set(CMAKE_C_TARGET_INCLUDE_PATH
|
||||
)
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
||||
Binary file not shown.
BIN
BackEnd/cmake-build-debug/CMakeFiles/untitled.dir/List.c.o
Normal file
BIN
BackEnd/cmake-build-debug/CMakeFiles/untitled.dir/List.c.o
Normal file
Binary file not shown.
BIN
BackEnd/cmake-build-debug/CMakeFiles/untitled.dir/Movie.c.o
Normal file
BIN
BackEnd/cmake-build-debug/CMakeFiles/untitled.dir/Movie.c.o
Normal file
Binary file not shown.
BIN
BackEnd/cmake-build-debug/CMakeFiles/untitled.dir/NodeTrie.c.o
Normal file
BIN
BackEnd/cmake-build-debug/CMakeFiles/untitled.dir/NodeTrie.c.o
Normal file
Binary file not shown.
177
BackEnd/cmake-build-debug/CMakeFiles/untitled.dir/build.make
Normal file
177
BackEnd/cmake-build-debug/CMakeFiles/untitled.dir/build.make
Normal file
@@ -0,0 +1,177 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.18
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug
|
||||
|
||||
# Include any dependencies generated for this target.
|
||||
include CMakeFiles/untitled.dir/depend.make
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/untitled.dir/progress.make
|
||||
|
||||
# Include the compile flags for this target's objects.
|
||||
include CMakeFiles/untitled.dir/flags.make
|
||||
|
||||
CMakeFiles/untitled.dir/Filmotheque.c.o: CMakeFiles/untitled.dir/flags.make
|
||||
CMakeFiles/untitled.dir/Filmotheque.c.o: ../Filmotheque.c
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object CMakeFiles/untitled.dir/Filmotheque.c.o"
|
||||
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/untitled.dir/Filmotheque.c.o -c /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Filmotheque.c
|
||||
|
||||
CMakeFiles/untitled.dir/Filmotheque.c.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/untitled.dir/Filmotheque.c.i"
|
||||
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Filmotheque.c > CMakeFiles/untitled.dir/Filmotheque.c.i
|
||||
|
||||
CMakeFiles/untitled.dir/Filmotheque.c.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/untitled.dir/Filmotheque.c.s"
|
||||
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Filmotheque.c -o CMakeFiles/untitled.dir/Filmotheque.c.s
|
||||
|
||||
CMakeFiles/untitled.dir/main.c.o: CMakeFiles/untitled.dir/flags.make
|
||||
CMakeFiles/untitled.dir/main.c.o: ../main.c
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building C object CMakeFiles/untitled.dir/main.c.o"
|
||||
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/untitled.dir/main.c.o -c /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/main.c
|
||||
|
||||
CMakeFiles/untitled.dir/main.c.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/untitled.dir/main.c.i"
|
||||
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/main.c > CMakeFiles/untitled.dir/main.c.i
|
||||
|
||||
CMakeFiles/untitled.dir/main.c.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/untitled.dir/main.c.s"
|
||||
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/main.c -o CMakeFiles/untitled.dir/main.c.s
|
||||
|
||||
CMakeFiles/untitled.dir/Movie.c.o: CMakeFiles/untitled.dir/flags.make
|
||||
CMakeFiles/untitled.dir/Movie.c.o: ../Movie.c
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Building C object CMakeFiles/untitled.dir/Movie.c.o"
|
||||
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/untitled.dir/Movie.c.o -c /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Movie.c
|
||||
|
||||
CMakeFiles/untitled.dir/Movie.c.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/untitled.dir/Movie.c.i"
|
||||
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Movie.c > CMakeFiles/untitled.dir/Movie.c.i
|
||||
|
||||
CMakeFiles/untitled.dir/Movie.c.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/untitled.dir/Movie.c.s"
|
||||
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Movie.c -o CMakeFiles/untitled.dir/Movie.c.s
|
||||
|
||||
CMakeFiles/untitled.dir/NodeTrie.c.o: CMakeFiles/untitled.dir/flags.make
|
||||
CMakeFiles/untitled.dir/NodeTrie.c.o: ../NodeTrie.c
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Building C object CMakeFiles/untitled.dir/NodeTrie.c.o"
|
||||
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/untitled.dir/NodeTrie.c.o -c /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/NodeTrie.c
|
||||
|
||||
CMakeFiles/untitled.dir/NodeTrie.c.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/untitled.dir/NodeTrie.c.i"
|
||||
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/NodeTrie.c > CMakeFiles/untitled.dir/NodeTrie.c.i
|
||||
|
||||
CMakeFiles/untitled.dir/NodeTrie.c.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/untitled.dir/NodeTrie.c.s"
|
||||
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/NodeTrie.c -o CMakeFiles/untitled.dir/NodeTrie.c.s
|
||||
|
||||
CMakeFiles/untitled.dir/List.c.o: CMakeFiles/untitled.dir/flags.make
|
||||
CMakeFiles/untitled.dir/List.c.o: ../List.c
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "Building C object CMakeFiles/untitled.dir/List.c.o"
|
||||
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/untitled.dir/List.c.o -c /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/List.c
|
||||
|
||||
CMakeFiles/untitled.dir/List.c.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/untitled.dir/List.c.i"
|
||||
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/List.c > CMakeFiles/untitled.dir/List.c.i
|
||||
|
||||
CMakeFiles/untitled.dir/List.c.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/untitled.dir/List.c.s"
|
||||
/usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/List.c -o CMakeFiles/untitled.dir/List.c.s
|
||||
|
||||
# Object files for target untitled
|
||||
untitled_OBJECTS = \
|
||||
"CMakeFiles/untitled.dir/Filmotheque.c.o" \
|
||||
"CMakeFiles/untitled.dir/main.c.o" \
|
||||
"CMakeFiles/untitled.dir/Movie.c.o" \
|
||||
"CMakeFiles/untitled.dir/NodeTrie.c.o" \
|
||||
"CMakeFiles/untitled.dir/List.c.o"
|
||||
|
||||
# External object files for target untitled
|
||||
untitled_EXTERNAL_OBJECTS =
|
||||
|
||||
untitled: CMakeFiles/untitled.dir/Filmotheque.c.o
|
||||
untitled: CMakeFiles/untitled.dir/main.c.o
|
||||
untitled: CMakeFiles/untitled.dir/Movie.c.o
|
||||
untitled: CMakeFiles/untitled.dir/NodeTrie.c.o
|
||||
untitled: CMakeFiles/untitled.dir/List.c.o
|
||||
untitled: CMakeFiles/untitled.dir/build.make
|
||||
untitled: CMakeFiles/untitled.dir/link.txt
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_6) "Linking C executable untitled"
|
||||
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/untitled.dir/link.txt --verbose=$(VERBOSE)
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/untitled.dir/build: untitled
|
||||
|
||||
.PHONY : CMakeFiles/untitled.dir/build
|
||||
|
||||
CMakeFiles/untitled.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/untitled.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/untitled.dir/clean
|
||||
|
||||
CMakeFiles/untitled.dir/depend:
|
||||
cd /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles/untitled.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/untitled.dir/depend
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/untitled.dir/Filmotheque.c.o"
|
||||
"CMakeFiles/untitled.dir/List.c.o"
|
||||
"CMakeFiles/untitled.dir/Movie.c.o"
|
||||
"CMakeFiles/untitled.dir/NodeTrie.c.o"
|
||||
"CMakeFiles/untitled.dir/main.c.o"
|
||||
"untitled"
|
||||
"untitled.pdb"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang C)
|
||||
include(CMakeFiles/untitled.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
||||
@@ -0,0 +1,26 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.18
|
||||
|
||||
CMakeFiles/untitled.dir/Filmotheque.c.o
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Filmotheque.c
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Filmotheque.h
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/List.h
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Movie.h
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/NodeTrie.h
|
||||
CMakeFiles/untitled.dir/List.c.o
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/List.c
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/List.h
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Movie.h
|
||||
CMakeFiles/untitled.dir/Movie.c.o
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Movie.c
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Movie.h
|
||||
CMakeFiles/untitled.dir/NodeTrie.c.o
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/List.h
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/NodeTrie.c
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/NodeTrie.h
|
||||
CMakeFiles/untitled.dir/main.c.o
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Filmotheque.h
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/List.h
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Movie.h
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/NodeTrie.h
|
||||
/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/main.c
|
||||
@@ -0,0 +1,26 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.18
|
||||
|
||||
CMakeFiles/untitled.dir/Filmotheque.c.o: ../Filmotheque.c
|
||||
CMakeFiles/untitled.dir/Filmotheque.c.o: ../Filmotheque.h
|
||||
CMakeFiles/untitled.dir/Filmotheque.c.o: ../List.h
|
||||
CMakeFiles/untitled.dir/Filmotheque.c.o: ../Movie.h
|
||||
CMakeFiles/untitled.dir/Filmotheque.c.o: ../NodeTrie.h
|
||||
|
||||
CMakeFiles/untitled.dir/List.c.o: ../List.c
|
||||
CMakeFiles/untitled.dir/List.c.o: ../List.h
|
||||
CMakeFiles/untitled.dir/List.c.o: ../Movie.h
|
||||
|
||||
CMakeFiles/untitled.dir/Movie.c.o: ../Movie.c
|
||||
CMakeFiles/untitled.dir/Movie.c.o: ../Movie.h
|
||||
|
||||
CMakeFiles/untitled.dir/NodeTrie.c.o: ../List.h
|
||||
CMakeFiles/untitled.dir/NodeTrie.c.o: ../NodeTrie.c
|
||||
CMakeFiles/untitled.dir/NodeTrie.c.o: ../NodeTrie.h
|
||||
|
||||
CMakeFiles/untitled.dir/main.c.o: ../Filmotheque.h
|
||||
CMakeFiles/untitled.dir/main.c.o: ../List.h
|
||||
CMakeFiles/untitled.dir/main.c.o: ../Movie.h
|
||||
CMakeFiles/untitled.dir/main.c.o: ../NodeTrie.h
|
||||
CMakeFiles/untitled.dir/main.c.o: ../main.c
|
||||
|
||||
10
BackEnd/cmake-build-debug/CMakeFiles/untitled.dir/flags.make
Normal file
10
BackEnd/cmake-build-debug/CMakeFiles/untitled.dir/flags.make
Normal file
@@ -0,0 +1,10 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.18
|
||||
|
||||
# compile C with /usr/bin/cc
|
||||
C_DEFINES =
|
||||
|
||||
C_INCLUDES =
|
||||
|
||||
C_FLAGS = -g -std=gnu11
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
/usr/bin/cc -g CMakeFiles/untitled.dir/Filmotheque.c.o CMakeFiles/untitled.dir/main.c.o CMakeFiles/untitled.dir/Movie.c.o CMakeFiles/untitled.dir/NodeTrie.c.o CMakeFiles/untitled.dir/List.c.o -o untitled
|
||||
BIN
BackEnd/cmake-build-debug/CMakeFiles/untitled.dir/main.c.o
Normal file
BIN
BackEnd/cmake-build-debug/CMakeFiles/untitled.dir/main.c.o
Normal file
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
CMAKE_PROGRESS_1 = 1
|
||||
CMAKE_PROGRESS_2 = 2
|
||||
CMAKE_PROGRESS_3 = 3
|
||||
CMAKE_PROGRESS_4 = 4
|
||||
CMAKE_PROGRESS_5 = 5
|
||||
CMAKE_PROGRESS_6 = 6
|
||||
|
||||
317
BackEnd/cmake-build-debug/Makefile
Normal file
317
BackEnd/cmake-build-debug/Makefile
Normal file
@@ -0,0 +1,317 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.18
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
|
||||
.PHONY : default_target
|
||||
|
||||
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
||||
.NOTPARALLEL:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug
|
||||
|
||||
#=============================================================================
|
||||
# Targets provided globally by CMake.
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
|
||||
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
|
||||
.PHONY : edit_cache
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache/fast: edit_cache
|
||||
|
||||
.PHONY : edit_cache/fast
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||
/usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : rebuild_cache
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache/fast: rebuild_cache
|
||||
|
||||
.PHONY : rebuild_cache/fast
|
||||
|
||||
# The main all target
|
||||
all: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug//CMakeFiles/progress.marks
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/CMakeFiles 0
|
||||
.PHONY : all
|
||||
|
||||
# The main clean target
|
||||
clean:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clean
|
||||
.PHONY : clean
|
||||
|
||||
# The main clean target
|
||||
clean/fast: clean
|
||||
|
||||
.PHONY : clean/fast
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall: all
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
|
||||
.PHONY : preinstall
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall/fast:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
|
||||
.PHONY : preinstall/fast
|
||||
|
||||
# clear depends
|
||||
depend:
|
||||
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||
.PHONY : depend
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named untitled
|
||||
|
||||
# Build rule for target.
|
||||
untitled: cmake_check_build_system
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 untitled
|
||||
.PHONY : untitled
|
||||
|
||||
# fast build rule for target.
|
||||
untitled/fast:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/untitled.dir/build.make CMakeFiles/untitled.dir/build
|
||||
.PHONY : untitled/fast
|
||||
|
||||
Filmotheque.o: Filmotheque.c.o
|
||||
|
||||
.PHONY : Filmotheque.o
|
||||
|
||||
# target to build an object file
|
||||
Filmotheque.c.o:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/untitled.dir/build.make CMakeFiles/untitled.dir/Filmotheque.c.o
|
||||
.PHONY : Filmotheque.c.o
|
||||
|
||||
Filmotheque.i: Filmotheque.c.i
|
||||
|
||||
.PHONY : Filmotheque.i
|
||||
|
||||
# target to preprocess a source file
|
||||
Filmotheque.c.i:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/untitled.dir/build.make CMakeFiles/untitled.dir/Filmotheque.c.i
|
||||
.PHONY : Filmotheque.c.i
|
||||
|
||||
Filmotheque.s: Filmotheque.c.s
|
||||
|
||||
.PHONY : Filmotheque.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
Filmotheque.c.s:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/untitled.dir/build.make CMakeFiles/untitled.dir/Filmotheque.c.s
|
||||
.PHONY : Filmotheque.c.s
|
||||
|
||||
List.o: List.c.o
|
||||
|
||||
.PHONY : List.o
|
||||
|
||||
# target to build an object file
|
||||
List.c.o:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/untitled.dir/build.make CMakeFiles/untitled.dir/List.c.o
|
||||
.PHONY : List.c.o
|
||||
|
||||
List.i: List.c.i
|
||||
|
||||
.PHONY : List.i
|
||||
|
||||
# target to preprocess a source file
|
||||
List.c.i:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/untitled.dir/build.make CMakeFiles/untitled.dir/List.c.i
|
||||
.PHONY : List.c.i
|
||||
|
||||
List.s: List.c.s
|
||||
|
||||
.PHONY : List.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
List.c.s:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/untitled.dir/build.make CMakeFiles/untitled.dir/List.c.s
|
||||
.PHONY : List.c.s
|
||||
|
||||
Movie.o: Movie.c.o
|
||||
|
||||
.PHONY : Movie.o
|
||||
|
||||
# target to build an object file
|
||||
Movie.c.o:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/untitled.dir/build.make CMakeFiles/untitled.dir/Movie.c.o
|
||||
.PHONY : Movie.c.o
|
||||
|
||||
Movie.i: Movie.c.i
|
||||
|
||||
.PHONY : Movie.i
|
||||
|
||||
# target to preprocess a source file
|
||||
Movie.c.i:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/untitled.dir/build.make CMakeFiles/untitled.dir/Movie.c.i
|
||||
.PHONY : Movie.c.i
|
||||
|
||||
Movie.s: Movie.c.s
|
||||
|
||||
.PHONY : Movie.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
Movie.c.s:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/untitled.dir/build.make CMakeFiles/untitled.dir/Movie.c.s
|
||||
.PHONY : Movie.c.s
|
||||
|
||||
NodeTrie.o: NodeTrie.c.o
|
||||
|
||||
.PHONY : NodeTrie.o
|
||||
|
||||
# target to build an object file
|
||||
NodeTrie.c.o:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/untitled.dir/build.make CMakeFiles/untitled.dir/NodeTrie.c.o
|
||||
.PHONY : NodeTrie.c.o
|
||||
|
||||
NodeTrie.i: NodeTrie.c.i
|
||||
|
||||
.PHONY : NodeTrie.i
|
||||
|
||||
# target to preprocess a source file
|
||||
NodeTrie.c.i:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/untitled.dir/build.make CMakeFiles/untitled.dir/NodeTrie.c.i
|
||||
.PHONY : NodeTrie.c.i
|
||||
|
||||
NodeTrie.s: NodeTrie.c.s
|
||||
|
||||
.PHONY : NodeTrie.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
NodeTrie.c.s:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/untitled.dir/build.make CMakeFiles/untitled.dir/NodeTrie.c.s
|
||||
.PHONY : NodeTrie.c.s
|
||||
|
||||
main.o: main.c.o
|
||||
|
||||
.PHONY : main.o
|
||||
|
||||
# target to build an object file
|
||||
main.c.o:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/untitled.dir/build.make CMakeFiles/untitled.dir/main.c.o
|
||||
.PHONY : main.c.o
|
||||
|
||||
main.i: main.c.i
|
||||
|
||||
.PHONY : main.i
|
||||
|
||||
# target to preprocess a source file
|
||||
main.c.i:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/untitled.dir/build.make CMakeFiles/untitled.dir/main.c.i
|
||||
.PHONY : main.c.i
|
||||
|
||||
main.s: main.c.s
|
||||
|
||||
.PHONY : main.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
main.c.s:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/untitled.dir/build.make CMakeFiles/untitled.dir/main.c.s
|
||||
.PHONY : main.c.s
|
||||
|
||||
# Help Target
|
||||
help:
|
||||
@echo "The following are some of the valid targets for this Makefile:"
|
||||
@echo "... all (the default if no target is provided)"
|
||||
@echo "... clean"
|
||||
@echo "... depend"
|
||||
@echo "... edit_cache"
|
||||
@echo "... rebuild_cache"
|
||||
@echo "... untitled"
|
||||
@echo "... Filmotheque.o"
|
||||
@echo "... Filmotheque.i"
|
||||
@echo "... Filmotheque.s"
|
||||
@echo "... List.o"
|
||||
@echo "... List.i"
|
||||
@echo "... List.s"
|
||||
@echo "... Movie.o"
|
||||
@echo "... Movie.i"
|
||||
@echo "... Movie.s"
|
||||
@echo "... NodeTrie.o"
|
||||
@echo "... NodeTrie.i"
|
||||
@echo "... NodeTrie.s"
|
||||
@echo "... main.o"
|
||||
@echo "... main.i"
|
||||
@echo "... main.s"
|
||||
.PHONY : help
|
||||
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
Start testing: Jun 13 11:54 CEST
|
||||
Start testing: Jun 13 12:28 CEST
|
||||
----------------------------------------------------------
|
||||
End testing: Jun 13 11:54 CEST
|
||||
End testing: Jun 13 12:28 CEST
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
ready
|
||||
BIN
BackEnd/cmake-build-debug/test
Normal file
BIN
BackEnd/cmake-build-debug/test
Normal file
Binary file not shown.
BIN
BackEnd/cmake-build-debug/untitled
Normal file
BIN
BackEnd/cmake-build-debug/untitled
Normal file
Binary file not shown.
110
BackEnd/cmake-build-debug/untitled.cbp
Normal file
110
BackEnd/cmake-build-debug/untitled.cbp
Normal file
@@ -0,0 +1,110 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CodeBlocks_project_file>
|
||||
<FileVersion major="1" minor="6"/>
|
||||
<Project>
|
||||
<Option title="untitled"/>
|
||||
<Option makefile_is_custom="1"/>
|
||||
<Option compiler="gcc"/>
|
||||
<Option virtualFolders="CMake Files\;"/>
|
||||
<Build>
|
||||
<Target title="all">
|
||||
<Option working_dir="/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug"/>
|
||||
<Option type="4"/>
|
||||
<MakeCommands>
|
||||
<Build command="/usr/bin/gmake -j16 -f "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/Makefile" VERBOSE=1 all"/>
|
||||
<CompileFile command="/usr/bin/gmake -j16 -f "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="/usr/bin/gmake -j16 -f "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="/usr/bin/gmake -j16 -f "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="edit_cache">
|
||||
<Option working_dir="/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug"/>
|
||||
<Option type="4"/>
|
||||
<MakeCommands>
|
||||
<Build command="/usr/bin/gmake -j16 -f "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/Makefile" VERBOSE=1 edit_cache"/>
|
||||
<CompileFile command="/usr/bin/gmake -j16 -f "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="/usr/bin/gmake -j16 -f "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="/usr/bin/gmake -j16 -f "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="rebuild_cache">
|
||||
<Option working_dir="/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug"/>
|
||||
<Option type="4"/>
|
||||
<MakeCommands>
|
||||
<Build command="/usr/bin/gmake -j16 -f "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/Makefile" VERBOSE=1 rebuild_cache"/>
|
||||
<CompileFile command="/usr/bin/gmake -j16 -f "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="/usr/bin/gmake -j16 -f "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="/usr/bin/gmake -j16 -f "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="untitled">
|
||||
<Option output="/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/untitled" prefix_auto="0" extension_auto="0"/>
|
||||
<Option working_dir="/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug"/>
|
||||
<Option object_output="./"/>
|
||||
<Option type="1"/>
|
||||
<Option compiler="gcc"/>
|
||||
<Compiler>
|
||||
<Add directory="/usr/lib/gcc/x86_64-linux-gnu/10/include"/>
|
||||
<Add directory="/usr/local/include"/>
|
||||
<Add directory="/usr/include/x86_64-linux-gnu"/>
|
||||
<Add directory="/usr/include"/>
|
||||
</Compiler>
|
||||
<MakeCommands>
|
||||
<Build command="/usr/bin/gmake -j16 -f "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/Makefile" VERBOSE=1 untitled"/>
|
||||
<CompileFile command="/usr/bin/gmake -j16 -f "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="/usr/bin/gmake -j16 -f "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="/usr/bin/gmake -j16 -f "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="untitled/fast">
|
||||
<Option output="/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/untitled" prefix_auto="0" extension_auto="0"/>
|
||||
<Option working_dir="/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug"/>
|
||||
<Option object_output="./"/>
|
||||
<Option type="1"/>
|
||||
<Option compiler="gcc"/>
|
||||
<Compiler>
|
||||
<Add directory="/usr/lib/gcc/x86_64-linux-gnu/10/include"/>
|
||||
<Add directory="/usr/local/include"/>
|
||||
<Add directory="/usr/include/x86_64-linux-gnu"/>
|
||||
<Add directory="/usr/include"/>
|
||||
</Compiler>
|
||||
<MakeCommands>
|
||||
<Build command="/usr/bin/gmake -j16 -f "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/Makefile" VERBOSE=1 untitled/fast"/>
|
||||
<CompileFile command="/usr/bin/gmake -j16 -f "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="/usr/bin/gmake -j16 -f "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="/usr/bin/gmake -j16 -f "/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
</Build>
|
||||
<Unit filename="/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Filmotheque.c">
|
||||
<Option target="untitled"/>
|
||||
</Unit>
|
||||
<Unit filename="/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Filmotheque.h">
|
||||
<Option target="untitled"/>
|
||||
</Unit>
|
||||
<Unit filename="/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/List.c">
|
||||
<Option target="untitled"/>
|
||||
</Unit>
|
||||
<Unit filename="/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/List.h">
|
||||
<Option target="untitled"/>
|
||||
</Unit>
|
||||
<Unit filename="/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Movie.c">
|
||||
<Option target="untitled"/>
|
||||
</Unit>
|
||||
<Unit filename="/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/Movie.h">
|
||||
<Option target="untitled"/>
|
||||
</Unit>
|
||||
<Unit filename="/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/NodeTrie.c">
|
||||
<Option target="untitled"/>
|
||||
</Unit>
|
||||
<Unit filename="/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/NodeTrie.h">
|
||||
<Option target="untitled"/>
|
||||
</Unit>
|
||||
<Unit filename="/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/main.c">
|
||||
<Option target="untitled"/>
|
||||
</Unit>
|
||||
<Unit filename="/mnt/c/Users/BreizhHardware/Nextcloud/Programation/C/Isen/ProjetFin/BackEnd/CMakeLists.txt">
|
||||
<Option virtualFolder="CMake Files\"/>
|
||||
</Unit>
|
||||
</Project>
|
||||
</CodeBlocks_project_file>
|
||||
@@ -29,14 +29,14 @@ int main(){
|
||||
double time_taken = ((double)start)/CLOCKS_PER_SEC;
|
||||
printList(result2);
|
||||
printResultInFile(result2,time_taken);
|
||||
/*
|
||||
|
||||
printf("\n-------------------------------------------------------\n");
|
||||
struct List* result3 = searchByCategory(tableau,"Action");
|
||||
printList(result3);
|
||||
printf("\n-------------------------------------------------------\n");
|
||||
struct List* result4 = searchByFilm(tableau,"the");
|
||||
struct List* result4 = searchByFilm(tableau,"The");
|
||||
printList(result4);
|
||||
*/
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -18,7 +18,7 @@
|
||||
<form id="formDirector" action="result.html">
|
||||
<p id="directorError" class="error"></p>
|
||||
<input type="text" id="director" class="searchField" name="director" placeholder="Rechercher par le nom d'un réalisateur"><br>
|
||||
<button type="submit" id="directorButton" class="searchButton" onclick="writeFile('formDirector', 'searchByDirector')" disabled>Rechercher par realisateur</button>
|
||||
<button type="submit" id="directorButton" class="searchButton" disabled>Rechercher par realisateur</button>
|
||||
</form>
|
||||
<form id="formDuree" action="result.html">
|
||||
<p id="dureeError" class="error"></p>
|
||||
@@ -41,7 +41,7 @@
|
||||
</form>
|
||||
<form id="formAll" action="result.html">
|
||||
<input type="text" style="display: none" name="All">
|
||||
<button type="submit" id="researchAll" onclick="writeFile('formAll', 'searchAll')" class="searchButton">Tout rechercher</button><br>
|
||||
<button type="submit" id="researchAll" class="searchButton">Tout rechercher</button><br>
|
||||
</form>
|
||||
<form id="formStop"></form>
|
||||
<button id="stop" onclick="writeFile('formStop', 'stopServer')">Couper le serveur</button>
|
||||
|
||||
@@ -1,29 +1,24 @@
|
||||
// ------- WRITE FILE -------
|
||||
function writeFile(id_form,func) {
|
||||
|
||||
function writeFile(id_form, func) {
|
||||
let element = document.createElement('a');
|
||||
|
||||
let text1 = document.getElementById(id_form);
|
||||
let count = text1.elements.length;
|
||||
let textToSave = func;
|
||||
for(let i = 0;i<count-1;i++){
|
||||
|
||||
for (let i = 0; i < count - 1; i++) {
|
||||
textToSave += ";" + text1[i].value;
|
||||
}
|
||||
|
||||
element.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(textToSave));
|
||||
element.setAttribute('download', 'request.txt');
|
||||
|
||||
element.style.display = 'none';
|
||||
document.body.appendChild(element);
|
||||
element.click();
|
||||
document.body.removeChild(element);
|
||||
while(true){
|
||||
if(readFileByName("../BackEnd/results.txt") !== ""){
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// text1.submit();
|
||||
return new Promise((resolve, reject) => {
|
||||
checkFile(resolve);
|
||||
});
|
||||
}
|
||||
// -------------------------
|
||||
|
||||
@@ -52,6 +47,66 @@ function readFile(){
|
||||
function callWrite() {
|
||||
writeFile("form-findByDirector", )
|
||||
}
|
||||
// -------- CHECK FILE --------
|
||||
|
||||
function checkFile(resolve) {
|
||||
if (readFileByName("../BackEnd/ready.txt") !== "") {
|
||||
resolve();
|
||||
} else {
|
||||
setTimeout(() => checkFile(resolve), 1000);
|
||||
}
|
||||
}
|
||||
|
||||
const result = readFileByName("../BackEnd/results.txt");
|
||||
const result = readFileByName("../BackEnd/results.txt");
|
||||
|
||||
// ----------ON CLICK----------
|
||||
|
||||
document.getElementById('directorButton').addEventListener('click', function() {
|
||||
writeFile('formDirector', 'searchByDirector')
|
||||
.then(() => {
|
||||
// Envoi du formulaire formDirector
|
||||
document.getElementById('formDirector').submit();
|
||||
})
|
||||
.catch((error) => {
|
||||
});
|
||||
});
|
||||
|
||||
document.getElementById('dureeButton').addEventListener('click', function() {
|
||||
writeFile('formDuree', 'searchByDuree')
|
||||
.then(() => {
|
||||
// Envoi du formulaire formDuree
|
||||
document.getElementById('formDuree').submit();
|
||||
})
|
||||
.catch((error) => {
|
||||
});
|
||||
});
|
||||
|
||||
document.getElementById('categorieButton').addEventListener('click', function() {
|
||||
writeFile('formCategorie', 'searchByCategorie')
|
||||
.then(() => {
|
||||
// Envoi du formulaire formCategorie
|
||||
document.getElementById('formCategorie').submit();
|
||||
})
|
||||
.catch((error) => {
|
||||
});
|
||||
});
|
||||
|
||||
document.getElementById('filmButton').addEventListener('click', function() {
|
||||
writeFile('formFilm', 'searchByFilm')
|
||||
.then(() => {
|
||||
// Envoi du formulaire formFilm
|
||||
document.getElementById('formFilm').submit();
|
||||
})
|
||||
.catch((error) => {
|
||||
});
|
||||
});
|
||||
|
||||
document.getElementById('realMostMovie').addEventListener('click', function() {
|
||||
writeFile('formMostMovie', 'searchRealMostMovie')
|
||||
.then(() => {
|
||||
// Envoi du formulaire formRealMostMovie
|
||||
document.getElementById('formMostMovie').submit();
|
||||
})
|
||||
.catch((error) => {
|
||||
});
|
||||
});
|
||||
@@ -1,5 +1,5 @@
|
||||
// -----------fonction display-------------
|
||||
function displayDirector(){
|
||||
function displayDirector(time){
|
||||
const queryString = window.location.search;
|
||||
|
||||
//Verifie si le parametre director est present dans l'url
|
||||
@@ -12,7 +12,7 @@ function displayDirector(){
|
||||
|
||||
let resultTitle = document.getElementById("resultTitle");
|
||||
|
||||
resultTitle.innerHTML = "Film par " + director + " :<br> Temps de recherche : 1ms";
|
||||
resultTitle.innerHTML = "Film par " + director + " :<br> Temps de recherche : " + time + "s";
|
||||
|
||||
readAndDisplay();
|
||||
|
||||
@@ -20,35 +20,35 @@ function displayDirector(){
|
||||
}
|
||||
|
||||
|
||||
function displayDuree(){
|
||||
function displayDuree(time){
|
||||
const queryString = window.location.search;
|
||||
if(queryString.includes("duree")){
|
||||
const urlParms = new URLSearchParams(queryString);
|
||||
const duree = urlParms.get('duree');
|
||||
let resultTitle = document.getElementById("resultTitle");
|
||||
resultTitle.innerHTML = "Film de " + duree + " minutes :<br> Temps de recherche : 1ms";
|
||||
resultTitle.innerHTML = "Film de " + duree + " minutes :<br> Temps de recherche : " + time + "s";
|
||||
readAndDisplay();
|
||||
}
|
||||
}
|
||||
|
||||
function displayCategorie(){
|
||||
function displayCategorie(time){
|
||||
const queryString = window.location.search;
|
||||
if(queryString.includes("categorie")){
|
||||
const urlParms = new URLSearchParams(queryString);
|
||||
const categorie = urlParms.get('categorie');
|
||||
let resultTitle = document.getElementById("resultTitle");
|
||||
resultTitle.innerHTML = "Film de la catégorie " + categorie + " :<br> Temps de recherche : 1ms";
|
||||
resultTitle.innerHTML = "Film de la catégorie " + categorie + " :<br> Temps de recherche : " + time + "s";
|
||||
readAndDisplay();
|
||||
}
|
||||
}
|
||||
|
||||
function displayFilm(){
|
||||
function displayFilm(time){
|
||||
const queryString = window.location.search;
|
||||
if(queryString.includes("film")){
|
||||
const urlParms = new URLSearchParams(queryString);
|
||||
const film = urlParms.get('film');
|
||||
let resultTitle = document.getElementById("resultTitle");
|
||||
resultTitle.innerHTML = "Film contenant " + film + " :<br> Temps de recherche : 1ms";
|
||||
resultTitle.innerHTML = "Film contenant " + film + " :<br> Temps de recherche : " + time + "s";
|
||||
readAndDisplay();
|
||||
}
|
||||
}
|
||||
@@ -56,8 +56,7 @@ function displayFilm(){
|
||||
function displayAll(){
|
||||
const queryString = window.location.search;
|
||||
if(queryString.includes("All")){
|
||||
let resultTitle = document.getElementById("resultTitle");
|
||||
resultTitle.innerHTML = "Tous les films :<br> Temps de recherche : 1ms";
|
||||
let start = new Date().getTime();
|
||||
const result = readFileByName("../BackEnd/BD_big.txt");
|
||||
|
||||
// Récupère le tableau de films
|
||||
@@ -87,6 +86,11 @@ function displayAll(){
|
||||
|
||||
// Calculer le nombre total de pages
|
||||
totalPages = Math.ceil(films.length / filmsPerPage);
|
||||
let end = new Date().getTime();
|
||||
let time = (end - start) / 1000;
|
||||
// Affiche la recherche
|
||||
let resultTitle = document.getElementById("resultTitle");
|
||||
resultTitle.innerHTML = "Tous les films :<br> Temps de recherche : " + time + "s";
|
||||
// Afficher la première page
|
||||
displayPage(currentPage);
|
||||
}
|
||||
@@ -153,16 +157,6 @@ function readFileByName(fileName){
|
||||
return xhr.responseText;
|
||||
}
|
||||
|
||||
function readFile(){
|
||||
readFileByName("ready.txt");
|
||||
return readFileByName("results.txt");
|
||||
}
|
||||
// -------------------------
|
||||
|
||||
|
||||
function callWrite() {
|
||||
writeFile("form-findByDirector", )
|
||||
}
|
||||
|
||||
// ------- READ AND DISPLAY -------
|
||||
|
||||
@@ -171,11 +165,10 @@ let currentPage = 1;
|
||||
const filmsPerPage = 20;
|
||||
|
||||
function readAndDisplay() {
|
||||
const result = readFileByName("../BackEnd/results.txt");
|
||||
|
||||
// Récupère le tableau de films
|
||||
const result = readFileByName("../BackEnd/result.txt");
|
||||
// Récupère le tableau de films a partir de la 2eme ligne
|
||||
films = result.split("\n");
|
||||
|
||||
films.shift();
|
||||
if (films.length === 0) {
|
||||
let alert = document.getElementById("result");
|
||||
alert.innerHTML = "Aucun film trouvé";
|
||||
@@ -191,15 +184,15 @@ function readAndDisplay() {
|
||||
films[i] = films[i].replace("\r", "");
|
||||
}
|
||||
|
||||
films.filter[Boolean];
|
||||
|
||||
// Split chaque élément du tableau en un tableau de 4 éléments
|
||||
for (let i = 0; i < films.length; i++) {
|
||||
films[i] = films[i].split(";");
|
||||
}
|
||||
films = films.map(film => film.split(";"));
|
||||
|
||||
films.sort((a, b) => a[1].localeCompare(b[1]));
|
||||
|
||||
// Calculer le nombre total de pages
|
||||
totalPages = Math.ceil(films.length / filmsPerPage);
|
||||
totalPages = Math.ceil(films.length-1 / filmsPerPage);
|
||||
// Afficher la première page
|
||||
displayPage(currentPage);
|
||||
}
|
||||
@@ -249,8 +242,8 @@ function clearContainers() {
|
||||
|
||||
function updatePagination(page) {
|
||||
// Mettre à jour le numéro de page affiché
|
||||
let resultTitle = document.getElementById("pageNumbers");
|
||||
resultTitle.innerText = "Page " + page;
|
||||
let pageNumber = document.getElementById("pageNumbers");
|
||||
pageNumber.innerText = "Page " + page;
|
||||
|
||||
// Afficher ou masquer les boutons de navigation en fonction de la page actuelle
|
||||
let previousButton = document.getElementById("previousButton");
|
||||
@@ -283,6 +276,16 @@ function goToNextPage() {
|
||||
}
|
||||
}
|
||||
|
||||
function goToFirstPage() {
|
||||
currentPage = 1;
|
||||
displayPage(currentPage);
|
||||
}
|
||||
|
||||
function goToLastPage() {
|
||||
currentPage = totalPages;
|
||||
displayPage(currentPage);
|
||||
}
|
||||
|
||||
function addCard(container, real, title, duree, categorie){
|
||||
let card = document.createElement("div");
|
||||
card.classList.add("card");
|
||||
@@ -290,13 +293,18 @@ function addCard(container, real, title, duree, categorie){
|
||||
container.appendChild(card);
|
||||
}
|
||||
|
||||
|
||||
|
||||
// -------------------------
|
||||
//Appel des fonctions
|
||||
|
||||
displayDirector();
|
||||
displayDuree();
|
||||
displayCategorie();
|
||||
displayFilm();
|
||||
displayAll();
|
||||
displayMostMovies();
|
||||
displayFallBack();
|
||||
const result = readFileByName("../BackEnd/result.txt");
|
||||
// Récupère la première ligne du fichier
|
||||
const firstLine = result.split("\n")[0];
|
||||
displayDirector(firstLine);
|
||||
displayDuree(firstLine);
|
||||
displayCategorie(firstLine);
|
||||
displayFilm(firstLine);
|
||||
displayMostMovies(firstLine);
|
||||
displayFallBack(firstLine);
|
||||
displayAll();
|
||||
@@ -39,6 +39,10 @@
|
||||
<button class="pageButton" id="previousButton" onclick="goToPreviousPage()"><i class="fa-solid fa-arrow-left" style="color: #ffffff;"></i></button>
|
||||
<button class="pageButton" id="nextButton" onclick="goToNextPage()"><i class="fa-solid fa-arrow-right" style="color: #ffffff;"></i></button><br>
|
||||
</div>
|
||||
<div id="navButton2">
|
||||
<button class="pageButton2" id="firstButton" onclick="goToFirstPage()">Aller à la première page</button>
|
||||
<button class="pageButton2" id="lastButton" onclick="goToLastPage()">Aller à la dernière page</button><br>
|
||||
</div>
|
||||
<button class="searchButton" id="returnToHome" onclick="returnToHome()">Retourner à l'accueil</button><br>
|
||||
<button id="stop stopResult" onclick="stopServer()">Couper le serveur</button>
|
||||
<div id="bottom">
|
||||
|
||||
@@ -167,4 +167,22 @@ h1{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
#navButton2{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-direction: row;
|
||||
gap: 1em;
|
||||
}
|
||||
|
||||
.pageButton2{
|
||||
height: 2em;
|
||||
width: auto;
|
||||
background-color: #3b428a;
|
||||
border: none;
|
||||
align-self: center;
|
||||
margin-bottom: 1em;
|
||||
cursor: pointer;
|
||||
color: white;
|
||||
}
|
||||
Reference in New Issue
Block a user