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