/src/wrappers/glib/examples/key_file_example.ace

http://github.com/tybor/Liberty · Unknown · 199 lines · 157 code · 42 blank · 0 comment · 0 complexity · eeb5c8814d3d39ef27a24140a3fbc5c8 MD5 · raw file

  1. system "key_file_example"
  2. root KEY_FILE_EXAMPLE: make
  3. default -- section of the system
  4. assertion (all);
  5. -- The default level of assertion checking for the system.
  6. -- Choose the appropriate value: boost, no, require, ensure,
  7. -- invariant, loop, check, all.
  8. assertion_flat_check (no);
  9. -- In flat mode each assertion will be executed in no_check mode.
  10. -- This means that while checking assertion, no other assertion will
  11. -- be checked. This mode has only sense in assertion modes from
  12. -- require to debug.
  13. debug (yes);
  14. -- The default debug level for the system.
  15. -- Choose yes, no, or any "key" you wish.
  16. trace (no);
  17. -- The default trace mode for the system. Choose yes or no.
  18. collect (yes);
  19. -- Choose yes here to add garbage collector support to your system.
  20. -- Choose no here to indicate that you don't want the garbage collector
  21. -- to be included in your system; no is the equivalent of the -no_gc
  22. -- flag in traditional command line mode.
  23. no_style_warning (no);
  24. -- My humble opinion is that you should always write no here.
  25. -- Yes is the equivalent of the -no_style_warning flag in traditional
  26. -- command line mode.
  27. no_warning (no);
  28. -- My humble opinion is that you should always write no here.
  29. -- Yes is the equivalent of the -no_warning flag in traditional
  30. -- command line mode.
  31. verbose (no);
  32. -- The equivalent of the -verbose flag. (Also note that the -verbose
  33. -- flag is still accepted in ACE file mode.)
  34. manifest_string_trace (no);
  35. -- The equivalent of the -manifest_string_trace flag.
  36. high_memory_compiler (no);
  37. -- The equivalent of the -high_memory_compiler flag.
  38. profile (no);
  39. -- The equivalent of the -profile flag.
  40. relax (yes);
  41. -- The equivalent of the -relax flag.
  42. cluster -- section
  43. glib: "${eiffel_libraries}/eiffel-glib/loadpath.se"
  44. -- gobject: "${eiffel_libraries}/eiffel-gobject/loadpath.se"
  45. demo: "."
  46. -- The cluster section is an ordered list of clusters. Roughly speaking,
  47. -- a cluster can be considered as a directory where Eiffel source files
  48. -- are to be searched for. Thus, the order of this list of clusters is
  49. -- important because clusters are considered sequentially while
  50. -- searching for an Eiffel source file. Each cluster is described
  51. -- as follows:
  52. -- optional_cluster_name: "cluster_path_using_system_file_notation_here"
  53. -- default -- at this cluster level
  54. -- assertion (require)
  55. -- debug (no);
  56. -- trace (no);
  57. -- option -- for this cluster
  58. -- assertion (loop) : CLASS_NAME1, CLASS_NAME2;
  59. -- assertion (all) : CLASS_NAME3, CLASS_NAME4;
  60. -- -- ...
  61. -- debug (yes) : CLASS_NAME1, CLASS_NAME2, ...;
  62. -- debug ("KEY") : CLASS_NAME1, CLASS_NAME2, ...;
  63. -- -- ...
  64. -- trace : CLASS_NAME1, CLASS_NAME2;
  65. -- trace : CLASS_NAME3, CLASS_NAME4;
  66. -- -- ...
  67. -- end -- of one cluster
  68. -- Pull in SmartEiffel's standard library. Always put this last so
  69. -- that you can override options for parts of the library.
  70. standard: "${path_lib}/loadpath.se"
  71. external -- section for elements written in another language
  72. -- Directories where to search for C .h files:
  73. -- external_header_path: "/usr/local/expat/include /usr/local/include/mjpegtools"
  74. --external_header_path: "$(pkg-config --cflags glib-2.0)"
  75. -- External object files to be considered; update and uncomment the
  76. -- following line:
  77. -- external_object_files: "foo.o bar.o"
  78. -- External C files to be considered; update and uncomment the
  79. -- following line:
  80. -- external_c_files: "foo.c bar.c"
  81. -- External C++ files to be considered; update and uncomment the
  82. -- following line:
  83. -- external_c_plus_plus_files: "foo.cpp bar.cpp"
  84. -- The equivalent of the -cecil flag of the traditional command line mode.
  85. -- To indicate some cecil file to be considered, update and uncomment
  86. -- the following lines:
  87. -- cecil ("my_cecil_file1.se")
  88. -- cecil ("my_cecil_file2.se")
  89. -- cecil ("my_cecil_file3.se")
  90. -- ...
  91. -- External libraries directory path to be considered; update and uncomment
  92. -- the following line:
  93. --external_lib_path: " $(pkg-config --cflags --libs glib-2.0)"
  94. -- From release -0.74Beta#20 and later SmartEiffel supports linker
  95. -- external_lib_path. Just leave out the -L:
  96. -- external_lib_path: "/usr/local /foo/bar"
  97. -- In this case external_lib_path will work on Windows too.
  98. -- External libraries to be considered; update and uncomment the following
  99. -- line:
  100. --external_lib: "$(pkg-config --libs glib-2.0)"
  101. -- or linker independent:
  102. -- external_lib: "m X11"
  103. generate -- section
  104. no_strip(no);
  105. -- Yes would mean that you don't want to run "strip" on the generated
  106. -- executable. This is the equivalent of the -no_strip flag of the
  107. -- traditional command line mode. (I.e. to use a C level debugger on your
  108. -- system, you should choose yes here).
  109. no_split(no);
  110. -- Yes would mean that you want one big single C file for the complete
  111. -- system, pinstead of the many small C files produced by default ("no").
  112. -- This may be useful for delivery of the most efficient version. (Some
  113. -- C compilers including gcc can then do better inlining.)
  114. clean(no);
  115. -- Yes would mean that you want to remove all generated C files, all
  116. -- generated object files as well as other temporary files generated
  117. -- during the compilation process. (See also command clean.)
  118. -- The equivalent of the -cc flag of the traditional command line mode.
  119. -- To select a different C compiler from the default, update and uncomment
  120. -- the following line:
  121. -- cc : "gcc"
  122. -- To decide which C compiler options are to be passed, you need to use
  123. -- this keyword as well as a good understanding of your C compiler.
  124. -- Update and uncomment the following line:
  125. c_compiler_options : "$(pkg-config --cflags glib-2.0)"
  126. -- Some options are to be passed only to the linker. Update and uncomment
  127. -- the following line:
  128. linker_options : "$(pkg-config --libs glib-2.0)"
  129. -- For the equivalent of the -no_main flag of the traditional command line
  130. -- mode, uncomment the following line:
  131. -- no_main (yes)
  132. -- For the equivalent of the -gc_info flag of the traditional command line
  133. -- mode, uncomment the following line:
  134. -- gc_info (yes)
  135. -- For the equivalent of the -wedit flag of the traditional command line
  136. -- mode. To Include support for the Wedit debugger uncomment the following
  137. -- line:
  138. -- wedit (yes)
  139. -- Additional information about system environment variables:
  140. -- Inside manifest strings, you are allowed to use system
  141. -- environment variables using the same notation as in the traditional
  142. -- "loadpath.se" files. Actually, this notation is inspired by the
  143. -- traditional UNIX bracketed notation as for example: ${FOO} or ${Bar}
  144. -- or ${SmartEiffel}.
  145. --
  146. -- Additional information about the ${SmartEiffelDirectory} variable:
  147. -- If not explicitely set by the user, the ${SmartEiffelDirectory} variable
  148. -- is automatically computed using the value of the ${SmartEiffel} variable.
  149. -- (Keep in mind that the ${SmartEiffel} variable is mandatory for using
  150. -- SmartEiffel.) The computed value indicates the SmartEiffel main
  151. -- directory. For example, if the value of ${SmartEiffel} is
  152. -- "/usr/local/lib/SmartEiffel/sys/system.se"
  153. -- the computed value is "/usr/local/lib/SmartEiffel/". This automatically
  154. -- defined variable ${SmartEiffelDirectory} is useful for indicating the
  155. -- location of the SmartEiffel standard library.
  156. --
  157. end