Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • main
  • master
2 results

Target

Select target project
  • AlifIhsan Syauqi / Projet_Pne
1 result
Select Git revision
  • main
  • master
2 results
Show changes
55 files
+ 5692
0
Compare changes
  • Side-by-side
  • Inline

Files

.idea/.gitignore

0 → 100644
+8 −0
Original line number Original line Diff line number Diff line
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

.idea/.name

0 → 100644
+1 −0
Original line number Original line Diff line number Diff line
LE_PROJET___CLION_VER
 No newline at end of file

.idea/LE PROJET.iml

0 → 100644
+2 −0
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<module classpath="CMake" type="CPP_MODULE" version="4" />
 No newline at end of file

.idea/editor.xml

0 → 100644
+580 −0

File added.

Preview size limit exceeded, changes collapsed.

.idea/misc.xml

0 → 100644
+7 −0
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="CMakePythonSetting">
    <option name="pythonIntegrationState" value="YES" />
  </component>
  <component name="CMakeWorkspace" PROJECT_DIR="$PROJECT_DIR$" />
</project>
 No newline at end of file

.idea/modules.xml

0 → 100644
+8 −0
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="ProjectModuleManager">
    <modules>
      <module fileurl="file://$PROJECT_DIR$/.idea/LE PROJET.iml" filepath="$PROJECT_DIR$/.idea/LE PROJET.iml" />
    </modules>
  </component>
</project>
 No newline at end of file

.vscode/launch.json

0 → 100644
+32 −0
Original line number Original line Diff line number Diff line
{
    "configurations": [
               {
                 "name": " Make MPM",
               "type": "cppdbg",
               "request": "launch",
               "program": "${fileDirname}/../bin/mpm",
               "args": ["data/graph2.dta"],
               "stopAtEntry": false,
               "cwd": "${fileDirname}",
               "environment": [],
               "externalConsole": false,
               "MIMode": "gdb",
               "setupCommands": [
                         {
                           "description": "Activer l'impression en mode Pretty pour gdb",
                             "text": "-enable-pretty-printing",
                             "ignoreFailures": true
                             },
                         {
                           "description": "Définir la version désassemblage sur Intel",
                             "text": "-gdb-set disassembly-flavor intel",
                             "ignoreFailures": true
                             }
                         ],
               "preLaunchTask": "make: all",
               "miDebuggerPath": "/usr/bin/gdb"
               },
               ],
      "version": "2.0.0"
  }
  
 No newline at end of file

.vscode/settings.json

0 → 100644
+3 −0
Original line number Original line Diff line number Diff line
{
    "C_Cpp.errorSquiggles": "disabled"
}
 No newline at end of file

CMakeLists.txt

0 → 100644
+31 −0
Original line number Original line Diff line number Diff line
cmake_minimum_required(VERSION 3.30)
project(LE_PROJET___CLION_VER C)

set(CMAKE_C_STANDARD 11)

include_directories("LES TA DES TACHES/include")
include_directories("LES TA DES TACHES/Main and rank 3")

add_executable(LE_PROJET___CLION_VER
    "LES TA DES TACHES/include/db.h"
    "LES TA DES TACHES/include/job_1 (1).h"
    "LES TA DES TACHES/include/job_2.h"
    "LES TA DES TACHES/include/job_3.h"
    "LES TA DES TACHES/include/list_1 (1).h"
    "LES TA DES TACHES/include/list_2.h"
    "LES TA DES TACHES/include/outils.h"
    "LES TA DES TACHES/include/list.h"
    "LES TA DES TACHES/include/list_elm.h"
    "LES TA DES TACHES/Main and rank 3/main (1).c"
    "LES TA DES TACHES/Main and rank 3/rank (3).h"
    "LES TA DES TACHES/READGRAPH ET QUICKSORT/Projet_Canevas/canevas/io.c"
    "LES TA DES TACHES/READGRAPH ET QUICKSORT/Projet_Canevas/canevas/job.c"
    "LES TA DES TACHES/src/db.c"
    "LES TA DES TACHES/src/job_1 (1).c"
    "LES TA DES TACHES/src/job_2.c"
    "LES TA DES TACHES/src/job_3.c"
    "LES TA DES TACHES/src/list_1 (1).c"
    "LES TA DES TACHES/src/list_2.c"
    "LES TA DES TACHES/src/outils.c"
    "LES TA DES TACHES/src/list.c"
        "LES TA DES TACHES/src/list_elm.c")
Original line number Original line Diff line number Diff line
#include <stdio.h>
#include <stdlib.h>

#include "job_2.h"
#include "job_3.h"
#include "list_1 (1).h"
#include "list_2.h"


int main(int argc, char ** argv){
    if(argc < 2) exit(-1);

    list_t * G = read_graph(argv[1]);
    printf("Liste des tâches lue\n");
    view_list(G, &view_job);

    printf("Liste des tâches triée par degré d'entrée croissant\n");
    quick_sort(G, &iDegreeJobCmp);
    view_list(G,&view_job);

    printf("Liste des tâches triée par rang croissant\n");
    ranking(G);
    view_list(G,&view_job);

    printf("Prune edges\n");
    prune(G);
    view_list(G,&view_job);

    printf("\nMarges totales des tâches\n");
    marges(G);
    view_list(G,&view_job);
    return 0;
}
Original line number Original line Diff line number Diff line
#include "list_1 (1).h"


void ranking(list_t * G);
void prune(list_t * G);

void marges(list_t * G);
Original line number Original line Diff line number Diff line
#include <list.h>
#include <list_elm.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>

#include "job_1 (1).h"
#include "job_2.h"
#include "job_3.h"
#include "list_1 (1).h"
#include "list_2.h"


list_t * read_graph ( char * filename ) {
    FILE * fd = fopen ( filename, "rt" );
    list_t * G = new_list ( );
    assert ( fd && G );
    char job_name [ BUFSIZ ];

    while ( !feof ( fd ) ) {

        fscanf ( fd, " %s", job_name);
        if ( !strcmp (job_name, "NIL" ) ) continue;

        job_t * J = new_job ( job_name );

	/** @note
	    À l'appel J pointe sur le job que l'on vient de créer.
	    
	    FIND retrouve le job J dans la liste G des jobs grâce à la fonction titleJobCmp.
	    Si ce job n'est pas dans la liste G alors
	        le job pointé par J est enregistré dans G
	    Si ce job est déjà dans G alors
	        le job pointé par J est supprimé grâce à free_job
		puis le pointeur de J est réassigné sur le job trouvé dans G
	 */
	find ( G, ( void ** ) &J, &titleJobCmp, &free_job );

	fscanf ( fd, "%lf", &(J->life) );

	/** @note
	    Enregistrement des préséances
	*/
	job_t * predJ;
	fscanf( fd, " %s", job_name );
	while ( strcmp ( job_name, "NIL" ) ) {
	  predJ = new_job ( job_name );
    
	  find ( G, (void **) &predJ, &titleJobCmp, &free_job );

	  ordered_insert ( predJ->posteriority, J, &titleJobCmp );
	  incr_job_oDegree ( predJ );

	  ordered_insert ( J->precedence, predJ, &titleJobCmp );
	  incr_job_iDegree ( J );

	  fscanf ( fd, " %s", job_name );
	}
	
	/** @note valeurs par défaut des autres champs */
        J->dyn_input_degree = J->input_degree;
        J->rank = UNDEF;
        J->au_plus_tard = UNDEF;
        J->au_plus_tot = UNDEF;
        J->marge_totale = UNDEF;
        J->critique = false;
    }

    view_list(G,&view_job);
    return G;
}

void quick_sort(list_t * L, int (*cmpFct)()){
    assert(L && cmpFct);

    if(L->numelm > 1){
        elmlist_t * pivot = get_head(L);
        L->head = get_suc(pivot); // reste(L)
        pivot->pred = NULL;
        pivot->suc = NULL;

        list_t * val_inf_pivot = new_list();
        list_t * val_sup_pivot = new_list();

        partition(L,pivot,val_inf_pivot,val_sup_pivot,cmpFct);
        
        /// On supprimer les éléments de L sans supprimer ni L ni les jobs
        elmlist_t * S;
        for(elmlist_t * E = L->head; E; E = S){
            S = E->suc;
            free(E);
        }

        /** @note
         * Si la partie inf est vide alors L commence par le pivot
         * Sinon on tri grâce à cmpFct la partie inf puis on ajoute en queue le pivot
         */
        if(is_empty(val_inf_pivot)){
            L->head = pivot;
            L->tail = pivot;
            L->numelm = 1;
        }else{
            quick_sort(val_inf_pivot,cmpFct);
            L->head = val_inf_pivot->head;
            L->tail = val_inf_pivot->tail;
            L->numelm = val_inf_pivot->numelm;
            pivot->pred= L->tail;
            L->tail->suc = pivot;
            L->tail = pivot;
            L->numelm += 1;
        }
        /** @note
         * Si la partie sup n'est pas vide alors
         * On la trie puis on la concatène à la partie inf
         */
        if(!is_empty(val_sup_pivot)){
            quick_sort(val_sup_pivot,cmpFct);
            val_sup_pivot->head->pred = pivot;
            set_suc(pivot, val_sup_pivot->head);
            L->tail = val_sup_pivot->tail;
            L->numelm += val_sup_pivot->numelm;
        }
        free(val_inf_pivot);
        free(val_sup_pivot);
    }
}
Original line number Original line Diff line number Diff line
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <string.h>
#include "job_2.h"
#include "job_1 (1).h"
#include "list.h"

job_t * new_empty_job ( ) {
    job_t * J = calloc ( 1, sizeof (job_t ) );
    assert( J );
    J->precedence = new_list ( );
    J->posteriority = new_list ( );
    J->rank = UNDEF;
    J->au_plus_tard = UNDEF;
    J->au_plus_tot = UNDEF;
    J->marge_totale = UNDEF;
    J->critique = false;
    return J;
}
job_t * new_job ( char * title ) {
    job_t * J = new_empty_job ( );
    J->title = strdup ( title );
    return J;
}
void free_job(job_t ** ptrJ ) {
    assert ( ptrJ && *ptrJ );
    if( (*ptrJ)->title ) free ( (*ptrJ)->title );
    free ( *ptrJ );
    *ptrJ = NULL;
}

void view_job ( job_t * J ) {
    printf ( "JOB %s\n\tpreceeded by [", get_job_tilte ( J ) );
    for(elmlist_t * E = get_head ( J->precedence ); E; E = get_suc ( E ) ) {
        printf ( " %s", get_job_tilte ( get_data ( E ) ) );
    }
    printf ( " ]\n" );
    // if ( !get_numelm ( J->posteriority ) ) printf ( "\t" );
    printf ( "\tfollowed by [" );
    for(elmlist_t * E = get_head(J->posteriority); E; E = get_suc(E)){
        printf(" %s", get_job_tilte(get_data(E)));
    }
    printf ( " ]\n" );
    printf ( "\tiDeg=%d\toDeg=%d\tlife=%2.2lf", J->input_degree, J->output_degree, J->life );
    printf ( "\trank=" );
    if ( J->rank == UNDEF ) printf ( "U" ); else printf ( "%d", J->rank );
    printf ( "\tearly=" );
    if(J->au_plus_tot == UNDEF ) printf("U"); else printf ( "%2.2lf",J->au_plus_tot );
    printf ( "\tlate=" );
    if(J->au_plus_tard == UNDEF ) printf("U"); else printf ( "%2.2lf",J->au_plus_tard );
    printf ( "\ttotale= " );
    if ( J->marge_totale == UNDEF ) printf("U"); else printf ( "%2.2lf", J->marge_totale );
    printf ( "\tcritical= " );
    if ( J->critique ) printf("Y\n"); else printf ( "N\n" );
}
+24 −0
Original line number Original line Diff line number Diff line
#ifndef DB_H
#define DB_H

#include "list.h"


/* file mode : text or binary */
typedef enum file_mode { TEXT, BINARY } file_mode_t;

/** 
 * @brief read a list from a text or binary file acording to the mode 
 * @param mode : TEXT or BIN
 * @param data_read_fct : ptr to fct that reads datum from file fd ; fct's parameters : (fd, mode)
 * @param del_fct : ptr to fct that deallocate datum's memory, ; fct's parameter (datum)
 */
list_t * read_list ( file_mode_t mode, void * (*read_fct) (), void (*del_fct) () );


/** 
 * @brief write a list into a text or binary file acording to the mode
 * @param mode : TEXT or BIN
 * @param data_write_fct : ptr to fct that writes datum into file fd ; fct's parameters : (datum, fd, mode)
 */
void write_list ( list_t * L, file_mode_t mode, void (*write_fct) () );
 No newline at end of file
+19 −0
Original line number Original line Diff line number Diff line
#define UNDEF -2
#include "list.h"
#include <stdbool.h>
/** Des redondances possibles avec d'autres TAs ! */
typedef struct {
  char * title;                 // Nom de la tâche
  double life;                  // Durée de la tâche
  int input_degree;             // Son degré de dépendance
  int output_degree;            // Les tâches qui en dépendent
  int rank;                     // Rang de la tâche
  int dyn_input_degree;         // Facilité de prog
  list_t * precedence;   // Les tâches précédentes
  list_t * posteriority; // Les tâches ultérieures
  double au_plus_tot;           // Date au plus tôt
  double au_plus_tard;          // Date au plus tard
  double marge_totale;          // Marge totale
  double marge_libre;           // Marge libre
  bool critique;                // Une tâche critique ?
} job_t;
+22 −0
Original line number Original line Diff line number Diff line
#ifndef LIST_H
#define LIST_H

#include <stdbool.h>
#include "list_elm.h"

typedef struct list {
	list_elm_t * head, * tail;
	int numelm;
} list_t;

list_t * new_list();
void del_list ( list_t * * L, void (*ptrf) () );
bool empty_list ( list_t * L );

list_elm_t * get_head ( list_t * L );
list_elm_t * get_tail ( list_t * L );
void view_list ( list_t * L, void (*ptrf)() );

void cons ( list_t * L, void * data );
void queue ( list_t * L, void * data );
void ordered_insert ( list_t * L, void * data, int (*cmpFct)() );
 No newline at end of file
+26 −0
Original line number Original line Diff line number Diff line
#include <stdbool.h>
//verifier le struct elmlist_t
typedef struct{
  elmlist_t * pred;
  elmlist_t * suc;
  void * job;
} elmlist_t ;

typedef struct{
  elmlist_t * head;
  elmlist_t * tail;
  int numelm;
} list_t ;
// Create an empty list
list_t * new_list();
// Delete list, its elements and possibly the data
void del_list(list_t ** ptrL, void (*ptrf) ());
// Clean list; delete its elments but keep data and the list
void clean(list_t * L);
// Is list L empty ?
bool is_empty(list_t * L);
// Gimme the head of L
elmlist_t * get_head(list_t * L);
// Gimme the tail of L
elmlist_t * get_tail(list_t * L);
+19 −0
Original line number Original line Diff line number Diff line

#include "list_1 (1).h"

// Gimme the number of elements of L
int get_numelm(struct list_t * L);
// Take out the data D of the list L if it is present
void take_out(struct list_t * L, void * D);
// Add a element holding data to the head of L
void cons(struct list_t * L, void * data);
// Add  a element holding data to the tail of L
void queue(struct list_t * L, void * data);
// Insert in L a element holding data wrt order given by cmp_ptrf
void ordered_insert(struct list_t * L, void * data, int (*cmp_ptrf)());
// Do the quick sort
void quick_sort(list_t * L, int (*cmpFct)());
// View list
void view_list(list_t * L, void (*ptrf)());
// Return a ptr to element which data is key else NULL
void find(list_t * L, void ** ptrKey, int (*cmpFct)(), void (*delFct)());
+26 −0
Original line number Original line Diff line number Diff line
#ifndef LIST_ELM_H
#define LIST_ELM_H


typedef struct list_elm {
  void * data;
  struct list_elm * suc, * pred;
} list_elm_t;

list_elm_t * new_list_elm ( void * data );
/**
 * @brief delete the list element E and optionnaly its datum
 * @param ptrf : a ptr to fct that deallocates datum's memory ;
 *               if ptrf is NULL, datum is not freed
 */
void del_list_elm( list_elm_t * * E, void (*ptrf)() );

list_elm_t * get_suc ( list_elm_t * E );
list_elm_t * get_pred ( list_elm_t * E );
void * get_data ( list_elm_t * E );

void set_suc ( list_elm_t * E, list_elm_t * S );
void set_pred ( list_elm_t * E, list_elm_t * P );
void set_data ( list_elm_t * E, void * data );

void view_list_elm ( list_elm_t * E, void (*ptrf)() );
+10 −0
Original line number Original line Diff line number Diff line
#ifndef OUTILS_H
#define OUTILS_H

#define EPSILON 0.00000001// ε = 10^{-8}

/** Integer comparaison */
int int_cmp (  int * a, int * b );

/** Double comparaison */
int double_cmp ( double * a, double * b );
 No newline at end of file
+74 −0
Original line number Original line Diff line number Diff line
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include "db.h"
#include "list.h"
#include "list_elm.h"

list_t * read_list( file_mode_t mode, void * (*read_fct) (), void (*del_fct) () ) {
	FILE * fd;
	char fname[20];
	list_t * L = new_list();
	
	if (mode == TEXT) {// Open file in TEXT mode
		printf( "\t\tRead list from text file (.txt)\n\tfile name :" );
		scanf( "%s", fname );
		fd = fopen( fname, "rt" );
	}
	else {// open file in BIN mode
		printf( "\t\tRead list from binary file (.bin)\n\tfile name :" );
		scanf( "%s", fname );
		fd = fopen( fname, "rb" );
	}
	//todo
	void * datum;
	while ((datum = read_fct(fd, mode)) != NULL) {
		queue(L, datum);
	}

	
	list_elm_t * E = get_tail(L);
	if (E != NULL && empty_list(E->data)) {
		list_elm_t * T = get_pred(E);
		if (T != NULL) {
			set_suc(T, NULL);
			L->tail = T;
		} else {
			L->head = L->tail = NULL;
		}
		del_list_elm(&E, del_fct);
	}

		/** TODO parcourir le fichier pour y collecter les formulaires et les ranger dans la L
			ATTENTION :
				il est **possible** que vous créiez un élément de trop (un formulaire vide) en fin de liste.
				Il faut alors penser à le supprimer grâce au code suivant :
					E = get_tail (L);
					struct elmlist * T = getPred(E);
					set_suc(T, NULL);
					L->tail = T;
					del_elmlist(E, ptr_del);
		*/

		
		fclose(fd);
		return L;
	}
void write_list( list_t * L, file_mode_t mode, void (*write_fct) () ) {
	FILE * fd;
	char fname[20];
	if (mode == TEXT) {
		printf( "\t\tWrite list to text file (.txt)\n\tfile name :"), scanf( "%s", fname );
		fd = fopen( fname, "wt" );
	} else {
		printf("\t\tWrite list to binary file (.bin)\n\tfile name :"), scanf( "%s", fname );
		fd = fopen(fname, "wb" );
	}	
		
		for (list_elm_t * elm = get_head(L); elm != NULL; elm = elm->next){
			write_fct(elm->data, mode, fd);
		}
	/// @todo Parcourir L et écrire les formulaires grâce à data_write_fct
	fclose(fd);
}
+5 −0
Original line number Original line Diff line number Diff line
#include "job_1 (1).h"
#include <stdlib.h>
#include <stdbool.h>
#include <stdio.h>
#include <assert.h>
 No newline at end of file
+103 −0
Original line number Original line Diff line number Diff line
#include <stdlib.h>
#include <assert.h>
#include "list.h"
#include "list_elm.h"

list_t * new_list() {
    list_t * L = calloc(1, sizeof(list_t));
    assert(L);
    L->head = NULL;
    L->tail = NULL;
    L->numelm = 0;
    return L;
}

void del_list(list_t ** L, void (*ptr_del)(void *)) {
    assert(L && *L);
    list_t * list = *L;
    list_elm_t * E = list->head;
    while (E) {
        list_elm_t * temp = E;
        E = E->suc;
        if(ptr_del) {
            ptr_del(temp->data);
        }
        free(temp);
    }
    free(*L);
    *L = NULL;
}

bool empty_list(list_t * L) {
    assert(L);
    return L->numelm == 0;
}

list_elm_t * get_head(list_t * L) {
    assert(L);
    return L->head;
}

list_elm_t * get_tail(list_t * L) {
    assert(L);
    return L->tail;
}

void view_list(list_t * L, void (*ptr_view)(void *)) {
    assert(L && ptr_view);
    for (list_elm_t * E = L->head; E != NULL; E = get_suc(E)) {
        ptr_view(E->data);
    }
}

void cons(list_t * L, void * data) {
    list_elm_t * E = new_list_elm(data);
    E->suc = L->head;
    if (L->head != NULL) {
        L->head->pred = E;
    }
    L->head = E;
    if (L->tail == NULL) {
        L->tail = E;
    }
    L->numelm++;
}

void queue(list_t * L, void * data) {
    list_elm_t * E = new_list_elm(data);
    if(empty_list(L)) {
        L->head = E;
        L->tail = E;
    } else {
        L->tail->suc = E;
        E->pred = L->tail;
        L->tail = E;
    }
    L->numelm++;
}

void insert_after(list_t * L, void * data, list_elm_t * elm) {
    if(elm == NULL) return;
    list_elm_t * E = new_list_elm(data);
    E->suc = elm->suc;
    E->pred = elm;
    if(elm->suc != NULL) {
        elm->suc->pred = E;
    } else {
        L->tail = E;
    }
    elm->suc = E;
    L->numelm++;
}

void ordered_insert(list_t * L, void * data, int (*cmpFct)(void*, void*)) {
    if(empty_list(L) || cmpFct(L->head->data, data) > 0) {
        cons(L, data);
    } else {
        list_elm_t * current = L->head;
        while(get_suc(current) != NULL && cmpFct(get_suc(current)->data, data) <= 0) {
            current = get_suc(current);
        }
        insert_after(L, data, current);
    }
}
+74 −0
Original line number Original line Diff line number Diff line
#include "list_1 (1).h"
#include "list"
#include <stdlib.h>
#include <stdbool.h>
#include <stdio.h>
#include <assert.h>

typedef struct{
    elmlist_t * head;
    elmlist_t * tail;
    int numelm;
  } list_t ;
  // Create an empty list
  list_t * new_list(){
  list_t * t = calloc(1, sizeof(list_t));
    assert(t);
    return t;
  }
  // Delete list, its elements and possibly the data
  //DOIT CONFIRMER LE STRUCT
  void del_list(list_t ** ptrL, void (*ptrf) ()){
  assert(ptrL && *ptrL);
  list_t * L = *ptrL;
    if(ptrf){
      for(elmlist_t * E = L->head; E; ){
          elmlist_t * T = E;
          E = E->suc;
          (*ptrf)(T->data);
          free(T);
      }
  }
  } else {
  	for(elmlist_t * E = L->head; E ; ){
  		elmlist_t * T = E;
  		E = E->suc;
  		free(T);
  	}
  free(*ptrL);
  (*ptrL) = NULL;
}
  // Clean list; delete its elments but keep data and the list
  void clean(list_t * L){
    assert(L);
    elmlist_t *curr = L->head;
    while (curr != NULL) {
        elmlist_t *temp = curr;
        curr = curr->suc;
        free(temp);
    }
    L->head = NULL;
    L->tail = NULL;
    L->numelm = 0;
}
  // Is list L empty ?
  bool is_empty(list_t * L){
  assert(L);
  if (L->numelm == 0) return true;
    return false;
  }

  elmlist_t * get_head(list_t * L){
    assert(L);
    L = L->head;
    return L;
  }

  elmlist_t * get_tail(list_t * L){
    assert(L);
    L = L->tail;
    return L;
  }
  
  
  
 No newline at end of file
+213 −0
Original line number Original line Diff line number Diff line
#include "list_1 (1).h"
#include "list.h"
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>

// Gimme the number of elements of L
int get_numelm(struct list_t * L){
    assert(L);
    return L->numelm;
}
// Take out the data D of the list L if it is present
void take_out(struct list_t * L, void * D){
  assert(L);
  elmlist_t * current = L->head;
  while (current != NULL) {
      if (get_data(current) == D) {
          elmlist_t * p = get_pred(current);
          elmlist_t * s = get_suc(current);
          // Update predecessor’s successor
          if (p) set_suc(p, s);
          else L->head = s;  // current was head
          // Update successor’s predecessor
          if (s) set_pred(s, p);
          else L->tail = p;  // current was tail
          free(current);
          L->numelm--;
          return;
      }
      current = get_suc(current);
  }
}

// Add a element holding data to the head of L
void cons(struct list_t * L, void * data){
    elmlist_t * E = calloc(1, sizeof(elmlist_t));
    assert(L && E);
    set_data(E, data);
    set_suc(E, L->head);
    set_head(L, E);
    if(is_empty(L)) L->tail = E;
    L->numelm += 1;
 }




// Add  a element holding data to the tail of L
void queue(struct list_t * L, void * data){
  assert(L);
  elmlist_t * E = calloc(1, sizeof(elmlist_t));
  assert(E);
  set_data(E, data);
  E->suc = NULL;
  if (is_empty(L)) {
      E->pred = NULL;
      L->head = E;
      L->tail = E;
  } else {
      E->pred = L->tail;
      L->tail->suc = E;
      L->tail = E;
  }
  L->numelm++;
  }
// Insert in L a element holding data wrt order given by cmp_ptrf
void ordered_insert(struct list_t * L, void * data, int (*cmp_ptrf)()){
  assert(L && cmp_ptrf);
  elmlist_t * E = calloc(1, sizeof(elmlist_t));
  assert(E);
  set_data(E, data);
  // if list is empty, simply add the element
  if (is_empty(L)) {
      E->pred = E->suc = NULL;
      L->head = L->tail = E;
      L->numelm++;
      return;
  }
}

// Elements with data less than pivot go into val_inf; the rest go into val_sup.
static void partition(list_t * L, elmlist_t * pivot, list_t * val_inf, list_t * val_sup, int (*cmpFct)(void*, void*)) {
    for (elmlist_t * cur = L->head; cur != NULL; cur = cur->suc) {
        if (cmpFct(get_data(cur), get_data(pivot)) < 0)
            queue(val_inf, get_data(cur));
        else
            queue(val_sup, get_data(cur));
    }
}

void quick_sort(list_t * L, int (*cmpFct)(void*, void*)) {
    assert(L && cmpFct);

    if (L->numelm > 1) {
        // Remove pivot from L.
        elmlist_t * pivot = get_head(L);
        L->head = get_suc(pivot); // Remainder of L.
        pivot->pred = NULL;
        pivot->suc = NULL;

        list_t * val_inf_pivot = new_list();
        list_t * val_sup_pivot = new_list();

        // Partition sur les restes de la liste
        partition(L, pivot, val_inf_pivot, val_sup_pivot, cmpFct);

        // Free the original list's elements (they have been reinserted in the new lists)
        elmlist_t * S;
        for (elmlist_t * E = L->head; E; E = S) {
            S = E->suc;
            free(E);
        }

        // Process elements less than pivot.
        if (is_empty(val_inf_pivot)) {
            L->head = pivot;
            L->tail = pivot;
            L->numelm = 1;
        } else {
            quick_sort(val_inf_pivot, cmpFct);
            L->head = val_inf_pivot->head;
            L->tail = val_inf_pivot->tail;
            L->numelm = val_inf_pivot->numelm;
            pivot->pred = L->tail;
            L->tail->suc = pivot;
            L->tail = pivot;
            L->numelm += 1;
        }
        // Process elements greater than or equal to the pivot.
        if (!is_empty(val_sup_pivot)) {
            quick_sort(val_sup_pivot, cmpFct);
            val_sup_pivot->head->pred = pivot;
            pivot->suc = val_sup_pivot->head;
            L->tail = val_sup_pivot->tail;
            L->numelm += val_sup_pivot->numelm;
        }
        free(val_inf_pivot);
        free(val_sup_pivot);
    }
}

// void quick_sort(list_t * L, int (*cmpFct)()){

//     if (L == NULL || L->numelm < 2)
//         return;


//     elmlist_t * pivotNode = L->head;
//     void * pivotData = pivotNode->data;


//     list_t * less = new_list();
//     list_t * greater = new_list();


//     for (elmlist_t * cur = L->head; cur != NULL; cur = cur->suc) {

//         if (cur == pivotNode)
//             continue;

//         if (cmpFct(cur->data, pivotData) < 0)
//             queue(less, cur->data);
//         else
//             queue(greater, cur->data);
//     }


//     clean(L);


//     quick_sort(less, cmpFct);
//     quick_sort(greater, cmpFct);

//     for (elmlist_t * node = less->head; node != NULL; node = node->suc)
//         queue(L, node->data);


//     queue(L, pivotData);

//     for (elmlist_t * node = greater->head; node != NULL; node = node->suc)
//         queue(L, node->data);

//     free(less);
//     free(greater);
// }




// View list
void view_list(list_t * L, void (*ptrf)()) {
  assert(L && ptrf);
  elmlist_t * curr = L->head;
  while (curr) {
      ptrf(get_data(curr));
      curr = curr->suc;
  }

}
// Return a ptr to element which data is key else NULL
void find(list_t * L, void ** ptrKey, int (*cmpFct)(), void (*delFct)()) {
  assert(L && ptrKey && cmpFct);
  elmlist_t * curr = L->head;
  while (curr) {
      if (cmpFct(get_data(curr), *ptrKey) == 0) {
          if (delFct)
              delFct(ptrKey);
          *ptrKey = get_data(curr);
          return;
      }
      curr = curr->suc;
  }
}
+52 −0
Original line number Original line Diff line number Diff line
#include <stdlib.h>
#include <assert.h>
#include "list_elm.h"

list_elm_t * new_list_elm ( void * data ){
    list_elm_t * E = calloc(1,sizeof(list_elm_t));
    assert(E);
    E->data = data;
    return E;
}

void del_list_elm( list_elm_t * * E, void (*ptrf)() ){
    assert(E && *E);
    if (ptrf) {
        ptrf((*E)->data);
    }
    free(*E);
    *E = NULL;
}

list_elm_t * get_suc ( list_elm_t * E ){
    assert(E);
    return E->suc;
}
list_elm_t * get_pred ( list_elm_t * E );
void * get_data ( list_elm_t * E ){
    assert(E);
    return E->data;
}

void set_suc ( list_elm_t * E, list_elm_t * S ){
    assert(E);
    E->suc = S;
}

void set_pred ( list_elm_t * E, list_elm_t * P ){
    assert(E);
    E->pred = P;
}

void set_data ( list_elm_t * E, void * data ){
    assert(E);
    E->data = data;
}

void view_list_elm ( list_elm_t * E, void (*ptrf)() ){
    assert(E && ptrf);
    for(elmlist_t * E = E->head; E; E = get_suc(E)){
      void * d = E->data;
      (*ptrf)(d);
    }
}
 No newline at end of file
+13 −0
Original line number Original line Diff line number Diff line
#include "outils.h"



/** Integer comparaison */
int int_cmp(int * a, int * b){
	return *a - *b;
}

/** Double comparaison */
int double_cmp(double * a, double * b){
	return ((*a - *b) < -EPSILON) ? -1 : ((*a -*b) > +EPSILON) ? +1 : 0;
}
Original line number Original line Diff line number Diff line
{
	"inputs" : 
	[
		{
			"path" : "CMakeLists.txt"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeSystem.cmake.in"
		},
		{
			"isGenerated" : true,
			"path" : "cmake-build-debug/CMakeFiles/3.30.5/CMakeSystem.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeSystemSpecificInitialize.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Platform/Windows-Initialize.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeDetermineCCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeDetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeDetermineCompilerId.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeCompilerIdDetection.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/ADSP-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/ARMClang-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/Borland-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/Bruce-C-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/Clang-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/Compaq-C-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/Cray-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/CrayClang-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/FujitsuClang-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/GHS-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/GNU-C-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/HP-C-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/IAR-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/IBMClang-C-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/Intel-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/IntelLLVM-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/LCC-C-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/MSVC-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/NVHPC-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/NVIDIA-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/OrangeC-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/PGI-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/PathScale-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/SCO-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/SDCC-C-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/SunPro-C-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/TI-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/TIClang-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/Tasking-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/Watcom-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/XL-C-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/XLClang-C-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/zOS-C-DetermineCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeFindBinUtils.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/GNU-FindBinUtils.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeCCompiler.cmake.in"
		},
		{
			"isGenerated" : true,
			"path" : "cmake-build-debug/CMakeFiles/3.30.5/CMakeCCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeSystemSpecificInformation.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeGenericSystem.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeInitializeConfigs.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Platform/Windows.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Platform/WindowsPaths.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeCInformation.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeLanguageInformation.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/GNU-C.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/GNU.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Platform/Windows-GNU-C.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Platform/Windows-GNU.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeDetermineRCCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeRCCompiler.cmake.in"
		},
		{
			"isGenerated" : true,
			"path" : "cmake-build-debug/CMakeFiles/3.30.5/CMakeRCCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeRCInformation.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Platform/Windows-windres.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeTestRCCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeCommonLanguageInclude.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeTestCCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeTestCompilerCommon.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeDetermineCompilerABI.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Internal/CMakeDetermineLinkerId.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeParseImplicitIncludeInfo.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeParseImplicitLinkInfo.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeParseLibraryArchitecture.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeTestCompilerCommon.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeCCompilerABI.c"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeDetermineCompilerSupport.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Internal/FeatureTesting.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/CMakeCCompiler.cmake.in"
		},
		{
			"isGenerated" : true,
			"path" : "cmake-build-debug/CMakeFiles/3.30.5/CMakeCCompiler.cmake"
		},
		{
			"isCMake" : true,
			"isExternal" : true,
			"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30/Modules/Platform/Windows-GNU-C-ABI.cmake"
		}
	],
	"kind" : "cmakeFiles",
	"paths" : 
	{
		"build" : "C:/L1 INFO/SEM 2/Gestion de La memoire/LE PROJET - CLION VER/cmake-build-debug",
		"source" : "C:/L1 INFO/SEM 2/Gestion de La memoire/LE PROJET - CLION VER"
	},
	"version" : 
	{
		"major" : 1,
		"minor" : 1
	}
}
Original line number Original line Diff line number Diff line
{
	"configurations" : 
	[
		{
			"directories" : 
			[
				{
					"build" : ".",
					"jsonFile" : "directory-.-Debug-d0094a50bb2071803777.json",
					"minimumCMakeVersion" : 
					{
						"string" : "3.30"
					},
					"projectIndex" : 0,
					"source" : ".",
					"targetIndexes" : 
					[
						0
					]
				}
			],
			"name" : "Debug",
			"projects" : 
			[
				{
					"directoryIndexes" : 
					[
						0
					],
					"name" : "LE_PROJET___CLION_VER",
					"targetIndexes" : 
					[
						0
					]
				}
			],
			"targets" : 
			[
				{
					"directoryIndex" : 0,
					"id" : "LE_PROJET___CLION_VER::@6890427a1f51a3e7e1df",
					"jsonFile" : "target-LE_PROJET___CLION_VER-Debug-88f302360f072d157783.json",
					"name" : "LE_PROJET___CLION_VER",
					"projectIndex" : 0
				}
			]
		}
	],
	"kind" : "codemodel",
	"paths" : 
	{
		"build" : "C:/L1 INFO/SEM 2/Gestion de La memoire/LE PROJET - CLION VER/cmake-build-debug",
		"source" : "C:/L1 INFO/SEM 2/Gestion de La memoire/LE PROJET - CLION VER"
	},
	"version" : 
	{
		"major" : 2,
		"minor" : 7
	}
}
Original line number Original line Diff line number Diff line
{
	"cmake" : 
	{
		"generator" : 
		{
			"multiConfig" : false,
			"name" : "Ninja"
		},
		"paths" : 
		{
			"cmake" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/bin/cmake.exe",
			"cpack" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/bin/cpack.exe",
			"ctest" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/bin/ctest.exe",
			"root" : "C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30"
		},
		"version" : 
		{
			"isDirty" : false,
			"major" : 3,
			"minor" : 30,
			"patch" : 5,
			"string" : "3.30.5",
			"suffix" : ""
		}
	},
	"objects" : 
	[
		{
			"jsonFile" : "codemodel-v2-1dfdb4f7c3efe8b9d47a.json",
			"kind" : "codemodel",
			"version" : 
			{
				"major" : 2,
				"minor" : 7
			}
		},
		{
			"jsonFile" : "cache-v2-ee7a7e0f058fd2f54402.json",
			"kind" : "cache",
			"version" : 
			{
				"major" : 2,
				"minor" : 0
			}
		},
		{
			"jsonFile" : "cmakeFiles-v1-bd41bb11d1ca0b4271fc.json",
			"kind" : "cmakeFiles",
			"version" : 
			{
				"major" : 1,
				"minor" : 1
			}
		},
		{
			"jsonFile" : "toolchains-v1-fa3ea20c7bf46fcd84d4.json",
			"kind" : "toolchains",
			"version" : 
			{
				"major" : 1,
				"minor" : 0
			}
		}
	],
	"reply" : 
	{
		"cache-v2" : 
		{
			"jsonFile" : "cache-v2-ee7a7e0f058fd2f54402.json",
			"kind" : "cache",
			"version" : 
			{
				"major" : 2,
				"minor" : 0
			}
		},
		"cmakeFiles-v1" : 
		{
			"jsonFile" : "cmakeFiles-v1-bd41bb11d1ca0b4271fc.json",
			"kind" : "cmakeFiles",
			"version" : 
			{
				"major" : 1,
				"minor" : 1
			}
		},
		"codemodel-v2" : 
		{
			"jsonFile" : "codemodel-v2-1dfdb4f7c3efe8b9d47a.json",
			"kind" : "codemodel",
			"version" : 
			{
				"major" : 2,
				"minor" : 7
			}
		},
		"toolchains-v1" : 
		{
			"jsonFile" : "toolchains-v1-fa3ea20c7bf46fcd84d4.json",
			"kind" : "toolchains",
			"version" : 
			{
				"major" : 1,
				"minor" : 0
			}
		}
	}
}
Original line number Original line Diff line number Diff line
{
	"artifacts" : 
	[
		{
			"path" : "LE_PROJET___CLION_VER.exe"
		},
		{
			"path" : "LE_PROJET___CLION_VER.pdb"
		}
	],
	"backtrace" : 1,
	"backtraceGraph" : 
	{
		"commands" : 
		[
			"add_executable",
			"include_directories"
		],
		"files" : 
		[
			"CMakeLists.txt"
		],
		"nodes" : 
		[
			{
				"file" : 0
			},
			{
				"command" : 0,
				"file" : 0,
				"line" : 9,
				"parent" : 0
			},
			{
				"command" : 1,
				"file" : 0,
				"line" : 6,
				"parent" : 0
			},
			{
				"command" : 1,
				"file" : 0,
				"line" : 7,
				"parent" : 0
			}
		]
	},
	"compileGroups" : 
	[
		{
			"compileCommandFragments" : 
			[
				{
					"fragment" : "-g -std=gnu11 -fdiagnostics-color=always"
				}
			],
			"includes" : 
			[
				{
					"backtrace" : 2,
					"path" : "C:/L1 INFO/SEM 2/Gestion de La memoire/LE PROJET - CLION VER/LES TA DES TACHES/include"
				},
				{
					"backtrace" : 3,
					"path" : "C:/L1 INFO/SEM 2/Gestion de La memoire/LE PROJET - CLION VER/LES TA DES TACHES/Main and rank 3"
				}
			],
			"language" : "C",
			"languageStandard" : 
			{
				"backtraces" : 
				[
					1
				],
				"standard" : "11"
			},
			"sourceIndexes" : 
			[
				7,
				9,
				10,
				11,
				12,
				13,
				14,
				15,
				16,
				17
			]
		}
	],
	"id" : "LE_PROJET___CLION_VER::@6890427a1f51a3e7e1df",
	"link" : 
	{
		"commandFragments" : 
		[
			{
				"fragment" : "-g",
				"role" : "flags"
			},
			{
				"fragment" : "",
				"role" : "flags"
			},
			{
				"fragment" : "-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32",
				"role" : "libraries"
			}
		],
		"language" : "C"
	},
	"name" : "LE_PROJET___CLION_VER",
	"nameOnDisk" : "LE_PROJET___CLION_VER.exe",
	"paths" : 
	{
		"build" : ".",
		"source" : "."
	},
	"sourceGroups" : 
	[
		{
			"name" : "Header Files",
			"sourceIndexes" : 
			[
				0,
				1,
				2,
				3,
				4,
				5,
				6,
				8
			]
		},
		{
			"name" : "Source Files",
			"sourceIndexes" : 
			[
				7,
				9,
				10,
				11,
				12,
				13,
				14,
				15,
				16,
				17
			]
		}
	],
	"sources" : 
	[
		{
			"backtrace" : 1,
			"path" : "LES TA DES TACHES/include/db.h",
			"sourceGroupIndex" : 0
		},
		{
			"backtrace" : 1,
			"path" : "LES TA DES TACHES/include/job_1 (1).h",
			"sourceGroupIndex" : 0
		},
		{
			"backtrace" : 1,
			"path" : "LES TA DES TACHES/include/job_2.h",
			"sourceGroupIndex" : 0
		},
		{
			"backtrace" : 1,
			"path" : "LES TA DES TACHES/include/job_3.h",
			"sourceGroupIndex" : 0
		},
		{
			"backtrace" : 1,
			"path" : "LES TA DES TACHES/include/list_1 (1).h",
			"sourceGroupIndex" : 0
		},
		{
			"backtrace" : 1,
			"path" : "LES TA DES TACHES/include/list_2.h",
			"sourceGroupIndex" : 0
		},
		{
			"backtrace" : 1,
			"path" : "LES TA DES TACHES/include/outils.h",
			"sourceGroupIndex" : 0
		},
		{
			"backtrace" : 1,
			"compileGroupIndex" : 0,
			"path" : "LES TA DES TACHES/Main and rank 3/main (1).c",
			"sourceGroupIndex" : 1
		},
		{
			"backtrace" : 1,
			"path" : "LES TA DES TACHES/Main and rank 3/rank (3).h",
			"sourceGroupIndex" : 0
		},
		{
			"backtrace" : 1,
			"compileGroupIndex" : 0,
			"path" : "LES TA DES TACHES/READGRAPH ET QUICKSORT/Projet_Canevas/canevas/io.c",
			"sourceGroupIndex" : 1
		},
		{
			"backtrace" : 1,
			"compileGroupIndex" : 0,
			"path" : "LES TA DES TACHES/READGRAPH ET QUICKSORT/Projet_Canevas/canevas/job.c",
			"sourceGroupIndex" : 1
		},
		{
			"backtrace" : 1,
			"compileGroupIndex" : 0,
			"path" : "LES TA DES TACHES/src/db.c",
			"sourceGroupIndex" : 1
		},
		{
			"backtrace" : 1,
			"compileGroupIndex" : 0,
			"path" : "LES TA DES TACHES/src/job_1 (1).c",
			"sourceGroupIndex" : 1
		},
		{
			"backtrace" : 1,
			"compileGroupIndex" : 0,
			"path" : "LES TA DES TACHES/src/job_2.c",
			"sourceGroupIndex" : 1
		},
		{
			"backtrace" : 1,
			"compileGroupIndex" : 0,
			"path" : "LES TA DES TACHES/src/job_3.c",
			"sourceGroupIndex" : 1
		},
		{
			"backtrace" : 1,
			"compileGroupIndex" : 0,
			"path" : "LES TA DES TACHES/src/list_1 (1).c",
			"sourceGroupIndex" : 1
		},
		{
			"backtrace" : 1,
			"compileGroupIndex" : 0,
			"path" : "LES TA DES TACHES/src/list_2.c",
			"sourceGroupIndex" : 1
		},
		{
			"backtrace" : 1,
			"compileGroupIndex" : 0,
			"path" : "LES TA DES TACHES/src/outils.c",
			"sourceGroupIndex" : 1
		}
	],
	"type" : "EXECUTABLE"
}
Original line number Original line Diff line number Diff line
{
	"kind" : "toolchains",
	"toolchains" : 
	[
		{
			"compiler" : 
			{
				"id" : "GNU",
				"implicit" : 
				{
					"includeDirectories" : 
					[
						"C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/lib/gcc/x86_64-w64-mingw32/13.1.0/include",
						"C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/include",
						"C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/lib/gcc/x86_64-w64-mingw32/13.1.0/include-fixed",
						"C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/x86_64-w64-mingw32/include"
					],
					"linkDirectories" : [],
					"linkFrameworkDirectories" : [],
					"linkLibraries" : []
				},
				"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/gcc.exe",
				"version" : "13.1.0"
			},
			"language" : "C",
			"sourceFileExtensions" : 
			[
				"c",
				"m"
			]
		},
		{
			"compiler" : 
			{
				"implicit" : {},
				"path" : "C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/windres.exe"
			},
			"language" : "RC",
			"sourceFileExtensions" : 
			[
				"rc",
				"RC"
			]
		}
	],
	"version" : 
	{
		"major" : 1,
		"minor" : 0
	}
}
+368 −0
Original line number Original line Diff line number Diff line
# This is the CMakeCache file.
# For build in directory: c:/L1 INFO/SEM 2/Gestion de La memoire/LE PROJET - CLION VER/cmake-build-debug
# It was generated by CMake: C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/bin/cmake.exe
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.

########################
# EXTERNAL cache entries
########################

//Path to a program.
CMAKE_ADDR2LINE:FILEPATH=C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/addr2line.exe

//Path to a program.
CMAKE_AR:FILEPATH=C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/ar.exe

//Choose the type of build, options are: None Debug Release RelWithDebInfo
// MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=Debug

//Enable colored diagnostics throughout.
CMAKE_COLOR_DIAGNOSTICS:BOOL=ON

//C compiler
CMAKE_C_COMPILER:FILEPATH=C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/gcc.exe

//A wrapper around 'ar' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_C_COMPILER_AR:FILEPATH=C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/gcc-ar.exe

//A wrapper around 'ranlib' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_C_COMPILER_RANLIB:FILEPATH=C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/gcc-ranlib.exe

//Flags used by the C compiler during all build types.
CMAKE_C_FLAGS:STRING=

//Flags used by the C compiler during DEBUG builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g

//Flags used by the C compiler during MINSIZEREL builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the C compiler during RELEASE builds.
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the C compiler during RELWITHDEBINFO builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//Libraries linked by default with all C applications.
CMAKE_C_STANDARD_LIBRARIES:STRING=-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32

//Path to a program.
CMAKE_DLLTOOL:FILEPATH=C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/dlltool.exe

//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=

//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=

//Value Computed by CMake.
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=C:/L1 INFO/SEM 2/Gestion de La memoire/LE PROJET - CLION VER/cmake-build-debug/CMakeFiles/pkgRedirects

//Convert GNU import libraries to MS format (requires Visual Studio)
CMAKE_GNUtoMS:BOOL=OFF

//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=C:/Program Files (x86)/LE_PROJET___CLION_VER

//Path to a program.
CMAKE_LINKER:FILEPATH=C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/ld.exe

//make program
CMAKE_MAKE_PROGRAM:FILEPATH=C:/Program Files/JetBrains/CLion 2024.3/bin/ninja/win/x64/ninja.exe

//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_NM:FILEPATH=C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/nm.exe

//Path to a program.
CMAKE_OBJCOPY:FILEPATH=C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/objcopy.exe

//Path to a program.
CMAKE_OBJDUMP:FILEPATH=C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/objdump.exe

//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=LE_PROJET___CLION_VER

//Path to a program.
CMAKE_RANLIB:FILEPATH=C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/ranlib.exe

//RC compiler
CMAKE_RC_COMPILER:FILEPATH=C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/windres.exe

//Flags for Windows Resource Compiler during all build types.
CMAKE_RC_FLAGS:STRING=

//Flags for Windows Resource Compiler during DEBUG builds.
CMAKE_RC_FLAGS_DEBUG:STRING=

//Flags for Windows Resource Compiler during MINSIZEREL builds.
CMAKE_RC_FLAGS_MINSIZEREL:STRING=

//Flags for Windows Resource Compiler during RELEASE builds.
CMAKE_RC_FLAGS_RELEASE:STRING=

//Flags for Windows Resource Compiler during RELWITHDEBINFO builds.
CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_READELF:FILEPATH=C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/readelf.exe

//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO

//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO

//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_STRIP:FILEPATH=C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/strip.exe

//Path to a program.
CMAKE_TAPI:FILEPATH=CMAKE_TAPI-NOTFOUND

//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make.  This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE

//Value Computed by CMake
LE_PROJET___CLION_VER_BINARY_DIR:STATIC=C:/L1 INFO/SEM 2/Gestion de La memoire/LE PROJET - CLION VER/cmake-build-debug

//Value Computed by CMake
LE_PROJET___CLION_VER_IS_TOP_LEVEL:STATIC=ON

//Value Computed by CMake
LE_PROJET___CLION_VER_SOURCE_DIR:STATIC=C:/L1 INFO/SEM 2/Gestion de La memoire/LE PROJET - CLION VER


########################
# INTERNAL cache entries
########################

//ADVANCED property for variable: CMAKE_ADDR2LINE
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=c:/L1 INFO/SEM 2/Gestion de La memoire/LE PROJET - CLION VER/cmake-build-debug
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=30
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=5
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/bin/cmake.exe
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/bin/cpack.exe
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/bin/ctest.exe
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER_AR
CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES
CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_DLLTOOL
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Ninja
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=C:/L1 INFO/SEM 2/Gestion de La memoire/LE PROJET - CLION VER
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_COMPILER
CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1
CMAKE_RC_COMPILER_WORKS:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS
CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG
CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL
CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE
CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO
CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_READELF
CMAKE_READELF-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=C:/Program Files/JetBrains/CLion 2024.3/bin/cmake/win/x64/share/cmake-3.30
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_TAPI
CMAKE_TAPI-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//linker supports push/pop state
_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE
Original line number Original line Diff line number Diff line
set(CMAKE_C_COMPILER "C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/gcc.exe")
set(CMAKE_C_COMPILER_ARG1 "")
set(CMAKE_C_COMPILER_ID "GNU")
set(CMAKE_C_COMPILER_VERSION "13.1.0")
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
set(CMAKE_C_COMPILER_WRAPPER "")
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "17")
set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "ON")
set(CMAKE_C_STANDARD_LATEST "23")
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;c_std_17;c_std_23")
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_C17_COMPILE_FEATURES "c_std_17")
set(CMAKE_C23_COMPILE_FEATURES "c_std_23")

set(CMAKE_C_PLATFORM_ID "MinGW")
set(CMAKE_C_SIMULATE_ID "")
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "GNU")
set(CMAKE_C_SIMULATE_VERSION "")




set(CMAKE_AR "C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/ar.exe")
set(CMAKE_C_COMPILER_AR "C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/gcc-ar.exe")
set(CMAKE_RANLIB "C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/ranlib.exe")
set(CMAKE_C_COMPILER_RANLIB "C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/gcc-ranlib.exe")
set(CMAKE_LINKER "C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/ld.exe")
set(CMAKE_LINKER_LINK "")
set(CMAKE_LINKER_LLD "")
set(CMAKE_C_COMPILER_LINKER "C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/ld.exe")
set(CMAKE_C_COMPILER_LINKER_ID "GNU")
set(CMAKE_C_COMPILER_LINKER_VERSION 2.40)
set(CMAKE_C_COMPILER_LINKER_FRONTEND_VARIANT GNU)
set(CMAKE_MT "")
set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND")
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_C_COMPILER_ENV_VAR "CC")

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)
set(CMAKE_C_LINKER_DEPFILE_SUPPORTED FALSE)

# Save compiler ABI information.
set(CMAKE_C_SIZEOF_DATA_PTR "8")
set(CMAKE_C_COMPILER_ABI "")
set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN")
set(CMAKE_C_LIBRARY_ARCHITECTURE "")

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 "")
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 "C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/lib/gcc/x86_64-w64-mingw32/13.1.0/include;C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/include;C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/lib/gcc/x86_64-w64-mingw32/13.1.0/include-fixed;C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/x86_64-w64-mingw32/include")
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "")
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "")
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
Original line number Original line Diff line number Diff line
set(CMAKE_RC_COMPILER "C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/windres.exe")
set(CMAKE_RC_COMPILER_ARG1 "")
set(CMAKE_RC_COMPILER_LOADED 1)
set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc;RC)
set(CMAKE_RC_OUTPUT_EXTENSION .obj)
set(CMAKE_RC_COMPILER_ENV_VAR "RC")
Original line number Original line Diff line number Diff line
set(CMAKE_HOST_SYSTEM "Windows-10.0.26100")
set(CMAKE_HOST_SYSTEM_NAME "Windows")
set(CMAKE_HOST_SYSTEM_VERSION "10.0.26100")
set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64")



set(CMAKE_SYSTEM "Windows-10.0.26100")
set(CMAKE_SYSTEM_NAME "Windows")
set(CMAKE_SYSTEM_VERSION "10.0.26100")
set(CMAKE_SYSTEM_PROCESSOR "AMD64")

set(CMAKE_CROSSCOMPILING "FALSE")

set(CMAKE_SYSTEM_LOADED 1)
Original line number Original line Diff line number Diff line
C:/L1 INFO/SEM 2/Gestion de La memoire/LE PROJET - CLION VER/cmake-build-debug/CMakeFiles/LE_PROJET___CLION_VER.dir
C:/L1 INFO/SEM 2/Gestion de La memoire/LE PROJET - CLION VER/cmake-build-debug/CMakeFiles/edit_cache.dir
C:/L1 INFO/SEM 2/Gestion de La memoire/LE PROJET - CLION VER/cmake-build-debug/CMakeFiles/rebuild_cache.dir
Original line number Original line Diff line number Diff line
"C:\Program Files\JetBrains\CLion 2024.3\bin\cmake\win\x64\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Debug "-DCMAKE_MAKE_PROGRAM=C:/Program Files/JetBrains/CLion 2024.3/bin/ninja/win/x64/ninja.exe" -G Ninja -S "C:\L1 INFO\SEM 2\Gestion de La memoire\LE PROJET - CLION VER" -B "C:\L1 INFO\SEM 2\Gestion de La memoire\LE PROJET - CLION VER\cmake-build-debug"
-- Configuring done (1.0s)
CMake Error at CMakeLists.txt:9 (add_executable):
  Cannot find source file:

    LES TA DES TACHES/Main and rank 3/rank (3).h


CMake Error at CMakeLists.txt:9 (add_executable):
  No SOURCES given to target: LE_PROJET___CLION_VER


CMake Generate step failed.  Build files cannot be regenerated correctly.
Original line number Original line Diff line number Diff line
ToolSet: 11.0 w64 (local)@C:\Program Files\JetBrains\CLion 2024.3\bin\mingw
Ninja: 1.12.1@C:\Program Files\JetBrains\CLion 2024.3\bin\ninja\win\x64\ninja.exe
Options: 

Options:-DCMAKE_MAKE_PROGRAM=C:/Program Files/JetBrains/CLion 2024.3/bin/ninja/win/x64/ninja.exe
 No newline at end of file
Original line number Original line Diff line number Diff line
# CMAKE generated file: DO NOT EDIT!
# Generated by "Ninja" Generator, CMake Version 3.30

# This file contains all the rules used to get the outputs files
# built from the input files.
# It is included in the main 'build.ninja'.

# =============================================================================
# Project: LE_PROJET___CLION_VER
# Configurations: Debug
# =============================================================================
# =============================================================================

#############################################
# Rule for compiling C files.

rule C_COMPILER__LE_PROJET___CLION_VER_unscanned_Debug
  depfile = $DEP_FILE
  deps = gcc
  command = ${LAUNCHER}${CODE_CHECK}C:\PROGRA~1\JETBRA~1\CLION2~1.3\bin\mingw\bin\gcc.exe $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
  description = Building C object $out


#############################################
# Rule for linking C executable.

rule C_EXECUTABLE_LINKER__LE_PROJET___CLION_VER_Debug
  command = C:\WINDOWS\system32\cmd.exe /C "$PRE_LINK && C:\PROGRA~1\JETBRA~1\CLION2~1.3\bin\mingw\bin\gcc.exe $FLAGS $LINK_FLAGS $in -o $TARGET_FILE -Wl,--out-implib,$TARGET_IMPLIB -Wl,--major-image-version,0,--minor-image-version,0 $LINK_PATH $LINK_LIBRARIES && $POST_BUILD"
  description = Linking C executable $TARGET_FILE
  restat = $RESTAT


#############################################
# Rule for running custom commands.

rule CUSTOM_COMMAND
  command = $COMMAND
  description = $DESC


#############################################
# Rule for re-running cmake.

rule RERUN_CMAKE
  command = "C:\Program Files\JetBrains\CLion 2024.3\bin\cmake\win\x64\bin\cmake.exe" --regenerate-during-build -S"C:\L1 INFO\SEM 2\Gestion de La memoire\LE PROJET - CLION VER" -B"C:\L1 INFO\SEM 2\Gestion de La memoire\LE PROJET - CLION VER\cmake-build-debug"
  description = Re-running CMake...
  generator = 1


#############################################
# Rule for cleaning all built files.

rule CLEAN
  command = "C:\Program Files\JetBrains\CLion 2024.3\bin\ninja\win\x64\ninja.exe" $FILE_ARG -t clean $TARGETS
  description = Cleaning all built files...


#############################################
# Rule for printing all primary targets available.

rule HELP
  command = "C:\Program Files\JetBrains\CLion 2024.3\bin\ninja\win\x64\ninja.exe" -t targets
  description = All primary targets available:
Original line number Original line Diff line number Diff line
Start testing: Mar 17 10:20 Romance Standard Time
----------------------------------------------------------
End testing: Mar 17 10:20 Romance Standard Time
+57 −0
Original line number Original line Diff line number Diff line
# Install script for directory: C:/L1 INFO/SEM 2/Gestion de La memoire/LE PROJET - CLION VER

# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
  set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/LE_PROJET___CLION_VER")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")

# Set the install configuration name.
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
  if(BUILD_TYPE)
    string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
           CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
  else()
    set(CMAKE_INSTALL_CONFIG_NAME "Debug")
  endif()
  message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
endif()

# Set the component getting installed.
if(NOT CMAKE_INSTALL_COMPONENT)
  if(COMPONENT)
    message(STATUS "Install component: \"${COMPONENT}\"")
    set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
  else()
    set(CMAKE_INSTALL_COMPONENT)
  endif()
endif()

# Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING)
  set(CMAKE_CROSSCOMPILING "FALSE")
endif()

# Set path to fallback-tool for dependency-resolution.
if(NOT DEFINED CMAKE_OBJDUMP)
  set(CMAKE_OBJDUMP "C:/Program Files/JetBrains/CLion 2024.3/bin/mingw/bin/objdump.exe")
endif()

if(CMAKE_INSTALL_COMPONENT)
  if(CMAKE_INSTALL_COMPONENT MATCHES "^[a-zA-Z0-9_.+-]+$")
    set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
  else()
    string(MD5 CMAKE_INST_COMP_HASH "${CMAKE_INSTALL_COMPONENT}")
    set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INST_COMP_HASH}.txt")
    unset(CMAKE_INST_COMP_HASH)
  endif()
else()
  set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
endif()

if(NOT CMAKE_INSTALL_LOCAL_ONLY)
  string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
       "${CMAKE_INSTALL_MANIFEST_FILES}")
  file(WRITE "C:/L1 INFO/SEM 2/Gestion de La memoire/LE PROJET - CLION VER/cmake-build-debug/${CMAKE_INSTALL_MANIFEST}"
     "${CMAKE_INSTALL_MANIFEST_CONTENT}")
endif()