source: PSPA/Interface_Web/trunk/pspaWT/cmt/requirements @ 82

Last change on this file since 82 was 82, checked in by lemeur, 12 years ago

introduction element solenoid

File size: 1.3 KB
Line 
1package pspaWT
2
3build_strategy no_prototypes
4include_path none
5 
6use
7Platform v1r* $(PSPAWTROOT)/../Interfaces
8use dld      v2r* $(PSPAWTROOT)/../Interfaces
9
10use Wt       v1r* $(PSPAWTROOT)/../Interfaces
11use boost    v1r* $(PSPAWTROOT)/../Interfaces
12
13include_dirs $(PSPAWTROOT)/include
14
15#library PSPSLib   \
16#  ../src/pspa.C
17
18
19
20macro lib_PSPSLib_cppflags " ${Wt_cflags} ${boost_cflags} -DTHREADED -DDRAWWT_BUILD"
21#macro PSPSLib_shlibflags   " ${Wt_linkopts} ${boost_linkopts} ${dld_linkopts} -F/System/Library/Frameworks "
22
23#macro PSPSLib_linkopts     " -L${PSPAWTROOT}/$(Platform_bin) -lPSPSLib "
24
25application pspaWt bareParticle.cc particleBeam.cc GWt_cell.cc GWt_initialBeam.cc GWt_soleno.cc GWt_globalParameters.cc GWt_drift.cc dataManager.cc elementDrift.cc elementCell.cc elementInitialBeam.cc elementSoleno.cc globalParameters.cc GWt_LigneFaisceau.cc GWt_pspaApplication.cc main.cc use_cppflags='" ${lib_PSPSLib_cppflags} "'
26
27macro DrawWt_linkopts " ${PSPSLib_linkopts} ${Wt_linkopts} ${boost_linkopts} ${dld_linkopts}"
28
29# DEBUG :
30macro_append cflags  " -W -Wall -g" WIN32 "-W /ZI /Od"
31macro_append cppflags  " -W -Wall -g" WIN32 " /ZI /Od"
32macro_append cpplinkflags  " -W -Wall -g" WIN32 "/DEBUG /VERBOSE:LIB"
33
34# OPTIMIZE :
35#macro_append cflags  " -O" WIN32 " /O2"
36#macro_append cppflags  " -O" WIN32 " /O2"
37#macro_append cpplinkflags  " -O" WIN32 ""
Note: See TracBrowser for help on using the repository browser.