Skip to content
Snippets Groups Projects
Select Git revision
  • e1b3230afec60b33024cb6e6cc4cabf8b16a5089
  • main default protected
2 results

rules.ninja

Blame
  • rules.ninja 2.04 KiB
    # CMAKE generated file: DO NOT EDIT!
    # Generated by "Ninja" Generator, CMake Version 3.25
    
    # 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: tp_copy
    # Configurations: Debug
    # =============================================================================
    # =============================================================================
    
    #############################################
    # Rule for compiling C files.
    
    rule C_COMPILER__tp_copy_Debug
      depfile = $DEP_FILE
      deps = gcc
      command = /usr/bin/cc $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__tp_copy_Debug
      command = $PRE_LINK && /usr/bin/cc $FLAGS $LINK_FLAGS $in -o $TARGET_FILE $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 = /snap/clion/241/bin/cmake/linux/x64/bin/cmake --regenerate-during-build -S/home/kex_bonga/Documents/git_HEPIA/HEPIA/2meAnnee/prog_sys/exos/tp_copy -B/home/kex_bonga/Documents/git_HEPIA/HEPIA/2meAnnee/prog_sys/exos/tp_copy/cmake-build-debug
      description = Re-running CMake...
      generator = 1
    
    
    #############################################
    # Rule for cleaning all built files.
    
    rule CLEAN
      command = /snap/clion/241/bin/ninja/linux/x64/ninja $FILE_ARG -t clean $TARGETS
      description = Cleaning all built files...
    
    
    #############################################
    # Rule for printing all primary targets available.
    
    rule HELP
      command = /snap/clion/241/bin/ninja/linux/x64/ninja -t targets
      description = All primary targets available: