/src/wrappers/glib/partially-implemented/g_reference_array_example.ace

http://github.com/tybor/Liberty · Unknown · 205 lines · 163 code · 42 blank · 0 comment · 0 complexity · c150587fcf91489d02a1d2d1c0e5ded3 MD5 · raw file

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