rules.ninja 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # CMAKE generated file: DO NOT EDIT!
  2. # Generated by "Ninja" Generator, CMake Version 3.25
  3. # This file contains all the rules used to get the outputs files
  4. # built from the input files.
  5. # It is included in the main 'build.ninja'.
  6. # =============================================================================
  7. # Project: examples
  8. # Configurations: Debug
  9. # =============================================================================
  10. # =============================================================================
  11. #############################################
  12. # Rule for running custom commands.
  13. rule CUSTOM_COMMAND
  14. command = $COMMAND
  15. description = $DESC
  16. #############################################
  17. # Rule for compiling C files.
  18. rule C_COMPILER__sample_Debug
  19. depfile = $DEP_FILE
  20. deps = gcc
  21. command = D:\PROGRA~2\JETBRA~1\CLION2~1.4\bin\mingw\bin\gcc.exe $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
  22. description = Building C object $out
  23. #############################################
  24. # Rule for linking C executable.
  25. rule C_EXECUTABLE_LINKER__sample_Debug
  26. command = cmd.exe /C "$PRE_LINK && D:\PROGRA~2\JETBRA~1\CLION2~1.4\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"
  27. description = Linking C executable $TARGET_FILE
  28. restat = $RESTAT
  29. #############################################
  30. # Rule for re-running cmake.
  31. rule RERUN_CMAKE
  32. command = "D:\Program Files\JetBrains\CLion 2023.1.4\bin\cmake\win\x64\bin\cmake.exe" --regenerate-during-build -SE:\project\c\libpeer-main\examples -BE:\project\c\libpeer-main\examples\cmake-build-debug
  33. description = Re-running CMake...
  34. generator = 1
  35. #############################################
  36. # Rule for cleaning all built files.
  37. rule CLEAN
  38. command = "D:\Program Files\JetBrains\CLion 2023.1.4\bin\ninja\win\x64\ninja.exe" $FILE_ARG -t clean $TARGETS
  39. description = Cleaning all built files...
  40. #############################################
  41. # Rule for printing all primary targets available.
  42. rule HELP
  43. command = "D:\Program Files\JetBrains\CLion 2023.1.4\bin\ninja\win\x64\ninja.exe" -t targets
  44. description = All primary targets available: