/src/wrappers/gtk/examples/images/images.ace
Unknown | 210 lines | 167 code | 43 blank | 0 comment | 0 complexity | c21262468079f6dc058aa0787a795743 MD5 | raw file
1system 2"images" 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 IMAGES: 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 (no); 60 -- The equivalent of the -profile flag. 61 62 relax (yes); 63 -- The equivalent of the -relax flag. 64 65cluster -- section 66 gtk: "${eiffel_libraries}/eiffel-gtk/loadpath.se" 67 gdk: "${eiffel_libraries}/eiffel-gdk/loadpath.se" 68 glib: "${eiffel_libraries}/eiffel-glib/loadpath.se" 69 gobject: "${eiffel_libraries}/eiffel-gobject/loadpath.se" 70 pango: "${eiffel_libraries}/eiffel-pango/loadpath.se" 71 72 images_demo: "." 73 74 -- The cluster section is an ordered list of clusters. Roughly speaking, 75 -- a cluster can be considered as a directory where Eiffel source files 76 -- are to be searched for. Thus, the order of this list of clusters is 77 -- important because clusters are considered sequentially while 78 -- searching for an Eiffel source file. Each cluster is described 79 -- as follows: 80 81-- optional_cluster_name: "cluster_path_using_system_file_notation_here" 82-- default -- at this cluster level 83-- assertion (require) 84-- debug (no); 85-- trace (no); 86-- option -- for this cluster 87-- assertion (loop) : CLASS_NAME1, CLASS_NAME2; 88-- assertion (all) : CLASS_NAME3, CLASS_NAME4; 89-- -- ... 90-- debug (yes) : CLASS_NAME1, CLASS_NAME2, ...; 91-- debug ("KEY") : CLASS_NAME1, CLASS_NAME2, ...; 92-- -- ... 93-- trace : CLASS_NAME1, CLASS_NAME2; 94-- trace : CLASS_NAME3, CLASS_NAME4; 95-- -- ... 96-- end -- of one cluster 97 98 -- Pull in SmartEiffel's standard library. Always put this last so 99 -- that you can override options for parts of the library. 100 101 standard: "${path_lib}/loadpath.se" 102 103external -- section for elements written in another language 104 -- Directories where to search for C .h files: 105 -- external_header_path: "/usr/local/expat/include /usr/local/include/mjpegtools" 106 --external_header_path: "$(pkg-config --cflags glib-2.0)" 107 108 109 -- External object files to be considered; update and uncomment the 110 -- following line: 111 -- external_object_files: "foo.o bar.o" 112 113 -- External C files to be considered; update and uncomment the 114 -- following line: 115 -- external_c_files: "foo.c bar.c" 116 117 -- External C++ files to be considered; update and uncomment the 118 -- following line: 119 -- external_c_plus_plus_files: "foo.cpp bar.cpp" 120 121 -- The equivalent of the -cecil flag of the traditional command line mode. 122 -- To indicate some cecil file to be considered, update and uncomment 123 -- the following lines: 124 -- cecil ("my_cecil_file1.se") 125 -- cecil ("my_cecil_file2.se") 126 -- cecil ("my_cecil_file3.se") 127 -- ... 128 129 -- External libraries directory path to be considered; update and uncomment 130 -- the following line: 131 --external_lib_path: " $(pkg-config --cflags --libs glib-2.0)" 132 133 -- From release -0.74Beta#20 and later SmartEiffel supports linker 134 -- external_lib_path. Just leave out the -L: 135 -- external_lib_path: "/usr/local /foo/bar" 136 -- In this case external_lib_path will work on Windows too. 137 138 -- External libraries to be considered; update and uncomment the following 139 -- line: 140 --external_lib: "$(pkg-config --libs glib-2.0)" 141 142 -- or linker independent: 143 -- external_lib: "m X11" 144 145generate -- section 146 147 no_strip(no); 148 -- Yes would mean that you don't want to run "strip" on the generated 149 -- executable. This is the equivalent of the -no_strip flag of the 150 -- traditional command line mode. (I.e. to use a C level debugger on your 151 -- system, you should choose yes here). 152 153 no_split(no); 154 -- Yes would mean that you want one big single C file for the complete 155 -- system, pinstead of the many small C files produced by default ("no"). 156 -- This may be useful for delivery of the most efficient version. (Some 157 -- C compilers including gcc can then do better inlining.) 158 159 clean(no); 160 -- Yes would mean that you want to remove all generated C files, all 161 -- generated object files as well as other temporary files generated 162 -- during the compilation process. (See also command clean.) 163 164 -- The equivalent of the -cc flag of the traditional command line mode. 165 -- To select a different C compiler from the default, update and uncomment 166 -- the following line: 167 -- cc : "gcc" 168 169 -- To decide which C compiler options are to be passed, you need to use 170 -- this keyword as well as a good understanding of your C compiler. 171 -- Update and uncomment the following line: 172 c_compiler_options : "$(pkg-config --cflags gtk+-2.0)" 173 174 -- Some options are to be passed only to the linker. Update and uncomment 175 -- the following line: 176 linker_options : "$(pkg-config --libs gtk+-2.0)" 177 178 -- For the equivalent of the -no_main flag of the traditional command line 179 -- mode, uncomment the following line: 180 -- no_main (yes) 181 182 -- For the equivalent of the -gc_info flag of the traditional command line 183 -- mode, uncomment the following line: 184 -- gc_info (yes) 185 186 -- For the equivalent of the -wedit flag of the traditional command line 187 -- mode. To Include support for the Wedit debugger uncomment the following 188 -- line: 189 -- wedit (yes) 190 191 192-- Additional information about system environment variables: 193-- Inside manifest strings, you are allowed to use system 194-- environment variables using the same notation as in the traditional 195-- "loadpath.se" files. Actually, this notation is inspired by the 196-- traditional UNIX bracketed notation as for example: ${FOO} or ${Bar} 197-- or ${SmartEiffel}. 198-- 199-- Additional information about the ${SmartEiffelDirectory} variable: 200-- If not explicitely set by the user, the ${SmartEiffelDirectory} variable 201-- is automatically computed using the value of the ${SmartEiffel} variable. 202-- (Keep in mind that the ${SmartEiffel} variable is mandatory for using 203-- SmartEiffel.) The computed value indicates the SmartEiffel main 204-- directory. For example, if the value of ${SmartEiffel} is 205-- "/usr/local/lib/SmartEiffel/sys/system.se" 206-- the computed value is "/usr/local/lib/SmartEiffel/". This automatically 207-- defined variable ${SmartEiffelDirectory} is useful for indicating the 208-- location of the SmartEiffel standard library. 209-- 210end