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

Last change on this file since 334 was 334, checked in by garnier, 11 years ago

fix pb on server

File size: 3.9 KB
Line 
1package pspaWT
2
3build_strategy no_prototypes
4include_path none
5 
6use Platform v1r* Interfaces
7use dld      v2r* Interfaces
8
9use Wt       v1r* Interfaces
10use boost    v1r* Interfaces
11
12include_dirs $(PSPAWTROOT)/sources/userInterface/include  $(PSPAWTROOT)/sources/controler/include
13
14library PSPA_controlerLib   \
15 ../sources/controler/src/bareParticle.cc \
16 ../sources/controler/src/particleBeam.cc \
17 ../sources/controler/src/dataManager.cc \
18 ../sources/controler/src/elementDrift.cc \
19 ../sources/controler/src/elementCell.cc \
20 ../sources/controler/src/elementRfgun.cc \
21 ../sources/controler/src/elementSoleno.cc \
22 ../sources/controler/src/elementBend.cc \
23 ../sources/controler/src/elementBeam.cc \
24 ../sources/controler/src/elementFit.cc \
25 ../sources/controler/src/globalParameters.cc \
26 ../sources/controler/src/abstractElement.cc \
27 ../sources/controler/src/nomdElements.cc \
28 ../sources/controler/src/nomDeLogiciel.cc \
29 ../sources/controler/src/beam2Moments.cc \
30 ../sources/controler/src/abstractSoftware.cc \
31 ../sources/controler/src/softwareParmela.cc \
32 ../sources/controler/src/softwareTransport.cc \
33 ../sources/controler/src/softwareGenerator.cc \
34 ../sources/controler/src/softwareTest.cc
35
36
37macro lib_PSPA_controlerLib_cppflags " ${Wt_cflags} ${boost_cflags} -DTHREADED -DDRAWWT_BUILD -DPSPA_DEBUG"
38
39macro PSPA_controlerLib_shlibflags   "   ${PSPA_userInterfaceLib_linkopts} ${Wt_linkopts} ${boost_linkopts} ${dld_linkopts}"
40
41macro PSPA_controlerLib_dependencies   " ${PSPA_userInterfaceLib} "
42
43macro PSPA_controlerLib_linkopts     " -L${PSPAWTROOT}/${Platform_bin} -lPSPA_controlerLib "
44
45
46library PSPA_userInterfaceLib   \
47 ../sources/userInterface/src/GWt_cell.cc \
48 ../sources/userInterface/src/GWt_rfgun.cc \
49 ../sources/userInterface/src/GWt_soleno.cc \
50 ../sources/userInterface/src/GWt_bend.cc \
51 ../sources/userInterface/src/GWt_beam.cc \
52 ../sources/userInterface/src/GWt_globalParameters.cc \
53 ../sources/userInterface/src/GWt_drift.cc \
54 ../sources/userInterface/src/GWt_dialog.cc \
55 ../sources/userInterface/src/GWt_fit.cc \
56 ../sources/userInterface/src/GWt_abstractElement.cc \
57 ../sources/userInterface/src/GWt_console.cc \
58 ../sources/userInterface/src/GWt_ligneFaisceau.cc \
59 ../sources/userInterface/src/GWt_pspaApplication.cc \
60 ../sources/userInterface/src/GWt_elementLigneFaisceau.cc \
61 ../sources/userInterface/src/GWt_dropZoneLigneFaisceau.cc \
62 ../sources/userInterface/src/GWt_abstractElementFactory.cc \
63 ../sources/userInterface/src/GWt_softwarePanel.cc \
64 ../sources/userInterface/src/GWt_draggableImage.cc \
65 ../sources/userInterface/src/GWt_serverFileSelector
66
67
68macro lib_PSPA_userInterfaceLib_cppflags " ${Wt_cflags} ${boost_cflags} -DTHREADED -DDRAWWT_BUILD -DPSPA_DEBUG"
69
70macro PSPA_userInterfaceLib_shlibflags   " ${PSPA_controlerLib_linkopts} ${Wt_linkopts} ${boost_linkopts} ${dld_linkopts}"
71
72macro PSPA_userInterfaceLib_dependencies   " ${PSPA_controlerLib} "
73
74macro PSPA_userInterfaceLib_linkopts     " -L${PSPAWTROOT}/${Platform_bin} -lPSPA_userInterfaceLib "
75
76
77
78
79macro_append pspaWT_cppflags "${lib_PSPA_controlerLib_cppflags} ${lib_PSPA_userInterfaceLib_cppflags}"
80macro_append pspaWTlinkopts "${PSPA_controlerLib_linkopts} ${PSPA_userInterfaceLib_linkopts} ${Wt_linkopts} ${boost_linkopts} ${dld_linkopts}"
81
82macro pspaWT_linkopts " ${PSPA_controlerLib_linkopts} ${PSPA_userInterfaceLib_linkopts} ${Wt_linkopts} ${boost_linkopts} ${dld_linkopts}"
83
84application pspaWT ../sources/controler/src/main.cc
85macro_append pspaWT_dependencies " PSPA_controlerLib PSPA_userInterfaceLib"
86
87
88# DEBUG :
89macro_append cflags  " -W -Wall -g" WIN32 "-W /ZI /Od"
90macro_append cppflags  " -W -Wall -g" WIN32 " /ZI /Od"
91macro_append cpplinkflags  " -W -Wall -g" WIN32 "/DEBUG /VERBOSE:LIB"
92
93# OPTIMIZE :
94#macro_append cflags  " -O" WIN32 " /O2"
95#macro_append cppflags  " -O" WIN32 " /O2"
96#macro_append cpplinkflags  " -O" WIN32 ""
97
98path_append DYLD_LIBRARY_PATH "${PSPAWTROOT}/${Platform_bin}"
99path_append LD_LIBRARY_PATH "${PSPAWTROOT}/${Platform_bin}"
Note: See TracBrowser for help on using the repository browser.