Changeset 3605
- Timestamp:
- Sep 15, 2006, 1:22:45 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/SConstruct
r3604 r3605 136 136 mesh_dir = os.path.join(anuga_root, 'mesh_engine') 137 137 mesh_install_dir = os.path.join(install_root, 'mesh_engine') 138 env.Install(mesh_install_dir, mesh_env.SharedLibrary(os.path.join(mesh_dir, 'triang'), 139 map(lambda s: os.path.join(mesh_dir, s), ['triangle.c', 'triang.c']))) 140 env.Install(mesh_install_dir, mesh_env.SharedLibrary(os.path.join(mesh_dir, 'triangle'), 141 map(lambda s: os.path.join(mesh_dir, s), ['triangle.c']))) 138 139 triang = mesh_env.SharedLibrary(os.path.join(mesh_dir, 'triang'), map(lambda s: os.path.join(mesh_dir, s), ['triangle.c', 'triang.c'])) 140 triangle = mesh_env.SharedLibrary(os.path.join(mesh_dir, 'triangle'), map(lambda s: os.path.join(mesh_dir, s), ['triangle.c'])) 141 env.Install(mesh_install_dir, triang) 142 env.Install(mesh_install_dir, triangle) 143 144 # Make phony .exp files if building with gcc, so the Install builder doesn't choke. 145 if sys.platform == 'win32' and env['CC'] == 'gcc': 146 env.Command(os.path.join(mesh_dir, 'triang.exp'), triang, Touch(os.path.join(mesh_dir, 'triang.exp'))) 147 env.Command(os.path.join(mesh_dir, 'triangle.exp'), triangle, Touch(os.path.join(mesh_dir, 'triangle.exp'))) 142 148 143 149 # Utilities 144 150 util_dir = os.path.join(anuga_root, 'utilities') 145 151 util_install_dir = os.path.join(install_root, 'utilities') 152 146 153 env.Install(util_install_dir, env.SharedLibrary(os.path.join(util_dir, 'polygon_ext'), 147 154 map(lambda s: os.path.join(util_dir, s), ['polygon_ext.c']))) … … 157 164 a2fv_dir = os.path.join(anuga_root, 'abstract_2d_finite_volumes') 158 165 a2fv_install_dir = os.path.join(install_root, 'abstract_2d_finite_volumes') 166 159 167 env.Install(a2fv_install_dir, a2fv_env.SharedLibrary(os.path.join(a2fv_dir, 'quantity_ext'), 160 168 map(lambda s: os.path.join(a2fv_dir, s), ['quantity_ext.c']))) … … 168 176 sw_dir = os.path.join(anuga_root, 'shallow_water') 169 177 sw_install_dir = os.path.join(install_root, 'shallow_water') 178 170 179 env.Install(sw_install_dir, sw_env.SharedLibrary(os.path.join(sw_dir, 'shallow_water_ext'), 171 180 map(lambda s: os.path.join(sw_dir, s), ['shallow_water_ext.c'])))
Note: See TracChangeset
for help on using the changeset viewer.