Advertisement
BM_R1KO

Untitled

Nov 18th, 2017
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. "APC"
  2. {
  3.     /*
  4.         Каталоги
  5.     */
  6.  
  7.     /*
  8.         Путь к компилятору
  9.     */
  10.     "path_compiler_linux"       "scripting/spcomp"
  11.     "path_compiler_windows"     "scripting/spcomp.exe"
  12.  
  13.     /*
  14.         Пути к каталогам с исходными файлами (т.е. каталоги где будет произведен поиск исходников и их компиляция)
  15.         Для не рекурсивного чтения добавьте * в начало:
  16.         "path_source"       "*scripting"
  17.     */
  18.     "path_source"       "plugins"
  19.     // "path_source"        "scripting"
  20.  
  21.     /*
  22.         Путь, куда будут помещены бинарники (полученные после компиляции .smx файлы)
  23.     */
  24.     "path_binary"       "plugins/compiled"
  25.  
  26.  
  27.     /*
  28.         Путь к компилятору
  29.     */
  30.     "path_compiler_linux"       "scripting/spcomp"
  31.     "path_compiler_windows"     "scripting/spcomp.exe"
  32.  
  33.  
  34.     /*
  35.         Ключи компилятора
  36.     */
  37.     "compile_options"   "-O2"
  38.     /*
  39.          -A<num>  alignment in bytes of the data segment and the stack
  40.          -a       output assembler code
  41.          -c<name> codepage name or number; e.g. 1252 for Windows Latin-1
  42.          -Dpath   active directory path
  43.          -e<name> set name of error file (quiet compile)
  44.          -H<hwnd> window handle to send a notification message on finish
  45.          -h       show included file paths
  46.          -i<name> path for include files
  47.          -l       create list file (preprocess only)
  48.          -o<name> set base name of (P-code) output file
  49.          -O<num>  optimization level (default=-O2)
  50.              0    no optimization
  51.              2    full optimizations
  52.          -p<name> set name of "prefix" file
  53.          -r[name] write cross reference report to console or to specified file
  54.          -S<num>  stack/heap size in cells (default=4096)
  55.          -s<num>  skip lines from the input file
  56.          -t<num>  TAB indent size (in character positions, default=8)
  57.          -v<num>  verbosity level; 0=quiet, 1=normal, 2=verbose (default=1)
  58.          -w<num>  disable a specific warning by its number
  59.          -X<num>  abstract machine size limit in bytes
  60.          -XD<num> abstract machine data/stack size limit in bytes
  61.          -\       use '\' for escape characters
  62.          -^       use '^' for escape characters
  63.          -;[+/-]  require a semicolon to end each statement (default=-)
  64.          sym=val  define constant "sym" with value "val"
  65.          sym=     define constant "sym" with value 0
  66.  
  67.         Options may start with a dash or a slash; the options "-d0" and "/d0" are
  68.         equivalent.
  69.  
  70.         Options with a value may optionally separate the value from the option letter
  71.         with a colon (":") or an equal sign ("="). That is, the options "-d0", "-d=0"
  72.         and "-d:0" are all equivalent.
  73.     */
  74.  
  75.     /*
  76.         Лист исключений
  77.         Сюда вписываются файлы, которые будут ингорироваться при компиляции
  78.  
  79.         Указывать имя с расширением отностительно папки plugins/
  80.         Например, если файл лежит: plugins/vip/vip_module.sp
  81.         То указать нужно:
  82.         "file"  "vip/vip_module.sp"
  83.     */
  84.     "ignore_file"   "nextmap.sp"
  85. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement