Changeset 137 for snovis/trunk
- Timestamp:
- Feb 9, 2007, 4:59:29 PM (17 years ago)
- Location:
- snovis/trunk/obuild
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
snovis/trunk/obuild/DOS/build_app_prog_snova.bat
r134 r137 95 95 cd "%obuild_snovis_path%\%obuild_dir_bin%" 96 96 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 97 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 98 cd "%obuild_pwd_snovis_0%" 99 SET obuild_pwd_snovis_0= 100 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1 101 SET CLHEP_home=/usr/local/CLHEP/2.0.3.1 102 :end_if_platform_1 103 SET obuild_platform_result= 104 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 105 cd "%obuild_snovis_path%\%obuild_dir_bin%" 106 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 107 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 108 cd "%obuild_pwd_snovis_0%" 109 SET obuild_pwd_snovis_0= 110 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_3 111 SET Geant4_home=/usr/local/geant4/8.2 112 :end_if_platform_3 113 SET obuild_platform_result= 114 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 115 cd "%obuild_snovis_path%\%obuild_dir_bin%" 116 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 97 117 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 98 118 cd "%obuild_pwd_snovis_0%" 99 119 SET obuild_pwd_snovis_0= 100 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1 101 SET snova_platform=Darwin 102 :end_if_platform_1 103 SET obuild_platform_result= 104 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 105 cd "%obuild_snovis_path%\%obuild_dir_bin%" 106 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 107 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 108 cd "%obuild_pwd_snovis_0%" 109 SET obuild_pwd_snovis_0= 110 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_3 111 SET bhep_home=/Users/barrand/dev/exp/nemo/bhep/v1r4p2 112 :end_if_platform_3 113 SET obuild_platform_result= 114 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 115 cd "%obuild_snovis_path%\%obuild_dir_bin%" 116 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 117 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 120 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_4 121 SET obuild_cxx_command=c++ 122 :end_if_platform_4 123 SET obuild_platform_result= 124 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 125 cd "%obuild_snovis_path%\%obuild_dir_bin%" 126 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 127 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 118 128 cd "%obuild_pwd_snovis_0%" 119 129 SET obuild_pwd_snovis_0= 120 130 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_5 121 SET snova_home=/Users/barrand/dev/exp/nemo/snova/v2r0p0131 SET obuild_cxx_command=c++ 122 132 :end_if_platform_5 123 133 SET obuild_platform_result= … … 125 135 cd "%obuild_snovis_path%\%obuild_dir_bin%" 126 136 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 127 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 137 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j 138 cd "%obuild_pwd_snovis_0%" 139 SET obuild_pwd_snovis_0= 140 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_6 141 SET obuild_cxx_command=cxx 142 :end_if_platform_6 143 SET obuild_platform_result= 144 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 145 cd "%obuild_snovis_path%\%obuild_dir_bin%" 146 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 147 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 128 148 cd "%obuild_pwd_snovis_0%" 129 149 SET obuild_pwd_snovis_0= 130 150 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_7 131 SET CLHEP_home=/usr/local/CLHEP/2.0.3.1151 SET obuild_cxx_command=cl.exe 132 152 :end_if_platform_7 133 153 SET obuild_platform_result= 134 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 135 cd "%obuild_snovis_path%\%obuild_dir_bin%" 136 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 137 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 154 IF "%obuild_cxx_command%" == "" ECHO Variable obuild_cxx_command not defined. && GOTO obuild_return 155 156 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 157 cd "%obuild_snovis_path%\%obuild_dir_bin%" 158 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 159 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 160 cd "%obuild_pwd_snovis_0%" 161 SET obuild_pwd_snovis_0= 162 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_8 163 SET obuild_cxx_optimize=-O 164 :end_if_platform_8 165 SET obuild_platform_result= 166 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 167 cd "%obuild_snovis_path%\%obuild_dir_bin%" 168 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 169 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 138 170 cd "%obuild_pwd_snovis_0%" 139 171 SET obuild_pwd_snovis_0= 140 172 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_9 141 SET Geant4_home=/usr/local/geant4/8.2173 SET obuild_cxx_optimize=-O 142 174 :end_if_platform_9 143 175 SET obuild_platform_result= … … 145 177 cd "%obuild_snovis_path%\%obuild_dir_bin%" 146 178 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 179 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j 180 cd "%obuild_pwd_snovis_0%" 181 SET obuild_pwd_snovis_0= 182 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_10 183 SET obuild_cxx_optimize=-O 184 :end_if_platform_10 185 SET obuild_platform_result= 186 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 187 cd "%obuild_snovis_path%\%obuild_dir_bin%" 188 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 189 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 190 cd "%obuild_pwd_snovis_0%" 191 SET obuild_pwd_snovis_0= 192 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_11 193 SET obuild_cxx_optimize=/O2 194 :end_if_platform_11 195 SET obuild_platform_result= 196 197 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 198 cd "%obuild_snovis_path%\%obuild_dir_bin%" 199 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 147 200 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 148 201 cd "%obuild_pwd_snovis_0%" 149 202 SET obuild_pwd_snovis_0= 150 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1 0151 SET obuild_cxx_ command=c++152 :end_if_platform_1 0203 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_12 204 SET obuild_cxx_debug=-g 205 :end_if_platform_12 153 206 SET obuild_platform_result= 154 207 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 158 211 cd "%obuild_pwd_snovis_0%" 159 212 SET obuild_pwd_snovis_0= 160 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1 1161 SET obuild_cxx_ command=c++162 :end_if_platform_1 1213 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_13 214 SET obuild_cxx_debug=-g 215 :end_if_platform_13 163 216 SET obuild_platform_result= 164 217 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 168 221 cd "%obuild_pwd_snovis_0%" 169 222 SET obuild_pwd_snovis_0= 170 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_12171 SET obuild_cxx_command=cxx172 :end_if_platform_12173 SET obuild_platform_result=174 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d175 cd "%obuild_snovis_path%\%obuild_dir_bin%"176 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return177 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j178 cd "%obuild_pwd_snovis_0%"179 SET obuild_pwd_snovis_0=180 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_13181 SET obuild_cxx_command=cl.exe182 :end_if_platform_13183 SET obuild_platform_result=184 IF "%obuild_cxx_command%" == "" ECHO Variable obuild_cxx_command not defined. && GOTO obuild_return185 186 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d187 cd "%obuild_snovis_path%\%obuild_dir_bin%"188 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return189 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j190 cd "%obuild_pwd_snovis_0%"191 SET obuild_pwd_snovis_0=192 223 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_14 193 SET obuild_cxx_ optimize=-O224 SET obuild_cxx_debug=-g 194 225 :end_if_platform_14 195 226 SET obuild_platform_result= … … 197 228 cd "%obuild_snovis_path%\%obuild_dir_bin%" 198 229 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 230 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 231 cd "%obuild_pwd_snovis_0%" 232 SET obuild_pwd_snovis_0= 233 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_15 234 SET obuild_cxx_debug=/ZI /Od 235 :end_if_platform_15 236 SET obuild_platform_result= 237 238 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 239 cd "%obuild_snovis_path%\%obuild_dir_bin%" 240 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 199 241 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 200 242 cd "%obuild_pwd_snovis_0%" 201 243 SET obuild_pwd_snovis_0= 202 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_15203 SET obuild_cxx_optimize=-O204 :end_if_platform_15205 SET obuild_platform_result=206 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d207 cd "%obuild_snovis_path%\%obuild_dir_bin%"208 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return209 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j210 cd "%obuild_pwd_snovis_0%"211 SET obuild_pwd_snovis_0=212 244 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_16 213 SET obuild_cxx_opti mize=-O245 SET obuild_cxx_options=-fPIC 214 246 :end_if_platform_16 215 247 SET obuild_platform_result= … … 221 253 SET obuild_pwd_snovis_0= 222 254 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_17 223 SET obuild_cxx_opti mize=/O2255 SET obuild_cxx_options=/nologo /DWIN32 /MD /GX /GR /W3 224 256 :end_if_platform_17 225 257 SET obuild_platform_result= 226 258 227 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 228 cd "%obuild_snovis_path%\%obuild_dir_bin%" 229 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 230 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 231 cd "%obuild_pwd_snovis_0%" 232 SET obuild_pwd_snovis_0= 233 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_18 234 SET obuild_cxx_debug=-g 235 :end_if_platform_18 236 SET obuild_platform_result= 237 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 238 cd "%obuild_snovis_path%\%obuild_dir_bin%" 239 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 240 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 241 cd "%obuild_pwd_snovis_0%" 242 SET obuild_pwd_snovis_0= 243 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_19 244 SET obuild_cxx_debug=-g 245 :end_if_platform_19 246 SET obuild_platform_result= 247 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 248 cd "%obuild_snovis_path%\%obuild_dir_bin%" 249 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 250 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j 251 cd "%obuild_pwd_snovis_0%" 252 SET obuild_pwd_snovis_0= 253 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_20 254 SET obuild_cxx_debug=-g 255 :end_if_platform_20 256 SET obuild_platform_result= 257 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 258 cd "%obuild_snovis_path%\%obuild_dir_bin%" 259 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 260 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 261 cd "%obuild_pwd_snovis_0%" 262 SET obuild_pwd_snovis_0= 263 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_21 264 SET obuild_cxx_debug=/ZI /Od 265 :end_if_platform_21 266 SET obuild_platform_result= 267 268 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 269 cd "%obuild_snovis_path%\%obuild_dir_bin%" 270 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 271 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 272 cd "%obuild_pwd_snovis_0%" 273 SET obuild_pwd_snovis_0= 274 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_22 275 SET obuild_cxx_options=-fPIC 276 :end_if_platform_22 277 SET obuild_platform_result= 278 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 279 cd "%obuild_snovis_path%\%obuild_dir_bin%" 280 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 281 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 282 cd "%obuild_pwd_snovis_0%" 283 SET obuild_pwd_snovis_0= 284 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_23 285 SET obuild_cxx_options=/nologo /DWIN32 /MD /GX /GR /W3 286 :end_if_platform_23 287 SET obuild_platform_result= 288 289 IF NOT %obuild_debug% == yes GOTO else_if_db_build_app_prog_snova_sh_24 259 IF NOT %obuild_debug% == yes GOTO else_if_db_build_app_prog_snova_sh_18 290 260 SET obuild_cxx_debug_local=%obuild_cxx_debug% 291 GOTO end_if_db_build_app_prog_snova_sh_ 24292 :else_if_db_build_app_prog_snova_sh_ 24261 GOTO end_if_db_build_app_prog_snova_sh_18 262 :else_if_db_build_app_prog_snova_sh_18 293 263 SET obuild_cxx_debug_local= 294 :end_if_db_build_app_prog_snova_sh_ 24295 296 IF NOT %obuild_optimize% == yes GOTO else_if_opt_build_app_prog_snova_sh_ 25264 :end_if_db_build_app_prog_snova_sh_18 265 266 IF NOT %obuild_optimize% == yes GOTO else_if_opt_build_app_prog_snova_sh_19 297 267 SET obuild_cxx_optimize_local=%obuild_cxx_optimize% 298 GOTO end_if_opt_build_app_prog_snova_sh_ 25299 :else_if_opt_build_app_prog_snova_sh_ 25268 GOTO end_if_opt_build_app_prog_snova_sh_19 269 :else_if_opt_build_app_prog_snova_sh_19 300 270 SET obuild_cxx_optimize_local= 301 :end_if_opt_build_app_prog_snova_sh_ 25271 :end_if_opt_build_app_prog_snova_sh_19 302 272 303 273 … … 310 280 cd "%obuild_snovis_path%\%obuild_dir_bin%" 311 281 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 282 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe snova v2r0p0`) DO SET obuild_snova_path=%%j 283 cd "%obuild_pwd_snovis_0%" 284 SET obuild_pwd_snovis_0= 285 IF NOT DEFINED obuild_snova_path ECHO Can't find snova package. && GOTO obuild_return 286 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 287 cd "%obuild_snovis_path%\%obuild_dir_bin%" 288 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 289 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe snova v2r0p0`) DO SET obuild_snova_path=%%j 290 cd "%obuild_pwd_snovis_0%" 291 SET obuild_pwd_snovis_0= 292 IF NOT DEFINED obuild_snova_path ECHO Can't find snova package. && GOTO obuild_return 293 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 294 cd "%obuild_snovis_path%\%obuild_dir_bin%" 295 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 296 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe snova v2r0p0`) DO SET obuild_snova_path=%%j 297 cd "%obuild_pwd_snovis_0%" 298 SET obuild_pwd_snovis_0= 299 IF NOT DEFINED obuild_snova_path ECHO Can't find snova package. && GOTO obuild_return 300 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 301 cd "%obuild_snovis_path%\%obuild_dir_bin%" 302 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 303 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe snova v2r0p0`) DO SET obuild_snova_path=%%j 304 cd "%obuild_pwd_snovis_0%" 305 SET obuild_pwd_snovis_0= 306 IF NOT DEFINED obuild_snova_path ECHO Can't find snova package. && GOTO obuild_return 307 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 308 cd "%obuild_snovis_path%\%obuild_dir_bin%" 309 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 310 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe bhep v1r4p2`) DO SET obuild_bhep_path=%%j 311 cd "%obuild_pwd_snovis_0%" 312 SET obuild_pwd_snovis_0= 313 IF NOT DEFINED obuild_bhep_path ECHO Can't find bhep package. && GOTO obuild_return 314 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 315 cd "%obuild_snovis_path%\%obuild_dir_bin%" 316 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 312 317 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe HDF5 v1r*`) DO SET obuild_HDF5_path=%%j 313 318 cd "%obuild_pwd_snovis_0%" … … 317 322 cd "%obuild_snovis_path%\%obuild_dir_bin%" 318 323 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 324 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe snova v2r0p0`) DO SET obuild_snova_path=%%j 325 cd "%obuild_pwd_snovis_0%" 326 SET obuild_pwd_snovis_0= 327 IF NOT DEFINED obuild_snova_path ECHO Can't find snova package. && GOTO obuild_return 328 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 329 cd "%obuild_snovis_path%\%obuild_dir_bin%" 330 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 331 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe snova v2r0p0`) DO SET obuild_snova_path=%%j 332 cd "%obuild_pwd_snovis_0%" 333 SET obuild_pwd_snovis_0= 334 IF NOT DEFINED obuild_snova_path ECHO Can't find snova package. && GOTO obuild_return 335 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 336 cd "%obuild_snovis_path%\%obuild_dir_bin%" 337 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 338 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe snova v2r0p0`) DO SET obuild_snova_path=%%j 339 cd "%obuild_pwd_snovis_0%" 340 SET obuild_pwd_snovis_0= 341 IF NOT DEFINED obuild_snova_path ECHO Can't find snova package. && GOTO obuild_return 342 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 343 cd "%obuild_snovis_path%\%obuild_dir_bin%" 344 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 345 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe snova v2r0p0`) DO SET obuild_snova_path=%%j 346 cd "%obuild_pwd_snovis_0%" 347 SET obuild_pwd_snovis_0= 348 IF NOT DEFINED obuild_snova_path ECHO Can't find snova package. && GOTO obuild_return 349 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 350 cd "%obuild_snovis_path%\%obuild_dir_bin%" 351 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 352 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe bhep v1r4p2`) DO SET obuild_bhep_path=%%j 353 cd "%obuild_pwd_snovis_0%" 354 SET obuild_pwd_snovis_0= 355 IF NOT DEFINED obuild_bhep_path ECHO Can't find bhep package. && GOTO obuild_return 356 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 357 cd "%obuild_snovis_path%\%obuild_dir_bin%" 358 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 319 359 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe HDF5 v1r*`) DO SET obuild_HDF5_path=%%j 320 360 cd "%obuild_pwd_snovis_0%" … … 329 369 IF NOT DEFINED obuild_zlib_path ECHO Can't find zlib package. && GOTO obuild_return 330 370 371 SET obuild_cxx_includes=/I"%obuild_snova_path%" 372 SET obuild_cxx_includes=%obuild_cxx_includes% /I"%obuild_snova_path%\source\GeomUtils\include" 373 SET obuild_cxx_includes=%obuild_cxx_includes% /I"%obuild_snova_path%\source\SNvertex\include" 374 SET obuild_cxx_includes=%obuild_cxx_includes% /I"%obuild_snova_path%\source\SNgeom2\include" 375 SET obuild_cxx_includes=%obuild_cxx_includes% /I"%obuild_bhep_path%" 331 376 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 332 377 cd "%obuild_snovis_path%\%obuild_dir_bin%" … … 335 380 cd "%obuild_pwd_snovis_0%" 336 381 SET obuild_pwd_snovis_0= 382 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_25 383 SET obuild_cxx_includes=%obuild_cxx_includes% -I${CLHEP_home}/include 384 :end_if_platform_25 385 SET obuild_platform_result= 386 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 387 cd "%obuild_snovis_path%\%obuild_dir_bin%" 388 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 389 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 390 cd "%obuild_pwd_snovis_0%" 391 SET obuild_pwd_snovis_0= 337 392 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_26 338 SET obuild_cxx_includes= -I${snova_home}393 SET obuild_cxx_includes=%obuild_cxx_includes% -I${Geant4_home}/include 339 394 :end_if_platform_26 340 SET obuild_platform_result=341 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d342 cd "%obuild_snovis_path%\%obuild_dir_bin%"343 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return344 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j345 cd "%obuild_pwd_snovis_0%"346 SET obuild_pwd_snovis_0=347 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_27348 SET obuild_cxx_includes=%obuild_cxx_includes% -I${snova_home}/source/GeomUtils/include349 :end_if_platform_27350 SET obuild_platform_result=351 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d352 cd "%obuild_snovis_path%\%obuild_dir_bin%"353 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return354 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j355 cd "%obuild_pwd_snovis_0%"356 SET obuild_pwd_snovis_0=357 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_28358 SET obuild_cxx_includes=%obuild_cxx_includes% -I${snova_home}/source/SNgeom2/include359 :end_if_platform_28360 SET obuild_platform_result=361 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d362 cd "%obuild_snovis_path%\%obuild_dir_bin%"363 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return364 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j365 cd "%obuild_pwd_snovis_0%"366 SET obuild_pwd_snovis_0=367 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_29368 SET obuild_cxx_includes=%obuild_cxx_includes% -I${snova_home}/source/SNvertex/include369 :end_if_platform_29370 SET obuild_platform_result=371 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d372 cd "%obuild_snovis_path%\%obuild_dir_bin%"373 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return374 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j375 cd "%obuild_pwd_snovis_0%"376 SET obuild_pwd_snovis_0=377 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_30378 SET obuild_cxx_includes=%obuild_cxx_includes% -I${bhep_home}379 :end_if_platform_30380 SET obuild_platform_result=381 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d382 cd "%obuild_snovis_path%\%obuild_dir_bin%"383 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return384 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j385 cd "%obuild_pwd_snovis_0%"386 SET obuild_pwd_snovis_0=387 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_31388 SET obuild_cxx_includes=%obuild_cxx_includes% -I${CLHEP_home}/include389 :end_if_platform_31390 SET obuild_platform_result=391 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d392 cd "%obuild_snovis_path%\%obuild_dir_bin%"393 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return394 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j395 cd "%obuild_pwd_snovis_0%"396 SET obuild_pwd_snovis_0=397 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_32398 SET obuild_cxx_includes=%obuild_cxx_includes% -I${Geant4_home}/include399 :end_if_platform_32400 395 SET obuild_platform_result= 401 396 SET obuild_cxx_includes=%obuild_cxx_includes% /I"%obuild_HDF5_path%\include" … … 419 414 cd "%obuild_pwd_snovis_0%" 420 415 SET obuild_pwd_snovis_0= 416 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_29 417 SET obuild_cxx_linker_command=c++ 418 :end_if_platform_29 419 SET obuild_platform_result= 420 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 421 cd "%obuild_snovis_path%\%obuild_dir_bin%" 422 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 423 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 424 cd "%obuild_pwd_snovis_0%" 425 SET obuild_pwd_snovis_0= 426 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_30 427 SET obuild_cxx_linker_command=c++ 428 :end_if_platform_30 429 SET obuild_platform_result= 430 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 431 cd "%obuild_snovis_path%\%obuild_dir_bin%" 432 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 433 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j 434 cd "%obuild_pwd_snovis_0%" 435 SET obuild_pwd_snovis_0= 436 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_31 437 SET obuild_cxx_linker_command=cxx 438 :end_if_platform_31 439 SET obuild_platform_result= 440 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 441 cd "%obuild_snovis_path%\%obuild_dir_bin%" 442 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 443 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 444 cd "%obuild_pwd_snovis_0%" 445 SET obuild_pwd_snovis_0= 446 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_32 447 SET obuild_cxx_linker_command=link.exe 448 :end_if_platform_32 449 SET obuild_platform_result= 450 IF "%obuild_cxx_linker_command%" == "" ECHO Variable obuild_cxx_linker_command not defined. && GOTO obuild_return 451 452 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 453 cd "%obuild_snovis_path%\%obuild_dir_bin%" 454 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 455 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 456 cd "%obuild_pwd_snovis_0%" 457 SET obuild_pwd_snovis_0= 458 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_33 459 SET obuild_cxx_linker_debug=-g 460 :end_if_platform_33 461 SET obuild_platform_result= 462 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 463 cd "%obuild_snovis_path%\%obuild_dir_bin%" 464 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 465 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 466 cd "%obuild_pwd_snovis_0%" 467 SET obuild_pwd_snovis_0= 468 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_34 469 SET obuild_cxx_linker_debug=-g 470 :end_if_platform_34 471 SET obuild_platform_result= 472 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 473 cd "%obuild_snovis_path%\%obuild_dir_bin%" 474 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 475 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j 476 cd "%obuild_pwd_snovis_0%" 477 SET obuild_pwd_snovis_0= 421 478 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_35 422 SET obuild_cxx_linker_ command=c++479 SET obuild_cxx_linker_debug=-g 423 480 :end_if_platform_35 424 481 SET obuild_platform_result= … … 426 483 cd "%obuild_snovis_path%\%obuild_dir_bin%" 427 484 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 428 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j485 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 429 486 cd "%obuild_pwd_snovis_0%" 430 487 SET obuild_pwd_snovis_0= 431 488 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_36 432 SET obuild_cxx_linker_ command=c++489 SET obuild_cxx_linker_debug=/DEBUG 433 490 :end_if_platform_36 434 491 SET obuild_platform_result= 435 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 436 cd "%obuild_snovis_path%\%obuild_dir_bin%" 437 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 438 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j 492 493 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 494 cd "%obuild_snovis_path%\%obuild_dir_bin%" 495 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 496 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 439 497 cd "%obuild_pwd_snovis_0%" 440 498 SET obuild_pwd_snovis_0= 441 499 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_37 442 SET obuild_cxx_linker_ command=cxx500 SET obuild_cxx_linker_options=/nologo 443 501 :end_if_platform_37 444 502 SET obuild_platform_result= 445 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 446 cd "%obuild_snovis_path%\%obuild_dir_bin%" 447 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 448 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 449 cd "%obuild_pwd_snovis_0%" 450 SET obuild_pwd_snovis_0= 451 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_38 452 SET obuild_cxx_linker_command=link.exe 453 :end_if_platform_38 454 SET obuild_platform_result= 455 IF "%obuild_cxx_linker_command%" == "" ECHO Variable obuild_cxx_linker_command not defined. && GOTO obuild_return 456 457 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 458 cd "%obuild_snovis_path%\%obuild_dir_bin%" 459 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 460 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 461 cd "%obuild_pwd_snovis_0%" 462 SET obuild_pwd_snovis_0= 463 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_39 464 SET obuild_cxx_linker_debug=-g 465 :end_if_platform_39 466 SET obuild_platform_result= 467 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 468 cd "%obuild_snovis_path%\%obuild_dir_bin%" 469 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 470 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 471 cd "%obuild_pwd_snovis_0%" 472 SET obuild_pwd_snovis_0= 473 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_40 474 SET obuild_cxx_linker_debug=-g 475 :end_if_platform_40 476 SET obuild_platform_result= 477 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 478 cd "%obuild_snovis_path%\%obuild_dir_bin%" 479 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 480 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j 481 cd "%obuild_pwd_snovis_0%" 482 SET obuild_pwd_snovis_0= 483 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_41 484 SET obuild_cxx_linker_debug=-g 485 :end_if_platform_41 486 SET obuild_platform_result= 487 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 488 cd "%obuild_snovis_path%\%obuild_dir_bin%" 489 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 490 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 491 cd "%obuild_pwd_snovis_0%" 492 SET obuild_pwd_snovis_0= 493 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_42 494 SET obuild_cxx_linker_debug=/DEBUG 495 :end_if_platform_42 496 SET obuild_platform_result= 497 498 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 499 cd "%obuild_snovis_path%\%obuild_dir_bin%" 500 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 501 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 502 cd "%obuild_pwd_snovis_0%" 503 SET obuild_pwd_snovis_0= 504 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_43 505 SET obuild_cxx_linker_options=/nologo 506 :end_if_platform_43 507 SET obuild_platform_result= 508 509 IF NOT %obuild_debug% == yes GOTO else_if_db_build_app_prog_snova_sh_44 503 504 IF NOT %obuild_debug% == yes GOTO else_if_db_build_app_prog_snova_sh_38 510 505 SET obuild_cxx_linker_debug_local=%obuild_cxx_linker_debug% 511 GOTO end_if_db_build_app_prog_snova_sh_ 44512 :else_if_db_build_app_prog_snova_sh_ 44506 GOTO end_if_db_build_app_prog_snova_sh_38 507 :else_if_db_build_app_prog_snova_sh_38 513 508 SET obuild_cxx_linker_debug_local= 514 :end_if_db_build_app_prog_snova_sh_ 44515 516 IF NOT %obuild_optimize% == yes GOTO else_if_opt_build_app_prog_snova_sh_ 45509 :end_if_db_build_app_prog_snova_sh_38 510 511 IF NOT %obuild_optimize% == yes GOTO else_if_opt_build_app_prog_snova_sh_39 517 512 SET obuild_cxx_linker_optimize_local=%obuild_cxx_linker_optimize% 518 GOTO end_if_opt_build_app_prog_snova_sh_ 45519 :else_if_opt_build_app_prog_snova_sh_ 45513 GOTO end_if_opt_build_app_prog_snova_sh_39 514 :else_if_opt_build_app_prog_snova_sh_39 520 515 SET obuild_cxx_linker_optimize_local= 521 :end_if_opt_build_app_prog_snova_sh_45 522 523 SET obuild_linked_libraries=-L${snova_home}/Darwin -lsnova -lsnvertex -lsngeom -lgeomutils 524 SET obuild_linked_libraries=%obuild_linked_libraries% -L${bhep_home}/Darwin -lbhep 516 :end_if_opt_build_app_prog_snova_sh_39 517 518 SET obuild_linked_libraries="%obuild_snova_path%\%obuild_dir_bin%\snova.lib" 519 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_snova_path%\%obuild_dir_bin%\snvertex.lib" 520 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_snova_path%\%obuild_dir_bin%\sngeom.lib" 521 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_snova_path%\%obuild_dir_bin%\geomutils.lib" 522 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_bhep_path%\%obuild_dir_bin%\bhep.lib" 525 523 SET obuild_linked_libraries=%obuild_linked_libraries% -L${Geant4_home}/lib -lG4interfaces 526 524 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 530 528 cd "%obuild_pwd_snovis_0%" 531 529 SET obuild_pwd_snovis_0= 532 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_4 9530 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_46 533 531 SET obuild_linked_libraries=%obuild_linked_libraries% -L${Geant4_home}/lib -lG4readout -lG4run -lG4event -lG4tracking -lG4processes -lG4digits_hits -lG4track -lG4particles -lG4geometry -lG4graphics_reps -lG4materials -lG4intercoms -lG4global 534 :end_if_platform_4 9532 :end_if_platform_46 535 533 SET obuild_platform_result= 536 534 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 540 538 cd "%obuild_pwd_snovis_0%" 541 539 SET obuild_pwd_snovis_0= 542 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_ 50540 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_47 543 541 SET obuild_linked_libraries=%obuild_linked_libraries% -L${CLHEP_home}/lib -lCLHEP 544 :end_if_platform_ 50542 :end_if_platform_47 545 543 SET obuild_platform_result= 546 544 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_HDF5_path%\%obuild_dir_bin%\osc_HDF5.lib" -
snovis/trunk/obuild/DOS/build_app_snovis_session.bat
r134 r137 95 95 cd "%obuild_snovis_path%\%obuild_dir_bin%" 96 96 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 97 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 98 cd "%obuild_pwd_snovis_0%" 99 SET obuild_pwd_snovis_0= 100 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1 101 SET CLHEP_home=/usr/local/CLHEP/2.0.3.1 102 :end_if_platform_1 103 SET obuild_platform_result= 104 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 105 cd "%obuild_snovis_path%\%obuild_dir_bin%" 106 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 107 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 108 cd "%obuild_pwd_snovis_0%" 109 SET obuild_pwd_snovis_0= 110 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_3 111 SET Geant4_home=/usr/local/geant4/8.2 112 :end_if_platform_3 113 SET obuild_platform_result= 114 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 115 cd "%obuild_snovis_path%\%obuild_dir_bin%" 116 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 97 117 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 98 118 cd "%obuild_pwd_snovis_0%" 99 119 SET obuild_pwd_snovis_0= 100 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1 101 SET snova_platform=Darwin 102 :end_if_platform_1 103 SET obuild_platform_result= 104 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 105 cd "%obuild_snovis_path%\%obuild_dir_bin%" 106 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 107 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 108 cd "%obuild_pwd_snovis_0%" 109 SET obuild_pwd_snovis_0= 110 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_3 111 SET bhep_home=/Users/barrand/dev/exp/nemo/bhep/v1r4p2 112 :end_if_platform_3 113 SET obuild_platform_result= 114 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 115 cd "%obuild_snovis_path%\%obuild_dir_bin%" 116 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 117 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 120 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_4 121 SET obuild_cxx_command=c++ 122 :end_if_platform_4 123 SET obuild_platform_result= 124 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 125 cd "%obuild_snovis_path%\%obuild_dir_bin%" 126 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 127 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 118 128 cd "%obuild_pwd_snovis_0%" 119 129 SET obuild_pwd_snovis_0= 120 130 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_5 121 SET snova_home=/Users/barrand/dev/exp/nemo/snova/v2r0p0131 SET obuild_cxx_command=c++ 122 132 :end_if_platform_5 123 133 SET obuild_platform_result= … … 125 135 cd "%obuild_snovis_path%\%obuild_dir_bin%" 126 136 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 127 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 137 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j 138 cd "%obuild_pwd_snovis_0%" 139 SET obuild_pwd_snovis_0= 140 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_6 141 SET obuild_cxx_command=cxx 142 :end_if_platform_6 143 SET obuild_platform_result= 144 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 145 cd "%obuild_snovis_path%\%obuild_dir_bin%" 146 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 147 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 128 148 cd "%obuild_pwd_snovis_0%" 129 149 SET obuild_pwd_snovis_0= 130 150 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_7 131 SET CLHEP_home=/usr/local/CLHEP/2.0.3.1151 SET obuild_cxx_command=cl.exe 132 152 :end_if_platform_7 133 153 SET obuild_platform_result= 134 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 135 cd "%obuild_snovis_path%\%obuild_dir_bin%" 136 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 137 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 154 IF "%obuild_cxx_command%" == "" ECHO Variable obuild_cxx_command not defined. && GOTO obuild_return 155 156 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 157 cd "%obuild_snovis_path%\%obuild_dir_bin%" 158 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 159 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 160 cd "%obuild_pwd_snovis_0%" 161 SET obuild_pwd_snovis_0= 162 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_8 163 SET obuild_cxx_optimize=-O 164 :end_if_platform_8 165 SET obuild_platform_result= 166 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 167 cd "%obuild_snovis_path%\%obuild_dir_bin%" 168 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 169 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 138 170 cd "%obuild_pwd_snovis_0%" 139 171 SET obuild_pwd_snovis_0= 140 172 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_9 141 SET Geant4_home=/usr/local/geant4/8.2173 SET obuild_cxx_optimize=-O 142 174 :end_if_platform_9 143 175 SET obuild_platform_result= … … 145 177 cd "%obuild_snovis_path%\%obuild_dir_bin%" 146 178 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 179 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j 180 cd "%obuild_pwd_snovis_0%" 181 SET obuild_pwd_snovis_0= 182 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_10 183 SET obuild_cxx_optimize=-O 184 :end_if_platform_10 185 SET obuild_platform_result= 186 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 187 cd "%obuild_snovis_path%\%obuild_dir_bin%" 188 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 189 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 190 cd "%obuild_pwd_snovis_0%" 191 SET obuild_pwd_snovis_0= 192 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_11 193 SET obuild_cxx_optimize=/O2 194 :end_if_platform_11 195 SET obuild_platform_result= 196 197 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 198 cd "%obuild_snovis_path%\%obuild_dir_bin%" 199 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 147 200 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 148 201 cd "%obuild_pwd_snovis_0%" 149 202 SET obuild_pwd_snovis_0= 150 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1 0151 SET obuild_cxx_ command=c++152 :end_if_platform_1 0203 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_12 204 SET obuild_cxx_debug=-g 205 :end_if_platform_12 153 206 SET obuild_platform_result= 154 207 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 158 211 cd "%obuild_pwd_snovis_0%" 159 212 SET obuild_pwd_snovis_0= 160 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1 1161 SET obuild_cxx_ command=c++162 :end_if_platform_1 1213 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_13 214 SET obuild_cxx_debug=-g 215 :end_if_platform_13 163 216 SET obuild_platform_result= 164 217 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 168 221 cd "%obuild_pwd_snovis_0%" 169 222 SET obuild_pwd_snovis_0= 170 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1 2171 SET obuild_cxx_ command=cxx172 :end_if_platform_1 2223 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_14 224 SET obuild_cxx_debug=-g 225 :end_if_platform_14 173 226 SET obuild_platform_result= 174 227 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 178 231 cd "%obuild_pwd_snovis_0%" 179 232 SET obuild_pwd_snovis_0= 180 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_13 181 SET obuild_cxx_command=cl.exe 182 :end_if_platform_13 183 SET obuild_platform_result= 184 IF "%obuild_cxx_command%" == "" ECHO Variable obuild_cxx_command not defined. && GOTO obuild_return 185 186 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 187 cd "%obuild_snovis_path%\%obuild_dir_bin%" 188 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 189 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 190 cd "%obuild_pwd_snovis_0%" 191 SET obuild_pwd_snovis_0= 192 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_14 193 SET obuild_cxx_optimize=-O 194 :end_if_platform_14 195 SET obuild_platform_result= 233 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_15 234 SET obuild_cxx_debug=/ZI /Od 235 :end_if_platform_15 236 SET obuild_platform_result= 237 196 238 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 197 239 cd "%obuild_snovis_path%\%obuild_dir_bin%" … … 200 242 cd "%obuild_pwd_snovis_0%" 201 243 SET obuild_pwd_snovis_0= 202 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_15203 SET obuild_cxx_optimize=-O204 :end_if_platform_15205 SET obuild_platform_result=206 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d207 cd "%obuild_snovis_path%\%obuild_dir_bin%"208 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return209 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j210 cd "%obuild_pwd_snovis_0%"211 SET obuild_pwd_snovis_0=212 244 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_16 213 SET obuild_cxx_opti mize=-O245 SET obuild_cxx_options=-fPIC 214 246 :end_if_platform_16 215 247 SET obuild_platform_result= … … 221 253 SET obuild_pwd_snovis_0= 222 254 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_17 223 SET obuild_cxx_opti mize=/O2255 SET obuild_cxx_options=/nologo /DWIN32 /MD /GX /GR /W3 224 256 :end_if_platform_17 225 257 SET obuild_platform_result= 226 258 227 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 228 cd "%obuild_snovis_path%\%obuild_dir_bin%" 229 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 230 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 231 cd "%obuild_pwd_snovis_0%" 232 SET obuild_pwd_snovis_0= 233 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_18 234 SET obuild_cxx_debug=-g 235 :end_if_platform_18 236 SET obuild_platform_result= 237 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 238 cd "%obuild_snovis_path%\%obuild_dir_bin%" 239 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 240 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 241 cd "%obuild_pwd_snovis_0%" 242 SET obuild_pwd_snovis_0= 243 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_19 244 SET obuild_cxx_debug=-g 245 :end_if_platform_19 246 SET obuild_platform_result= 247 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 248 cd "%obuild_snovis_path%\%obuild_dir_bin%" 249 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 250 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j 251 cd "%obuild_pwd_snovis_0%" 252 SET obuild_pwd_snovis_0= 253 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_20 254 SET obuild_cxx_debug=-g 255 :end_if_platform_20 256 SET obuild_platform_result= 257 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 258 cd "%obuild_snovis_path%\%obuild_dir_bin%" 259 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 260 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 261 cd "%obuild_pwd_snovis_0%" 262 SET obuild_pwd_snovis_0= 263 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_21 264 SET obuild_cxx_debug=/ZI /Od 265 :end_if_platform_21 266 SET obuild_platform_result= 267 268 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 269 cd "%obuild_snovis_path%\%obuild_dir_bin%" 270 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 271 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 272 cd "%obuild_pwd_snovis_0%" 273 SET obuild_pwd_snovis_0= 274 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_22 275 SET obuild_cxx_options=-fPIC 276 :end_if_platform_22 277 SET obuild_platform_result= 278 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 279 cd "%obuild_snovis_path%\%obuild_dir_bin%" 280 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 281 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 282 cd "%obuild_pwd_snovis_0%" 283 SET obuild_pwd_snovis_0= 284 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_23 285 SET obuild_cxx_options=/nologo /DWIN32 /MD /GX /GR /W3 286 :end_if_platform_23 287 SET obuild_platform_result= 288 289 IF NOT %obuild_debug% == yes GOTO else_if_db_build_app_snovis_session_sh_24 259 IF NOT %obuild_debug% == yes GOTO else_if_db_build_app_snovis_session_sh_18 290 260 SET obuild_cxx_debug_local=%obuild_cxx_debug% 291 GOTO end_if_db_build_app_snovis_session_sh_ 24292 :else_if_db_build_app_snovis_session_sh_ 24261 GOTO end_if_db_build_app_snovis_session_sh_18 262 :else_if_db_build_app_snovis_session_sh_18 293 263 SET obuild_cxx_debug_local= 294 :end_if_db_build_app_snovis_session_sh_ 24295 296 IF NOT %obuild_optimize% == yes GOTO else_if_opt_build_app_snovis_session_sh_ 25264 :end_if_db_build_app_snovis_session_sh_18 265 266 IF NOT %obuild_optimize% == yes GOTO else_if_opt_build_app_snovis_session_sh_19 297 267 SET obuild_cxx_optimize_local=%obuild_cxx_optimize% 298 GOTO end_if_opt_build_app_snovis_session_sh_ 25299 :else_if_opt_build_app_snovis_session_sh_ 25268 GOTO end_if_opt_build_app_snovis_session_sh_19 269 :else_if_opt_build_app_snovis_session_sh_19 300 270 SET obuild_cxx_optimize_local= 301 :end_if_opt_build_app_snovis_session_sh_ 25271 :end_if_opt_build_app_snovis_session_sh_19 302 272 303 273 … … 310 280 cd "%obuild_snovis_path%\%obuild_dir_bin%" 311 281 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 282 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe snova v2r0p0`) DO SET obuild_snova_path=%%j 283 cd "%obuild_pwd_snovis_0%" 284 SET obuild_pwd_snovis_0= 285 IF NOT DEFINED obuild_snova_path ECHO Can't find snova package. && GOTO obuild_return 286 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 287 cd "%obuild_snovis_path%\%obuild_dir_bin%" 288 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 289 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe snova v2r0p0`) DO SET obuild_snova_path=%%j 290 cd "%obuild_pwd_snovis_0%" 291 SET obuild_pwd_snovis_0= 292 IF NOT DEFINED obuild_snova_path ECHO Can't find snova package. && GOTO obuild_return 293 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 294 cd "%obuild_snovis_path%\%obuild_dir_bin%" 295 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 296 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe snova v2r0p0`) DO SET obuild_snova_path=%%j 297 cd "%obuild_pwd_snovis_0%" 298 SET obuild_pwd_snovis_0= 299 IF NOT DEFINED obuild_snova_path ECHO Can't find snova package. && GOTO obuild_return 300 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 301 cd "%obuild_snovis_path%\%obuild_dir_bin%" 302 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 303 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe snova v2r0p0`) DO SET obuild_snova_path=%%j 304 cd "%obuild_pwd_snovis_0%" 305 SET obuild_pwd_snovis_0= 306 IF NOT DEFINED obuild_snova_path ECHO Can't find snova package. && GOTO obuild_return 307 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 308 cd "%obuild_snovis_path%\%obuild_dir_bin%" 309 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 310 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe bhep v1r4p2`) DO SET obuild_bhep_path=%%j 311 cd "%obuild_pwd_snovis_0%" 312 SET obuild_pwd_snovis_0= 313 IF NOT DEFINED obuild_bhep_path ECHO Can't find bhep package. && GOTO obuild_return 314 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 315 cd "%obuild_snovis_path%\%obuild_dir_bin%" 316 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 312 317 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe HDF5 v1r*`) DO SET obuild_HDF5_path=%%j 313 318 cd "%obuild_pwd_snovis_0%" … … 352 357 cd "%obuild_snovis_path%\%obuild_dir_bin%" 353 358 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 359 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe snova v2r0p0`) DO SET obuild_snova_path=%%j 360 cd "%obuild_pwd_snovis_0%" 361 SET obuild_pwd_snovis_0= 362 IF NOT DEFINED obuild_snova_path ECHO Can't find snova package. && GOTO obuild_return 363 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 364 cd "%obuild_snovis_path%\%obuild_dir_bin%" 365 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 366 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe snova v2r0p0`) DO SET obuild_snova_path=%%j 367 cd "%obuild_pwd_snovis_0%" 368 SET obuild_pwd_snovis_0= 369 IF NOT DEFINED obuild_snova_path ECHO Can't find snova package. && GOTO obuild_return 370 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 371 cd "%obuild_snovis_path%\%obuild_dir_bin%" 372 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 373 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe snova v2r0p0`) DO SET obuild_snova_path=%%j 374 cd "%obuild_pwd_snovis_0%" 375 SET obuild_pwd_snovis_0= 376 IF NOT DEFINED obuild_snova_path ECHO Can't find snova package. && GOTO obuild_return 377 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 378 cd "%obuild_snovis_path%\%obuild_dir_bin%" 379 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 380 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe snova v2r0p0`) DO SET obuild_snova_path=%%j 381 cd "%obuild_pwd_snovis_0%" 382 SET obuild_pwd_snovis_0= 383 IF NOT DEFINED obuild_snova_path ECHO Can't find snova package. && GOTO obuild_return 384 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 385 cd "%obuild_snovis_path%\%obuild_dir_bin%" 386 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 387 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe bhep v1r4p2`) DO SET obuild_bhep_path=%%j 388 cd "%obuild_pwd_snovis_0%" 389 SET obuild_pwd_snovis_0= 390 IF NOT DEFINED obuild_bhep_path ECHO Can't find bhep package. && GOTO obuild_return 391 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 392 cd "%obuild_snovis_path%\%obuild_dir_bin%" 393 IF NOT EXIST obuild_find.exe ECHO Program obuild_find.exe not found. && GOTO obuild_return 354 394 FOR /F "usebackq delims=;" %%j IN (`.\obuild_find.exe HDF5 v1r*`) DO SET obuild_HDF5_path=%%j 355 395 cd "%obuild_pwd_snovis_0%" … … 448 488 IF NOT DEFINED obuild_CoinGL_path ECHO Can't find CoinGL package. && GOTO obuild_return 449 489 490 SET obuild_cxx_includes=/I"%obuild_snova_path%" 491 SET obuild_cxx_includes=%obuild_cxx_includes% /I"%obuild_snova_path%\source\GeomUtils\include" 492 SET obuild_cxx_includes=%obuild_cxx_includes% /I"%obuild_snova_path%\source\SNvertex\include" 493 SET obuild_cxx_includes=%obuild_cxx_includes% /I"%obuild_snova_path%\source\SNgeom2\include" 494 SET obuild_cxx_includes=%obuild_cxx_includes% /I"%obuild_bhep_path%" 450 495 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 451 496 cd "%obuild_snovis_path%\%obuild_dir_bin%" … … 454 499 cd "%obuild_pwd_snovis_0%" 455 500 SET obuild_pwd_snovis_0= 501 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_25 502 SET obuild_cxx_includes=%obuild_cxx_includes% -I${CLHEP_home}/include 503 :end_if_platform_25 504 SET obuild_platform_result= 505 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 506 cd "%obuild_snovis_path%\%obuild_dir_bin%" 507 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 508 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 509 cd "%obuild_pwd_snovis_0%" 510 SET obuild_pwd_snovis_0= 456 511 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_26 457 SET obuild_cxx_includes= -I${snova_home}512 SET obuild_cxx_includes=%obuild_cxx_includes% -I${Geant4_home}/include 458 513 :end_if_platform_26 459 SET obuild_platform_result=460 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d461 cd "%obuild_snovis_path%\%obuild_dir_bin%"462 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return463 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j464 cd "%obuild_pwd_snovis_0%"465 SET obuild_pwd_snovis_0=466 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_27467 SET obuild_cxx_includes=%obuild_cxx_includes% -I${snova_home}/source/GeomUtils/include468 :end_if_platform_27469 SET obuild_platform_result=470 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d471 cd "%obuild_snovis_path%\%obuild_dir_bin%"472 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return473 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j474 cd "%obuild_pwd_snovis_0%"475 SET obuild_pwd_snovis_0=476 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_28477 SET obuild_cxx_includes=%obuild_cxx_includes% -I${snova_home}/source/SNgeom2/include478 :end_if_platform_28479 SET obuild_platform_result=480 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d481 cd "%obuild_snovis_path%\%obuild_dir_bin%"482 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return483 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j484 cd "%obuild_pwd_snovis_0%"485 SET obuild_pwd_snovis_0=486 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_29487 SET obuild_cxx_includes=%obuild_cxx_includes% -I${snova_home}/source/SNvertex/include488 :end_if_platform_29489 SET obuild_platform_result=490 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d491 cd "%obuild_snovis_path%\%obuild_dir_bin%"492 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return493 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j494 cd "%obuild_pwd_snovis_0%"495 SET obuild_pwd_snovis_0=496 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_30497 SET obuild_cxx_includes=%obuild_cxx_includes% -I${bhep_home}498 :end_if_platform_30499 SET obuild_platform_result=500 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d501 cd "%obuild_snovis_path%\%obuild_dir_bin%"502 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return503 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j504 cd "%obuild_pwd_snovis_0%"505 SET obuild_pwd_snovis_0=506 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_31507 SET obuild_cxx_includes=%obuild_cxx_includes% -I${CLHEP_home}/include508 :end_if_platform_31509 SET obuild_platform_result=510 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d511 cd "%obuild_snovis_path%\%obuild_dir_bin%"512 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return513 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j514 cd "%obuild_pwd_snovis_0%"515 SET obuild_pwd_snovis_0=516 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_32517 SET obuild_cxx_includes=%obuild_cxx_includes% -I${Geant4_home}/include518 :end_if_platform_32519 514 SET obuild_platform_result= 520 515 SET obuild_cxx_includes=%obuild_cxx_includes% /I"%obuild_HDF5_path%\include" … … 542 537 cd "%obuild_pwd_snovis_0%" 543 538 SET obuild_pwd_snovis_0= 539 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_33 540 SET obuild_cxx_linker_command=c++ 541 :end_if_platform_33 542 SET obuild_platform_result= 543 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 544 cd "%obuild_snovis_path%\%obuild_dir_bin%" 545 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 546 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 547 cd "%obuild_pwd_snovis_0%" 548 SET obuild_pwd_snovis_0= 549 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_34 550 SET obuild_cxx_linker_command=c++ 551 :end_if_platform_34 552 SET obuild_platform_result= 553 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 554 cd "%obuild_snovis_path%\%obuild_dir_bin%" 555 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 556 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j 557 cd "%obuild_pwd_snovis_0%" 558 SET obuild_pwd_snovis_0= 559 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_35 560 SET obuild_cxx_linker_command=cxx 561 :end_if_platform_35 562 SET obuild_platform_result= 563 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 564 cd "%obuild_snovis_path%\%obuild_dir_bin%" 565 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 566 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 567 cd "%obuild_pwd_snovis_0%" 568 SET obuild_pwd_snovis_0= 569 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_36 570 SET obuild_cxx_linker_command=link.exe 571 :end_if_platform_36 572 SET obuild_platform_result= 573 IF "%obuild_cxx_linker_command%" == "" ECHO Variable obuild_cxx_linker_command not defined. && GOTO obuild_return 574 575 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 576 cd "%obuild_snovis_path%\%obuild_dir_bin%" 577 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 578 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 579 cd "%obuild_pwd_snovis_0%" 580 SET obuild_pwd_snovis_0= 581 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_37 582 SET obuild_cxx_linker_debug=-g 583 :end_if_platform_37 584 SET obuild_platform_result= 585 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 586 cd "%obuild_snovis_path%\%obuild_dir_bin%" 587 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 588 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 589 cd "%obuild_pwd_snovis_0%" 590 SET obuild_pwd_snovis_0= 591 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_38 592 SET obuild_cxx_linker_debug=-g 593 :end_if_platform_38 594 SET obuild_platform_result= 595 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 596 cd "%obuild_snovis_path%\%obuild_dir_bin%" 597 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 598 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j 599 cd "%obuild_pwd_snovis_0%" 600 SET obuild_pwd_snovis_0= 544 601 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_39 545 SET obuild_cxx_linker_ command=c++602 SET obuild_cxx_linker_debug=-g 546 603 :end_if_platform_39 547 604 SET obuild_platform_result= … … 549 606 cd "%obuild_snovis_path%\%obuild_dir_bin%" 550 607 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 551 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j608 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 552 609 cd "%obuild_pwd_snovis_0%" 553 610 SET obuild_pwd_snovis_0= 554 611 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_40 555 SET obuild_cxx_linker_ command=c++612 SET obuild_cxx_linker_debug=/DEBUG 556 613 :end_if_platform_40 557 614 SET obuild_platform_result= 558 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 559 cd "%obuild_snovis_path%\%obuild_dir_bin%" 560 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 561 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j 615 616 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 617 cd "%obuild_snovis_path%\%obuild_dir_bin%" 618 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 619 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 562 620 cd "%obuild_pwd_snovis_0%" 563 621 SET obuild_pwd_snovis_0= 564 622 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_41 565 SET obuild_cxx_linker_ command=cxx623 SET obuild_cxx_linker_options=/nologo 566 624 :end_if_platform_41 567 625 SET obuild_platform_result= 568 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 569 cd "%obuild_snovis_path%\%obuild_dir_bin%" 570 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 571 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 572 cd "%obuild_pwd_snovis_0%" 573 SET obuild_pwd_snovis_0= 574 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_42 575 SET obuild_cxx_linker_command=link.exe 576 :end_if_platform_42 577 SET obuild_platform_result= 578 IF "%obuild_cxx_linker_command%" == "" ECHO Variable obuild_cxx_linker_command not defined. && GOTO obuild_return 579 580 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 581 cd "%obuild_snovis_path%\%obuild_dir_bin%" 582 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 583 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 584 cd "%obuild_pwd_snovis_0%" 585 SET obuild_pwd_snovis_0= 586 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_43 587 SET obuild_cxx_linker_debug=-g 588 :end_if_platform_43 589 SET obuild_platform_result= 590 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 591 cd "%obuild_snovis_path%\%obuild_dir_bin%" 592 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 593 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 594 cd "%obuild_pwd_snovis_0%" 595 SET obuild_pwd_snovis_0= 596 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_44 597 SET obuild_cxx_linker_debug=-g 598 :end_if_platform_44 599 SET obuild_platform_result= 600 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 601 cd "%obuild_snovis_path%\%obuild_dir_bin%" 602 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 603 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j 604 cd "%obuild_pwd_snovis_0%" 605 SET obuild_pwd_snovis_0= 606 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_45 607 SET obuild_cxx_linker_debug=-g 608 :end_if_platform_45 609 SET obuild_platform_result= 610 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 611 cd "%obuild_snovis_path%\%obuild_dir_bin%" 612 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 613 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 614 cd "%obuild_pwd_snovis_0%" 615 SET obuild_pwd_snovis_0= 616 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_46 617 SET obuild_cxx_linker_debug=/DEBUG 618 :end_if_platform_46 619 SET obuild_platform_result= 620 621 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 622 cd "%obuild_snovis_path%\%obuild_dir_bin%" 623 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 624 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 625 cd "%obuild_pwd_snovis_0%" 626 SET obuild_pwd_snovis_0= 627 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_47 628 SET obuild_cxx_linker_options=/nologo 629 :end_if_platform_47 630 SET obuild_platform_result= 631 632 IF NOT %obuild_debug% == yes GOTO else_if_db_build_app_snovis_session_sh_48 626 627 IF NOT %obuild_debug% == yes GOTO else_if_db_build_app_snovis_session_sh_42 633 628 SET obuild_cxx_linker_debug_local=%obuild_cxx_linker_debug% 634 GOTO end_if_db_build_app_snovis_session_sh_4 8635 :else_if_db_build_app_snovis_session_sh_4 8629 GOTO end_if_db_build_app_snovis_session_sh_42 630 :else_if_db_build_app_snovis_session_sh_42 636 631 SET obuild_cxx_linker_debug_local= 637 :end_if_db_build_app_snovis_session_sh_4 8638 639 IF NOT %obuild_optimize% == yes GOTO else_if_opt_build_app_snovis_session_sh_4 9632 :end_if_db_build_app_snovis_session_sh_42 633 634 IF NOT %obuild_optimize% == yes GOTO else_if_opt_build_app_snovis_session_sh_43 640 635 SET obuild_cxx_linker_optimize_local=%obuild_cxx_linker_optimize% 641 GOTO end_if_opt_build_app_snovis_session_sh_4 9642 :else_if_opt_build_app_snovis_session_sh_4 9636 GOTO end_if_opt_build_app_snovis_session_sh_43 637 :else_if_opt_build_app_snovis_session_sh_43 643 638 SET obuild_cxx_linker_optimize_local= 644 :end_if_opt_build_app_snovis_session_sh_4 9639 :end_if_opt_build_app_snovis_session_sh_43 645 640 646 641 SET obuild_linked_libraries="%obuild_OnX_path%\%obuild_dir_bin%\OnXCore.lib" 647 SET obuild_linked_libraries=%obuild_linked_libraries% -L${snova_home}/Darwin -lsnova -lsnvertex -lsngeom -lgeomutils 648 SET obuild_linked_libraries=%obuild_linked_libraries% -L${bhep_home}/Darwin -lbhep 642 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_snova_path%\%obuild_dir_bin%\snova.lib" 643 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_snova_path%\%obuild_dir_bin%\snvertex.lib" 644 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_snova_path%\%obuild_dir_bin%\sngeom.lib" 645 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_snova_path%\%obuild_dir_bin%\geomutils.lib" 646 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_bhep_path%\%obuild_dir_bin%\bhep.lib" 649 647 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_HDF5_path%\%obuild_dir_bin%\osc_HDF5.lib" 650 648 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_G4Lab_path%\%obuild_dir_bin%\G4LabUIOnX.lib" 651 649 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_G4Lab_path%\%obuild_dir_bin%\G4LabCore.lib" 650 SET obuild_linked_libraries=%obuild_linked_libraries% -L${Geant4_home}/lib -lG4interfaces 652 651 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 653 652 cd "%obuild_snovis_path%\%obuild_dir_bin%" … … 656 655 cd "%obuild_pwd_snovis_0%" 657 656 SET obuild_pwd_snovis_0= 658 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_5 6657 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_54 659 658 SET obuild_linked_libraries=%obuild_linked_libraries% -L${Geant4_home}/lib -lG4readout -lG4run -lG4event -lG4tracking -lG4processes -lG4digits_hits -lG4track -lG4particles -lG4geometry -lG4graphics_reps -lG4materials -lG4intercoms -lG4global 660 :end_if_platform_5 6659 :end_if_platform_54 661 660 SET obuild_platform_result= 662 661 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 666 665 cd "%obuild_pwd_snovis_0%" 667 666 SET obuild_pwd_snovis_0= 668 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_5 7667 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_55 669 668 SET obuild_linked_libraries=%obuild_linked_libraries% -L${CLHEP_home}/lib -lCLHEP 670 :end_if_platform_5 7669 :end_if_platform_55 671 670 SET obuild_platform_result= 672 671 SET obuild_linked_libraries=%obuild_linked_libraries% "%obuild_Lib_path%\%obuild_dir_bin%\LibXML.lib" … … 687 686 cd "%obuild_pwd_snovis_0%" 688 687 SET obuild_pwd_snovis_0= 688 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_67 689 SET obuild_linked_libraries=%obuild_linked_libraries% -framework OpenGL -framework AGL 690 :end_if_platform_67 691 SET obuild_platform_result= 692 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 693 cd "%obuild_snovis_path%\%obuild_dir_bin%" 694 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 695 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 696 cd "%obuild_pwd_snovis_0%" 697 SET obuild_pwd_snovis_0= 698 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_68 699 SET obuild_linked_libraries=%obuild_linked_libraries% -framework ApplicationServices 700 :end_if_platform_68 701 SET obuild_platform_result= 702 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 703 cd "%obuild_snovis_path%\%obuild_dir_bin%" 704 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 705 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 706 cd "%obuild_pwd_snovis_0%" 707 SET obuild_pwd_snovis_0= 689 708 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_69 690 SET obuild_linked_libraries=%obuild_linked_libraries% - framework OpenGL -framework AGL709 SET obuild_linked_libraries=%obuild_linked_libraries% -L/usr/lib -lGLU -lGL -lm 691 710 :end_if_platform_69 692 711 SET obuild_platform_result= … … 694 713 cd "%obuild_snovis_path%\%obuild_dir_bin%" 695 714 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 696 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j715 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 697 716 cd "%obuild_pwd_snovis_0%" 698 717 SET obuild_pwd_snovis_0= 699 718 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_70 700 SET obuild_linked_libraries=%obuild_linked_libraries% -framework ApplicationServices719 SET obuild_linked_libraries=%obuild_linked_libraries% glu32.lib opengl32.lib gdi32.lib user32.lib 701 720 :end_if_platform_70 702 721 SET obuild_platform_result= … … 704 723 cd "%obuild_snovis_path%\%obuild_dir_bin%" 705 724 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 706 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j725 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j 707 726 cd "%obuild_pwd_snovis_0%" 708 727 SET obuild_pwd_snovis_0= 709 728 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_71 710 SET obuild_linked_libraries=%obuild_linked_libraries% -L /usr/lib -lGLU -lGL -lm729 SET obuild_linked_libraries=%obuild_linked_libraries% -L${OBUILD_OPENGL_HOME}/lib -lGLU -lGL -lm 711 730 :end_if_platform_71 712 731 SET obuild_platform_result= … … 714 733 cd "%obuild_snovis_path%\%obuild_dir_bin%" 715 734 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 716 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j735 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 717 736 cd "%obuild_pwd_snovis_0%" 718 737 SET obuild_pwd_snovis_0= 719 738 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_72 720 SET obuild_linked_libraries=%obuild_linked_libraries% glu32.lib opengl32.lib gdi32.lib user32.lib739 SET obuild_linked_libraries=%obuild_linked_libraries% -lpthread 721 740 :end_if_platform_72 722 SET obuild_platform_result=723 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d724 cd "%obuild_snovis_path%\%obuild_dir_bin%"725 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return726 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j727 cd "%obuild_pwd_snovis_0%"728 SET obuild_pwd_snovis_0=729 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_73730 SET obuild_linked_libraries=%obuild_linked_libraries% -L${OBUILD_OPENGL_HOME}/lib -lGLU -lGL -lm731 :end_if_platform_73732 SET obuild_platform_result=733 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d734 cd "%obuild_snovis_path%\%obuild_dir_bin%"735 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return736 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j737 cd "%obuild_pwd_snovis_0%"738 SET obuild_pwd_snovis_0=739 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_74740 SET obuild_linked_libraries=%obuild_linked_libraries% -lpthread741 :end_if_platform_74742 741 SET obuild_platform_result= 743 742 -
snovis/trunk/obuild/DOS/build_dll_snovis.bat
r134 r137 95 95 cd "%obuild_snovis_path%\%obuild_dir_bin%" 96 96 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 97 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 98 cd "%obuild_pwd_snovis_0%" 99 SET obuild_pwd_snovis_0= 100 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1 101 SET CLHEP_home=/usr/local/CLHEP/2.0.3.1 102 :end_if_platform_1 103 SET obuild_platform_result= 104 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 105 cd "%obuild_snovis_path%\%obuild_dir_bin%" 106 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 107 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 108 cd "%obuild_pwd_snovis_0%" 109 SET obuild_pwd_snovis_0= 110 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_3 111 SET Geant4_home=/usr/local/geant4/8.2 112 :end_if_platform_3 113 SET obuild_platform_result= 114 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 115 cd "%obuild_snovis_path%\%obuild_dir_bin%" 116 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 97 117 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 98 118 cd "%obuild_pwd_snovis_0%" 99 119 SET obuild_pwd_snovis_0= 100 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1 101 SET snova_platform=Darwin 102 :end_if_platform_1 103 SET obuild_platform_result= 104 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 105 cd "%obuild_snovis_path%\%obuild_dir_bin%" 106 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 107 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 108 cd "%obuild_pwd_snovis_0%" 109 SET obuild_pwd_snovis_0= 110 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_3 111 SET bhep_home=/Users/barrand/dev/exp/nemo/bhep/v1r4p2 112 :end_if_platform_3 113 SET obuild_platform_result= 114 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 115 cd "%obuild_snovis_path%\%obuild_dir_bin%" 116 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 117 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 120 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_4 121 SET obuild_cxx_command=c++ 122 :end_if_platform_4 123 SET obuild_platform_result= 124 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 125 cd "%obuild_snovis_path%\%obuild_dir_bin%" 126 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 127 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 118 128 cd "%obuild_pwd_snovis_0%" 119 129 SET obuild_pwd_snovis_0= 120 130 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_5 121 SET snova_home=/Users/barrand/dev/exp/nemo/snova/v2r0p0131 SET obuild_cxx_command=c++ 122 132 :end_if_platform_5 123 133 SET obuild_platform_result= … … 125 135 cd "%obuild_snovis_path%\%obuild_dir_bin%" 126 136 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 127 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 137 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j 138 cd "%obuild_pwd_snovis_0%" 139 SET obuild_pwd_snovis_0= 140 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_6 141 SET obuild_cxx_command=cxx 142 :end_if_platform_6 143 SET obuild_platform_result= 144 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 145 cd "%obuild_snovis_path%\%obuild_dir_bin%" 146 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 147 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 128 148 cd "%obuild_pwd_snovis_0%" 129 149 SET obuild_pwd_snovis_0= 130 150 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_7 131 SET CLHEP_home=/usr/local/CLHEP/2.0.3.1151 SET obuild_cxx_command=cl.exe 132 152 :end_if_platform_7 133 153 SET obuild_platform_result= 134 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 135 cd "%obuild_snovis_path%\%obuild_dir_bin%" 136 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 137 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 154 IF "%obuild_cxx_command%" == "" ECHO Variable obuild_cxx_command not defined. && GOTO obuild_return 155 156 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 157 cd "%obuild_snovis_path%\%obuild_dir_bin%" 158 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 159 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 160 cd "%obuild_pwd_snovis_0%" 161 SET obuild_pwd_snovis_0= 162 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_8 163 SET obuild_cxx_optimize=-O 164 :end_if_platform_8 165 SET obuild_platform_result= 166 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 167 cd "%obuild_snovis_path%\%obuild_dir_bin%" 168 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 169 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 138 170 cd "%obuild_pwd_snovis_0%" 139 171 SET obuild_pwd_snovis_0= 140 172 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_9 141 SET Geant4_home=/usr/local/geant4/8.2173 SET obuild_cxx_optimize=-O 142 174 :end_if_platform_9 143 175 SET obuild_platform_result= … … 145 177 cd "%obuild_snovis_path%\%obuild_dir_bin%" 146 178 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 179 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j 180 cd "%obuild_pwd_snovis_0%" 181 SET obuild_pwd_snovis_0= 182 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_10 183 SET obuild_cxx_optimize=-O 184 :end_if_platform_10 185 SET obuild_platform_result= 186 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 187 cd "%obuild_snovis_path%\%obuild_dir_bin%" 188 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 189 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 190 cd "%obuild_pwd_snovis_0%" 191 SET obuild_pwd_snovis_0= 192 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_11 193 SET obuild_cxx_optimize=/O2 194 :end_if_platform_11 195 SET obuild_platform_result= 196 197 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 198 cd "%obuild_snovis_path%\%obuild_dir_bin%" 199 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 147 200 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 148 201 cd "%obuild_pwd_snovis_0%" 149 202 SET obuild_pwd_snovis_0= 150 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1 0151 SET obuild_cxx_ command=c++152 :end_if_platform_1 0203 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_12 204 SET obuild_cxx_debug=-g 205 :end_if_platform_12 153 206 SET obuild_platform_result= 154 207 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 158 211 cd "%obuild_pwd_snovis_0%" 159 212 SET obuild_pwd_snovis_0= 160 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1 1161 SET obuild_cxx_ command=c++162 :end_if_platform_1 1213 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_13 214 SET obuild_cxx_debug=-g 215 :end_if_platform_13 163 216 SET obuild_platform_result= 164 217 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 168 221 cd "%obuild_pwd_snovis_0%" 169 222 SET obuild_pwd_snovis_0= 170 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1 2171 SET obuild_cxx_ command=cxx172 :end_if_platform_1 2223 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_14 224 SET obuild_cxx_debug=-g 225 :end_if_platform_14 173 226 SET obuild_platform_result= 174 227 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 178 231 cd "%obuild_pwd_snovis_0%" 179 232 SET obuild_pwd_snovis_0= 180 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_13 181 SET obuild_cxx_command=cl.exe 182 :end_if_platform_13 183 SET obuild_platform_result= 184 IF "%obuild_cxx_command%" == "" ECHO Variable obuild_cxx_command not defined. && GOTO obuild_return 185 186 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 187 cd "%obuild_snovis_path%\%obuild_dir_bin%" 188 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 189 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 190 cd "%obuild_pwd_snovis_0%" 191 SET obuild_pwd_snovis_0= 192 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_14 193 SET obuild_cxx_optimize=-O 194 :end_if_platform_14 195 SET obuild_platform_result= 233 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_15 234 SET obuild_cxx_debug=/ZI /Od 235 :end_if_platform_15 236 SET obuild_platform_result= 237 196 238 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 197 239 cd "%obuild_snovis_path%\%obuild_dir_bin%" … … 200 242 cd "%obuild_pwd_snovis_0%" 201 243 SET obuild_pwd_snovis_0= 202 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_15203 SET obuild_cxx_optimize=-O204 :end_if_platform_15205 SET obuild_platform_result=206 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d207 cd "%obuild_snovis_path%\%obuild_dir_bin%"208 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return209 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j210 cd "%obuild_pwd_snovis_0%"211 SET obuild_pwd_snovis_0=212 244 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_16 213 SET obuild_cxx_opti mize=-O245 SET obuild_cxx_options=-fPIC 214 246 :end_if_platform_16 215 247 SET obuild_platform_result= … … 221 253 SET obuild_pwd_snovis_0= 222 254 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_17 223 SET obuild_cxx_opti mize=/O2255 SET obuild_cxx_options=/nologo /DWIN32 /MD /GX /GR /W3 224 256 :end_if_platform_17 225 257 SET obuild_platform_result= 226 258 227 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 228 cd "%obuild_snovis_path%\%obuild_dir_bin%" 229 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 230 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j 231 cd "%obuild_pwd_snovis_0%" 232 SET obuild_pwd_snovis_0= 233 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_18 234 SET obuild_cxx_debug=-g 235 :end_if_platform_18 236 SET obuild_platform_result= 237 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 238 cd "%obuild_snovis_path%\%obuild_dir_bin%" 239 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 240 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 241 cd "%obuild_pwd_snovis_0%" 242 SET obuild_pwd_snovis_0= 243 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_19 244 SET obuild_cxx_debug=-g 245 :end_if_platform_19 246 SET obuild_platform_result= 247 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 248 cd "%obuild_snovis_path%\%obuild_dir_bin%" 249 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 250 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% OSF1`) DO SET obuild_platform_result=%%j 251 cd "%obuild_pwd_snovis_0%" 252 SET obuild_pwd_snovis_0= 253 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_20 254 SET obuild_cxx_debug=-g 255 :end_if_platform_20 256 SET obuild_platform_result= 257 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 258 cd "%obuild_snovis_path%\%obuild_dir_bin%" 259 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 260 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 261 cd "%obuild_pwd_snovis_0%" 262 SET obuild_pwd_snovis_0= 263 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_21 264 SET obuild_cxx_debug=/ZI /Od 265 :end_if_platform_21 266 SET obuild_platform_result= 267 268 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 269 cd "%obuild_snovis_path%\%obuild_dir_bin%" 270 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 271 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Linux`) DO SET obuild_platform_result=%%j 272 cd "%obuild_pwd_snovis_0%" 273 SET obuild_pwd_snovis_0= 274 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_22 275 SET obuild_cxx_options=-fPIC 276 :end_if_platform_22 277 SET obuild_platform_result= 278 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d 279 cd "%obuild_snovis_path%\%obuild_dir_bin%" 280 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 281 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Windows_NT`) DO SET obuild_platform_result=%%j 282 cd "%obuild_pwd_snovis_0%" 283 SET obuild_pwd_snovis_0= 284 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_23 285 SET obuild_cxx_options=/nologo /DWIN32 /MD /GX /GR /W3 286 :end_if_platform_23 287 SET obuild_platform_result= 288 289 IF NOT %obuild_debug% == yes GOTO else_if_db_build_dll_snovis_sh_24 259 IF NOT %obuild_debug% == yes GOTO else_if_db_build_dll_snovis_sh_18 290 260 SET obuild_cxx_debug_local=%obuild_cxx_debug% 291 GOTO end_if_db_build_dll_snovis_sh_ 24292 :else_if_db_build_dll_snovis_sh_ 24261 GOTO end_if_db_build_dll_snovis_sh_18 262 :else_if_db_build_dll_snovis_sh_18 293 263 SET obuild_cxx_debug_local= 294 :end_if_db_build_dll_snovis_sh_ 24295 296 IF NOT %obuild_optimize% == yes GOTO else_if_opt_build_dll_snovis_sh_ 25264 :end_if_db_build_dll_snovis_sh_18 265 266 IF NOT %obuild_optimize% == yes GOTO else_if_opt_build_dll_snovis_sh_19 297 267 SET obuild_cxx_optimize_local=%obuild_cxx_optimize% 298 GOTO end_if_opt_build_dll_snovis_sh_ 25299 :else_if_opt_build_dll_snovis_sh_ 25268 GOTO end_if_opt_build_dll_snovis_sh_19 269 :else_if_opt_build_dll_snovis_sh_19 300 270 SET obuild_cxx_optimize_local= 301 :end_if_opt_build_dll_snovis_sh_ 25271 :end_if_opt_build_dll_snovis_sh_19 302 272 303 273 … … 456 426 cd "%obuild_pwd_snovis_0%" 457 427 SET obuild_pwd_snovis_0= 458 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_ 35428 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_29 459 429 SET obuild_cxx_includes=%obuild_cxx_includes% -I/System/Library/Frameworks/OpenGL.framework/Headers 460 :end_if_platform_ 35430 :end_if_platform_29 461 431 SET obuild_platform_result= 462 432 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 466 436 cd "%obuild_pwd_snovis_0%" 467 437 SET obuild_pwd_snovis_0= 468 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_3 6438 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_30 469 439 SET obuild_cxx_includes=%obuild_cxx_includes% -I${OBUILD_OPENGL_HOME}/include 470 :end_if_platform_3 6440 :end_if_platform_30 471 441 SET obuild_platform_result= 472 442 … … 512 482 cd "%obuild_pwd_snovis_0%" 513 483 SET obuild_pwd_snovis_0= 514 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_ 51484 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_45 515 485 SET obuild_linked_libraries=%obuild_linked_libraries% -framework OpenGL -framework AGL 516 :end_if_platform_ 51486 :end_if_platform_45 517 487 SET obuild_platform_result= 518 488 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 522 492 cd "%obuild_pwd_snovis_0%" 523 493 SET obuild_pwd_snovis_0= 524 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_ 52494 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_46 525 495 SET obuild_linked_libraries=%obuild_linked_libraries% -framework ApplicationServices 526 :end_if_platform_ 52496 :end_if_platform_46 527 497 SET obuild_platform_result= 528 498 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 532 502 cd "%obuild_pwd_snovis_0%" 533 503 SET obuild_pwd_snovis_0= 534 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_ 53504 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_47 535 505 SET obuild_linked_libraries=%obuild_linked_libraries% -L/usr/lib -lGLU -lGL -lm 536 :end_if_platform_ 53506 :end_if_platform_47 537 507 SET obuild_platform_result= 538 508 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 542 512 cd "%obuild_pwd_snovis_0%" 543 513 SET obuild_pwd_snovis_0= 544 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_ 54514 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_48 545 515 SET obuild_linked_libraries=%obuild_linked_libraries% glu32.lib opengl32.lib gdi32.lib user32.lib 546 :end_if_platform_ 54516 :end_if_platform_48 547 517 SET obuild_platform_result= 548 518 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 552 522 cd "%obuild_pwd_snovis_0%" 553 523 SET obuild_pwd_snovis_0= 554 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_ 55524 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_49 555 525 SET obuild_linked_libraries=%obuild_linked_libraries% -L${OBUILD_OPENGL_HOME}/lib -lGLU -lGL -lm 556 :end_if_platform_ 55526 :end_if_platform_49 557 527 SET obuild_platform_result= 558 528 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d … … 562 532 cd "%obuild_pwd_snovis_0%" 563 533 SET obuild_pwd_snovis_0= 564 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_5 6534 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_50 565 535 SET obuild_linked_libraries=%obuild_linked_libraries% -lpthread 566 :end_if_platform_5 6536 :end_if_platform_50 567 537 SET obuild_platform_result= 568 538 -
snovis/trunk/obuild/setup.bat
r134 r137 51 51 cd "%obuild_snovis_path%\%obuild_dir_bin%" 52 52 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return 53 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% Darwin`) DO SET obuild_platform_result=%%j53 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j 54 54 cd "%obuild_pwd_snovis_0%" 55 55 SET obuild_pwd_snovis_0= 56 56 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_1 57 SET snova_platform=Darwin57 SET CLHEP_home=/usr/local/CLHEP/2.0.3.1 58 58 :end_if_platform_1 59 59 SET obuild_platform_result= … … 65 65 SET obuild_pwd_snovis_0= 66 66 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_3 67 SET bhep_home=/Users/barrand/dev/exp/nemo/bhep/v1r4p267 SET Geant4_home=/usr/local/geant4/8.2 68 68 :end_if_platform_3 69 SET obuild_platform_result=70 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d71 cd "%obuild_snovis_path%\%obuild_dir_bin%"72 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return73 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j74 cd "%obuild_pwd_snovis_0%"75 SET obuild_pwd_snovis_0=76 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_577 SET snova_home=/Users/barrand/dev/exp/nemo/snova/v2r0p078 :end_if_platform_579 SET obuild_platform_result=80 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d81 cd "%obuild_snovis_path%\%obuild_dir_bin%"82 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return83 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j84 cd "%obuild_pwd_snovis_0%"85 SET obuild_pwd_snovis_0=86 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_787 SET CLHEP_home=/usr/local/CLHEP/2.0.3.188 :end_if_platform_789 SET obuild_platform_result=90 FOR /F "usebackq delims=;" %%d IN (`cd`) DO SET obuild_pwd_snovis_0=%%d91 cd "%obuild_snovis_path%\%obuild_dir_bin%"92 IF NOT EXIST .\obuild_platform.exe ECHO Program obuild_platform.exe not found. && GOTO obuild_return93 FOR /F "usebackq" %%j IN (`.\obuild_platform.exe %obuild_platform% UNIX`) DO SET obuild_platform_result=%%j94 cd "%obuild_pwd_snovis_0%"95 SET obuild_pwd_snovis_0=96 IF NOT %obuild_platform_result% == yes GOTO end_if_platform_997 SET Geant4_home=/usr/local/geant4/8.298 :end_if_platform_999 69 SET obuild_platform_result= 100 70 IF NOT EXIST "%obuild_snovis_path%\%obuild_dir_bin%" MKDIR "%obuild_snovis_path%\%obuild_dir_bin%" … … 134 104 SET NeutronHPCrossSections=%Geant4_home%\data\G4NDL3.10 135 105 136 IF DEFINED PATH GOTO else_if_path_snovis_ 15106 IF DEFINED PATH GOTO else_if_path_snovis_9 137 107 SET PATH=%obuild_snovis_path%\%obuild_dir_bin% 138 GOTO end_if_path_snovis_ 15139 :else_if_path_snovis_ 15108 GOTO end_if_path_snovis_9 109 :else_if_path_snovis_9 140 110 SET PATH=%PATH%;%obuild_snovis_path%\%obuild_dir_bin% 141 :end_if_path_snovis_ 15111 :end_if_path_snovis_9 142 112 143 113 :obuild_return -
snovis/trunk/obuild/setup.csh
r134 r137 127 127 exit 128 128 endif 129 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin`130 if ( ${obuild_platform_result} == yes ) then131 set snova_platform="Darwin"132 endif133 unset obuild_platform_result134 if ( "${obuild_platform_exe}" == "" ) then135 echo "Variable obuild_platform_exe not defined."136 exit137 endif138 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX`139 if ( ${obuild_platform_result} == yes ) then140 set bhep_home="/Users/barrand/dev/exp/nemo/bhep/v1r4p2"141 endif142 unset obuild_platform_result143 if ( "${obuild_platform_exe}" == "" ) then144 echo "Variable obuild_platform_exe not defined."145 exit146 endif147 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX`148 if ( ${obuild_platform_result} == yes ) then149 set snova_home="/Users/barrand/dev/exp/nemo/snova/v2r0p0"150 endif151 unset obuild_platform_result152 if ( "${obuild_platform_exe}" == "" ) then153 echo "Variable obuild_platform_exe not defined."154 exit155 endif156 129 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} UNIX` 157 130 if ( ${obuild_platform_result} == yes ) then … … 223 196 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin` 224 197 if ( ${obuild_platform_result} == yes ) then 225 if ( "${obuild_platform_exe}" == "" ) then226 echo "Variable obuild_platform_exe not defined."227 exit228 endif229 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin`230 if ( ${obuild_platform_result} == yes ) then231 if ( $?DYLD_LIBRARY_PATH ) then232 setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${bhep_home}/Darwin"233 else234 setenv DYLD_LIBRARY_PATH "${bhep_home}/Darwin"235 endif236 endif237 unset obuild_platform_result238 else239 if ( "${obuild_platform_exe}" == "" ) then240 echo "Variable obuild_platform_exe not defined."241 exit242 endif243 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin`244 if ( ${obuild_platform_result} == yes ) then245 if ( $?LD_LIBRARY_PATH ) then246 setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${bhep_home}/Darwin"247 else248 setenv LD_LIBRARY_PATH "${bhep_home}/Darwin"249 endif250 endif251 unset obuild_platform_result252 endif253 unset obuild_platform_result254 255 if ( "${obuild_platform_exe}" == "" ) then256 echo "Variable obuild_platform_exe not defined."257 exit258 endif259 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin`260 if ( ${obuild_platform_result} == yes ) then261 if ( "${obuild_platform_exe}" == "" ) then262 echo "Variable obuild_platform_exe not defined."263 exit264 endif265 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin`266 if ( ${obuild_platform_result} == yes ) then267 if ( $?DYLD_LIBRARY_PATH ) then268 setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${snova_home}/Darwin"269 else270 setenv DYLD_LIBRARY_PATH "${snova_home}/Darwin"271 endif272 endif273 unset obuild_platform_result274 else275 if ( "${obuild_platform_exe}" == "" ) then276 echo "Variable obuild_platform_exe not defined."277 exit278 endif279 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin`280 if ( ${obuild_platform_result} == yes ) then281 if ( $?LD_LIBRARY_PATH ) then282 setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${snova_home}/Darwin"283 else284 setenv LD_LIBRARY_PATH "${snova_home}/Darwin"285 endif286 endif287 unset obuild_platform_result288 endif289 unset obuild_platform_result290 291 if ( "${obuild_platform_exe}" == "" ) then292 echo "Variable obuild_platform_exe not defined."293 exit294 endif295 set obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} Darwin`296 if ( ${obuild_platform_result} == yes ) then297 198 if ( $?DYLD_LIBRARY_PATH ) then 298 199 setenv DYLD_LIBRARY_PATH "${DYLD_LIBRARY_PATH}:${obuild_snovis_path}/${obuild_dir_bin}" -
snovis/trunk/obuild/setup.sh
r134 r137 114 114 return 115 115 fi 116 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'`117 if [ ${obuild_platform_result} = yes ] ; then118 snova_platform="Darwin"119 fi120 unset obuild_platform_result121 if [ "${obuild_platform_exe}" = "" ] ; then122 echo "Variable obuild_platform_exe not defined."123 return124 fi125 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`126 if [ ${obuild_platform_result} = yes ] ; then127 bhep_home="/Users/barrand/dev/exp/nemo/bhep/v1r4p2"128 fi129 unset obuild_platform_result130 if [ "${obuild_platform_exe}" = "" ] ; then131 echo "Variable obuild_platform_exe not defined."132 return133 fi134 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`135 if [ ${obuild_platform_result} = yes ] ; then136 snova_home="/Users/barrand/dev/exp/nemo/snova/v2r0p0"137 fi138 unset obuild_platform_result139 if [ "${obuild_platform_exe}" = "" ] ; then140 echo "Variable obuild_platform_exe not defined."141 return142 fi143 116 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 144 117 if [ ${obuild_platform_result} = yes ] ; then … … 227 200 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'` 228 201 if [ ${obuild_platform_result} = yes ] ; then 229 if [ "${obuild_platform_exe}" = "" ] ; then230 echo "Variable obuild_platform_exe not defined."231 return232 fi233 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'`234 if [ ${obuild_platform_result} = yes ] ; then235 if [ "${DYLD_LIBRARY_PATH}" = "" ] ; then236 DYLD_LIBRARY_PATH="${bhep_home}/Darwin"237 export DYLD_LIBRARY_PATH238 else239 DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}:${bhep_home}/Darwin"240 export DYLD_LIBRARY_PATH241 fi242 fi243 unset obuild_platform_result244 else245 if [ "${obuild_platform_exe}" = "" ] ; then246 echo "Variable obuild_platform_exe not defined."247 return248 fi249 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'`250 if [ ${obuild_platform_result} = yes ] ; then251 if [ "${LD_LIBRARY_PATH}" = "" ] ; then252 LD_LIBRARY_PATH="${bhep_home}/Darwin"253 export LD_LIBRARY_PATH254 else255 LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${bhep_home}/Darwin"256 export LD_LIBRARY_PATH257 fi258 fi259 unset obuild_platform_result260 fi261 unset obuild_platform_result262 263 if [ "${obuild_platform_exe}" = "" ] ; then264 echo "Variable obuild_platform_exe not defined."265 return266 fi267 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'`268 if [ ${obuild_platform_result} = yes ] ; then269 if [ "${obuild_platform_exe}" = "" ] ; then270 echo "Variable obuild_platform_exe not defined."271 return272 fi273 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'`274 if [ ${obuild_platform_result} = yes ] ; then275 if [ "${DYLD_LIBRARY_PATH}" = "" ] ; then276 DYLD_LIBRARY_PATH="${snova_home}/Darwin"277 export DYLD_LIBRARY_PATH278 else279 DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}:${snova_home}/Darwin"280 export DYLD_LIBRARY_PATH281 fi282 fi283 unset obuild_platform_result284 else285 if [ "${obuild_platform_exe}" = "" ] ; then286 echo "Variable obuild_platform_exe not defined."287 return288 fi289 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'`290 if [ ${obuild_platform_result} = yes ] ; then291 if [ "${LD_LIBRARY_PATH}" = "" ] ; then292 LD_LIBRARY_PATH="${snova_home}/Darwin"293 export LD_LIBRARY_PATH294 else295 LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${snova_home}/Darwin"296 export LD_LIBRARY_PATH297 fi298 fi299 unset obuild_platform_result300 fi301 unset obuild_platform_result302 303 if [ "${obuild_platform_exe}" = "" ] ; then304 echo "Variable obuild_platform_exe not defined."305 return306 fi307 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'`308 if [ ${obuild_platform_result} = yes ] ; then309 202 if [ "${DYLD_LIBRARY_PATH}" = "" ] ; then 310 203 DYLD_LIBRARY_PATH="${obuild_snovis_path}/${obuild_dir_bin}" -
snovis/trunk/obuild/sh/build_app_prog_snova
r134 r137 107 107 exit 108 108 fi 109 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'`110 if [ ${obuild_platform_result} = yes ] ; then111 snova_platform="Darwin"112 fi113 unset obuild_platform_result114 if [ "${obuild_platform_exe}" = "" ] ; then115 echo "Variable obuild_platform_exe not defined."116 exit117 fi118 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`119 if [ ${obuild_platform_result} = yes ] ; then120 bhep_home="/Users/barrand/dev/exp/nemo/bhep/v1r4p2"121 fi122 unset obuild_platform_result123 if [ "${obuild_platform_exe}" = "" ] ; then124 echo "Variable obuild_platform_exe not defined."125 exit126 fi127 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`128 if [ ${obuild_platform_result} = yes ] ; then129 snova_home="/Users/barrand/dev/exp/nemo/snova/v2r0p0"130 fi131 unset obuild_platform_result132 if [ "${obuild_platform_exe}" = "" ] ; then133 echo "Variable obuild_platform_exe not defined."134 exit135 fi136 109 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 137 110 if [ ${obuild_platform_result} = yes ] ; then … … 320 293 exit 321 294 fi 295 obuild_snova_path=`"${obuild_find_exe}" snova 'v2r0p0'` 296 if [ "${obuild_snova_path}" = "" ] ; then 297 echo "Can't find snova package." 298 exit 299 fi 300 if [ "${obuild_find_exe}" = "" ] ; then 301 echo "Variable obuild_find_exe not defined." 302 exit 303 fi 304 obuild_snova_path=`"${obuild_find_exe}" snova 'v2r0p0'` 305 if [ "${obuild_snova_path}" = "" ] ; then 306 echo "Can't find snova package." 307 exit 308 fi 309 if [ "${obuild_find_exe}" = "" ] ; then 310 echo "Variable obuild_find_exe not defined." 311 exit 312 fi 313 obuild_snova_path=`"${obuild_find_exe}" snova 'v2r0p0'` 314 if [ "${obuild_snova_path}" = "" ] ; then 315 echo "Can't find snova package." 316 exit 317 fi 318 if [ "${obuild_find_exe}" = "" ] ; then 319 echo "Variable obuild_find_exe not defined." 320 exit 321 fi 322 obuild_snova_path=`"${obuild_find_exe}" snova 'v2r0p0'` 323 if [ "${obuild_snova_path}" = "" ] ; then 324 echo "Can't find snova package." 325 exit 326 fi 327 if [ "${obuild_find_exe}" = "" ] ; then 328 echo "Variable obuild_find_exe not defined." 329 exit 330 fi 331 obuild_bhep_path=`"${obuild_find_exe}" bhep 'v1r4p2'` 332 if [ "${obuild_bhep_path}" = "" ] ; then 333 echo "Can't find bhep package." 334 exit 335 fi 336 if [ "${obuild_find_exe}" = "" ] ; then 337 echo "Variable obuild_find_exe not defined." 338 exit 339 fi 322 340 obuild_HDF5_path=`"${obuild_find_exe}" HDF5 'v1r*'` 323 341 if [ "${obuild_HDF5_path}" = "" ] ; then … … 329 347 exit 330 348 fi 349 obuild_snova_path=`"${obuild_find_exe}" snova 'v2r0p0'` 350 if [ "${obuild_snova_path}" = "" ] ; then 351 echo "Can't find snova package." 352 exit 353 fi 354 if [ "${obuild_find_exe}" = "" ] ; then 355 echo "Variable obuild_find_exe not defined." 356 exit 357 fi 358 obuild_snova_path=`"${obuild_find_exe}" snova 'v2r0p0'` 359 if [ "${obuild_snova_path}" = "" ] ; then 360 echo "Can't find snova package." 361 exit 362 fi 363 if [ "${obuild_find_exe}" = "" ] ; then 364 echo "Variable obuild_find_exe not defined." 365 exit 366 fi 367 obuild_snova_path=`"${obuild_find_exe}" snova 'v2r0p0'` 368 if [ "${obuild_snova_path}" = "" ] ; then 369 echo "Can't find snova package." 370 exit 371 fi 372 if [ "${obuild_find_exe}" = "" ] ; then 373 echo "Variable obuild_find_exe not defined." 374 exit 375 fi 376 obuild_snova_path=`"${obuild_find_exe}" snova 'v2r0p0'` 377 if [ "${obuild_snova_path}" = "" ] ; then 378 echo "Can't find snova package." 379 exit 380 fi 381 if [ "${obuild_find_exe}" = "" ] ; then 382 echo "Variable obuild_find_exe not defined." 383 exit 384 fi 385 obuild_bhep_path=`"${obuild_find_exe}" bhep 'v1r4p2'` 386 if [ "${obuild_bhep_path}" = "" ] ; then 387 echo "Can't find bhep package." 388 exit 389 fi 390 if [ "${obuild_find_exe}" = "" ] ; then 391 echo "Variable obuild_find_exe not defined." 392 exit 393 fi 331 394 obuild_HDF5_path=`"${obuild_find_exe}" HDF5 'v1r*'` 332 395 if [ "${obuild_HDF5_path}" = "" ] ; then … … 344 407 fi 345 408 346 if [ "${obuild_platform_exe}" = "" ] ; then 347 echo "Variable obuild_platform_exe not defined." 348 exit 349 fi 350 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 351 if [ ${obuild_platform_result} = yes ] ; then 352 obuild_cxx_includes="-I${snova_home}" 353 fi 354 unset obuild_platform_result 355 if [ "${obuild_platform_exe}" = "" ] ; then 356 echo "Variable obuild_platform_exe not defined." 357 exit 358 fi 359 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 360 if [ ${obuild_platform_result} = yes ] ; then 361 obuild_cxx_includes="${obuild_cxx_includes} -I${snova_home}/source/GeomUtils/include" 362 fi 363 unset obuild_platform_result 364 if [ "${obuild_platform_exe}" = "" ] ; then 365 echo "Variable obuild_platform_exe not defined." 366 exit 367 fi 368 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 369 if [ ${obuild_platform_result} = yes ] ; then 370 obuild_cxx_includes="${obuild_cxx_includes} -I${snova_home}/source/SNgeom2/include" 371 fi 372 unset obuild_platform_result 373 if [ "${obuild_platform_exe}" = "" ] ; then 374 echo "Variable obuild_platform_exe not defined." 375 exit 376 fi 377 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 378 if [ ${obuild_platform_result} = yes ] ; then 379 obuild_cxx_includes="${obuild_cxx_includes} -I${snova_home}/source/SNvertex/include" 380 fi 381 unset obuild_platform_result 382 if [ "${obuild_platform_exe}" = "" ] ; then 383 echo "Variable obuild_platform_exe not defined." 384 exit 385 fi 386 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 387 if [ ${obuild_platform_result} = yes ] ; then 388 obuild_cxx_includes="${obuild_cxx_includes} -I${bhep_home}" 389 fi 390 unset obuild_platform_result 409 obuild_cxx_includes="-I\"${obuild_snova_path}\"" 410 obuild_cxx_includes="${obuild_cxx_includes} -I\"${obuild_snova_path}/source/GeomUtils/include\"" 411 obuild_cxx_includes="${obuild_cxx_includes} -I\"${obuild_snova_path}/source/SNvertex/include\"" 412 obuild_cxx_includes="${obuild_cxx_includes} -I\"${obuild_snova_path}/source/SNgeom2/include\"" 413 obuild_cxx_includes="${obuild_cxx_includes} -I\"${obuild_bhep_path}\"" 391 414 if [ "${obuild_platform_exe}" = "" ] ; then 392 415 echo "Variable obuild_platform_exe not defined." … … 527 550 obuild_cxx_linker_optimize_local= 528 551 fi 529 obuild_linked_libraries="-L${snova_home}/Darwin -lsnova -lsnvertex -lsngeom -lgeomutils" 530 obuild_linked_libraries="${obuild_linked_libraries} -L${bhep_home}/Darwin -lbhep" 552 obuild_linked_paths="-L\"${obuild_snova_path}/${obuild_dir_bin}\"" 553 obuild_linked_libraries=" -lsnova" 554 obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_snova_path}/${obuild_dir_bin}\"" 555 obuild_linked_libraries="${obuild_linked_libraries} -lsnvertex" 556 obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_snova_path}/${obuild_dir_bin}\"" 557 obuild_linked_libraries="${obuild_linked_libraries} -lsngeom" 558 obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_snova_path}/${obuild_dir_bin}\"" 559 obuild_linked_libraries="${obuild_linked_libraries} -lgeomutils" 560 obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_bhep_path}/${obuild_dir_bin}\"" 561 obuild_linked_libraries="${obuild_linked_libraries} -lbhep" 531 562 obuild_linked_libraries="${obuild_linked_libraries} -L${Geant4_home}/lib -lG4interfaces" 532 563 if [ "${obuild_platform_exe}" = "" ] ; then -
snovis/trunk/obuild/sh/build_app_snovis_session
r134 r137 107 107 exit 108 108 fi 109 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'`110 if [ ${obuild_platform_result} = yes ] ; then111 snova_platform="Darwin"112 fi113 unset obuild_platform_result114 if [ "${obuild_platform_exe}" = "" ] ; then115 echo "Variable obuild_platform_exe not defined."116 exit117 fi118 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`119 if [ ${obuild_platform_result} = yes ] ; then120 bhep_home="/Users/barrand/dev/exp/nemo/bhep/v1r4p2"121 fi122 unset obuild_platform_result123 if [ "${obuild_platform_exe}" = "" ] ; then124 echo "Variable obuild_platform_exe not defined."125 exit126 fi127 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`128 if [ ${obuild_platform_result} = yes ] ; then129 snova_home="/Users/barrand/dev/exp/nemo/snova/v2r0p0"130 fi131 unset obuild_platform_result132 if [ "${obuild_platform_exe}" = "" ] ; then133 echo "Variable obuild_platform_exe not defined."134 exit135 fi136 109 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 137 110 if [ ${obuild_platform_result} = yes ] ; then … … 320 293 exit 321 294 fi 295 obuild_snova_path=`"${obuild_find_exe}" snova 'v2r0p0'` 296 if [ "${obuild_snova_path}" = "" ] ; then 297 echo "Can't find snova package." 298 exit 299 fi 300 if [ "${obuild_find_exe}" = "" ] ; then 301 echo "Variable obuild_find_exe not defined." 302 exit 303 fi 304 obuild_snova_path=`"${obuild_find_exe}" snova 'v2r0p0'` 305 if [ "${obuild_snova_path}" = "" ] ; then 306 echo "Can't find snova package." 307 exit 308 fi 309 if [ "${obuild_find_exe}" = "" ] ; then 310 echo "Variable obuild_find_exe not defined." 311 exit 312 fi 313 obuild_snova_path=`"${obuild_find_exe}" snova 'v2r0p0'` 314 if [ "${obuild_snova_path}" = "" ] ; then 315 echo "Can't find snova package." 316 exit 317 fi 318 if [ "${obuild_find_exe}" = "" ] ; then 319 echo "Variable obuild_find_exe not defined." 320 exit 321 fi 322 obuild_snova_path=`"${obuild_find_exe}" snova 'v2r0p0'` 323 if [ "${obuild_snova_path}" = "" ] ; then 324 echo "Can't find snova package." 325 exit 326 fi 327 if [ "${obuild_find_exe}" = "" ] ; then 328 echo "Variable obuild_find_exe not defined." 329 exit 330 fi 331 obuild_bhep_path=`"${obuild_find_exe}" bhep 'v1r4p2'` 332 if [ "${obuild_bhep_path}" = "" ] ; then 333 echo "Can't find bhep package." 334 exit 335 fi 336 if [ "${obuild_find_exe}" = "" ] ; then 337 echo "Variable obuild_find_exe not defined." 338 exit 339 fi 322 340 obuild_HDF5_path=`"${obuild_find_exe}" HDF5 'v1r*'` 323 341 if [ "${obuild_HDF5_path}" = "" ] ; then … … 374 392 exit 375 393 fi 394 obuild_snova_path=`"${obuild_find_exe}" snova 'v2r0p0'` 395 if [ "${obuild_snova_path}" = "" ] ; then 396 echo "Can't find snova package." 397 exit 398 fi 399 if [ "${obuild_find_exe}" = "" ] ; then 400 echo "Variable obuild_find_exe not defined." 401 exit 402 fi 403 obuild_snova_path=`"${obuild_find_exe}" snova 'v2r0p0'` 404 if [ "${obuild_snova_path}" = "" ] ; then 405 echo "Can't find snova package." 406 exit 407 fi 408 if [ "${obuild_find_exe}" = "" ] ; then 409 echo "Variable obuild_find_exe not defined." 410 exit 411 fi 412 obuild_snova_path=`"${obuild_find_exe}" snova 'v2r0p0'` 413 if [ "${obuild_snova_path}" = "" ] ; then 414 echo "Can't find snova package." 415 exit 416 fi 417 if [ "${obuild_find_exe}" = "" ] ; then 418 echo "Variable obuild_find_exe not defined." 419 exit 420 fi 421 obuild_snova_path=`"${obuild_find_exe}" snova 'v2r0p0'` 422 if [ "${obuild_snova_path}" = "" ] ; then 423 echo "Can't find snova package." 424 exit 425 fi 426 if [ "${obuild_find_exe}" = "" ] ; then 427 echo "Variable obuild_find_exe not defined." 428 exit 429 fi 430 obuild_bhep_path=`"${obuild_find_exe}" bhep 'v1r4p2'` 431 if [ "${obuild_bhep_path}" = "" ] ; then 432 echo "Can't find bhep package." 433 exit 434 fi 435 if [ "${obuild_find_exe}" = "" ] ; then 436 echo "Variable obuild_find_exe not defined." 437 exit 438 fi 376 439 obuild_HDF5_path=`"${obuild_find_exe}" HDF5 'v1r*'` 377 440 if [ "${obuild_HDF5_path}" = "" ] ; then … … 497 560 fi 498 561 499 if [ "${obuild_platform_exe}" = "" ] ; then 500 echo "Variable obuild_platform_exe not defined." 501 exit 502 fi 503 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 504 if [ ${obuild_platform_result} = yes ] ; then 505 obuild_cxx_includes="-I${snova_home}" 506 fi 507 unset obuild_platform_result 508 if [ "${obuild_platform_exe}" = "" ] ; then 509 echo "Variable obuild_platform_exe not defined." 510 exit 511 fi 512 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 513 if [ ${obuild_platform_result} = yes ] ; then 514 obuild_cxx_includes="${obuild_cxx_includes} -I${snova_home}/source/GeomUtils/include" 515 fi 516 unset obuild_platform_result 517 if [ "${obuild_platform_exe}" = "" ] ; then 518 echo "Variable obuild_platform_exe not defined." 519 exit 520 fi 521 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 522 if [ ${obuild_platform_result} = yes ] ; then 523 obuild_cxx_includes="${obuild_cxx_includes} -I${snova_home}/source/SNgeom2/include" 524 fi 525 unset obuild_platform_result 526 if [ "${obuild_platform_exe}" = "" ] ; then 527 echo "Variable obuild_platform_exe not defined." 528 exit 529 fi 530 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 531 if [ ${obuild_platform_result} = yes ] ; then 532 obuild_cxx_includes="${obuild_cxx_includes} -I${snova_home}/source/SNvertex/include" 533 fi 534 unset obuild_platform_result 535 if [ "${obuild_platform_exe}" = "" ] ; then 536 echo "Variable obuild_platform_exe not defined." 537 exit 538 fi 539 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 540 if [ ${obuild_platform_result} = yes ] ; then 541 obuild_cxx_includes="${obuild_cxx_includes} -I${bhep_home}" 542 fi 543 unset obuild_platform_result 562 obuild_cxx_includes="-I\"${obuild_snova_path}\"" 563 obuild_cxx_includes="${obuild_cxx_includes} -I\"${obuild_snova_path}/source/GeomUtils/include\"" 564 obuild_cxx_includes="${obuild_cxx_includes} -I\"${obuild_snova_path}/source/SNvertex/include\"" 565 obuild_cxx_includes="${obuild_cxx_includes} -I\"${obuild_snova_path}/source/SNgeom2/include\"" 566 obuild_cxx_includes="${obuild_cxx_includes} -I\"${obuild_bhep_path}\"" 544 567 if [ "${obuild_platform_exe}" = "" ] ; then 545 568 echo "Variable obuild_platform_exe not defined." … … 686 709 obuild_linked_paths="-L\"${obuild_OnX_path}/${obuild_dir_bin}\"" 687 710 obuild_linked_libraries=" -lOnXCore" 688 obuild_linked_libraries="${obuild_linked_libraries} -L${snova_home}/Darwin -lsnova -lsnvertex -lsngeom -lgeomutils" 689 obuild_linked_libraries="${obuild_linked_libraries} -L${bhep_home}/Darwin -lbhep" 711 obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_snova_path}/${obuild_dir_bin}\"" 712 obuild_linked_libraries="${obuild_linked_libraries} -lsnova" 713 obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_snova_path}/${obuild_dir_bin}\"" 714 obuild_linked_libraries="${obuild_linked_libraries} -lsnvertex" 715 obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_snova_path}/${obuild_dir_bin}\"" 716 obuild_linked_libraries="${obuild_linked_libraries} -lsngeom" 717 obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_snova_path}/${obuild_dir_bin}\"" 718 obuild_linked_libraries="${obuild_linked_libraries} -lgeomutils" 719 obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_bhep_path}/${obuild_dir_bin}\"" 720 obuild_linked_libraries="${obuild_linked_libraries} -lbhep" 690 721 obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_HDF5_path}/${obuild_dir_bin}\"" 691 722 obuild_linked_libraries="${obuild_linked_libraries} -losc_HDF5" … … 694 725 obuild_linked_paths="${obuild_linked_paths} -L\"${obuild_G4Lab_path}/${obuild_dir_bin}\"" 695 726 obuild_linked_libraries="${obuild_linked_libraries} -lG4LabCore" 727 obuild_linked_libraries="${obuild_linked_libraries} -L${Geant4_home}/lib -lG4interfaces" 696 728 if [ "${obuild_platform_exe}" = "" ] ; then 697 729 echo "Variable obuild_platform_exe not defined." -
snovis/trunk/obuild/sh/build_dll_snovis
r134 r137 107 107 exit 108 108 fi 109 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'`110 if [ ${obuild_platform_result} = yes ] ; then111 snova_platform="Darwin"112 fi113 unset obuild_platform_result114 if [ "${obuild_platform_exe}" = "" ] ; then115 echo "Variable obuild_platform_exe not defined."116 exit117 fi118 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`119 if [ ${obuild_platform_result} = yes ] ; then120 bhep_home="/Users/barrand/dev/exp/nemo/bhep/v1r4p2"121 fi122 unset obuild_platform_result123 if [ "${obuild_platform_exe}" = "" ] ; then124 echo "Variable obuild_platform_exe not defined."125 exit126 fi127 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`128 if [ ${obuild_platform_result} = yes ] ; then129 snova_home="/Users/barrand/dev/exp/nemo/snova/v2r0p0"130 fi131 unset obuild_platform_result132 if [ "${obuild_platform_exe}" = "" ] ; then133 echo "Variable obuild_platform_exe not defined."134 exit135 fi136 109 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 137 110 if [ ${obuild_platform_result} = yes ] ; then -
snovis/trunk/obuild/sh/check_foreigns
r134 r137 77 77 exit 78 78 fi 79 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'Darwin'`80 if [ ${obuild_platform_result} = yes ] ; then81 snova_platform="Darwin"82 fi83 unset obuild_platform_result84 if [ "${obuild_platform_exe}" = "" ] ; then85 echo "Variable obuild_platform_exe not defined."86 exit87 fi88 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`89 if [ ${obuild_platform_result} = yes ] ; then90 bhep_home="/Users/barrand/dev/exp/nemo/bhep/v1r4p2"91 fi92 unset obuild_platform_result93 if [ "${obuild_platform_exe}" = "" ] ; then94 echo "Variable obuild_platform_exe not defined."95 exit96 fi97 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'`98 if [ ${obuild_platform_result} = yes ] ; then99 snova_home="/Users/barrand/dev/exp/nemo/snova/v2r0p0"100 fi101 unset obuild_platform_result102 if [ "${obuild_platform_exe}" = "" ] ; then103 echo "Variable obuild_platform_exe not defined."104 exit105 fi106 79 obuild_platform_result=`"${obuild_platform_exe}" ${obuild_platform} 'UNIX'` 107 80 if [ ${obuild_platform_result} = yes ] ; then -
snovis/trunk/obuild/this.obuild
r134 r137 7 7 <!-- not this : --> 8 8 9 <reference package="snov is" version="v1r1" file="obuild/snova.obuild"/>9 <reference package="snova" version="v2r0p0" file="obuild/export.obuild"/> 10 10 11 11 <reference package="G4Lab" version="v8r*" file="obuild/export.obuild"/> 12 12 13 <use name="HDF5" version="v1r*">14 <c_include>include</c_include>15 <lib>osc_HDF5</lib>16 </use>17 18 13 <!-- this : --> 19 14 … … 54 49 55 50 <!-- not this : --> 56 <cxx_include platform="UNIX" verbatim="yes">-I${snova_home}</cxx_include>57 <cxx_include platform="UNIX" verbatim="yes">-I${snova_home}/source/GeomUtils/include</cxx_include>58 <cxx_include platform="UNIX" verbatim="yes">-I${snova_home}/source/SNgeom2/include</cxx_include>59 <cxx_include platform="UNIX" verbatim="yes">-I${snova_home}/source/SNvertex/include</cxx_include>60 <cxx_include platform="UNIX" verbatim="yes">-I${bhep_home}</cxx_include>51 <cxx_include copy="cxx_include" from="snova"/> 52 <cxx_include copy="cxx_include_geomutils" from="snova"/> 53 <cxx_include copy="cxx_include_snvertex" from="snova"/> 54 <cxx_include copy="cxx_include_sngeom" from="snova"/> 55 <cxx_include copy="cxx_include" from="bhep"/> 61 56 62 57 <cxx_include copy="cxx_include" from="CLHEP"/> … … 64 59 <cxx_include copy="c_include" from="HDF5"/> 65 60 66 <lib verbatim="yes">-L${snova_home}/Darwin -lsnova -lsnvertex -lsngeom -lgeomutils</lib> 67 <lib verbatim="yes">-L${bhep_home}/Darwin -lbhep</lib> 61 <lib copy="lib" from="snova"/> 62 <lib copy="lib_snvertex" from="snova"/> 63 <lib copy="lib_sngeom" from="snova"/> 64 <lib copy="lib_geomutils" from="snova"/> 65 <lib copy="lib" from="bhep"/> 68 66 69 67 <lib copy="interfaces_lib" from="Geant4"/> … … 79 77 80 78 <!-- not this : --> 81 <cxx_include platform="UNIX" verbatim="yes">-I${snova_home}</cxx_include>82 <cxx_include platform="UNIX" verbatim="yes">-I${snova_home}/source/GeomUtils/include</cxx_include>83 <cxx_include platform="UNIX" verbatim="yes">-I${snova_home}/source/SNgeom2/include</cxx_include>84 <cxx_include platform="UNIX" verbatim="yes">-I${snova_home}/source/SNvertex/include</cxx_include>85 <cxx_include platform="UNIX" verbatim="yes">-I${bhep_home}</cxx_include>79 <cxx_include copy="cxx_include" from="snova"/> 80 <cxx_include copy="cxx_include_geomutils" from="snova"/> 81 <cxx_include copy="cxx_include_snvertex" from="snova"/> 82 <cxx_include copy="cxx_include_sngeom" from="snova"/> 83 <cxx_include copy="cxx_include" from="bhep"/> 86 84 87 85 <cxx_include copy="cxx_include" from="CLHEP"/> … … 97 95 <lib copy="lib" from="OnX"/> 98 96 99 <lib verbatim="yes">-L${snova_home}/Darwin -lsnova -lsnvertex -lsngeom -lgeomutils</lib> 100 <lib verbatim="yes">-L${bhep_home}/Darwin -lbhep</lib> 97 <lib copy="lib" from="snova"/> 98 <lib copy="lib_snvertex" from="snova"/> 99 <lib copy="lib_sngeom" from="snova"/> 100 <lib copy="lib_geomutils" from="snova"/> 101 <lib copy="lib" from="bhep"/> 101 102 102 103 <lib copy="lib" from="HDF5"/> … … 104 105 <lib copy="lib_G4LabUIOnX" from="G4Lab"/> 105 106 <lib copy="lib_G4LabCore" from="G4Lab"/> 107 <lib copy="interfaces_lib" from="Geant4"/> 106 108 <lib copy="lib" from="Geant4"/> 107 109 <lib copy="lib" from="CLHEP"/> … … 132 134 <run_path/> 133 135 136 <!-- 134 137 <load_library_path copy="load_library_path" from="snova"/> 138 --> 135 139 136 140 <load_library_path/>
Note: See TracChangeset
for help on using the changeset viewer.