Project

General

Profile

« Previous | Next » 

Revision 2598

Added by harris almost 19 years ago

Added a target called metacat spatial to build the spatial stuff.

View differences:

build.xml
1219 1219
         <arg value="${docid}"/>
1220 1220
     </java>
1221 1221
  </target>
1222
  
1223
  <target name="spatial_option" depends="init" description=" -- compiles code for the spatial option">
1224

  
1225
    <echo message="Compiling the metatcat shapefile creator"/>
1226
    <echo message="using the shapelib at: ${shapelib.dir}"/>
1227
    <exec dir="." executable="g++" os="Linux, Unix" failonerror="true">
1228
     <arg line="./src/spatial/cpp/metacat_shapefile.cpp -I ${shapelib.dir} -c -o build/metacat_shapefile.o" />
1229
    </exec>
1230
  
1231
    <exec dir="." executable="g++" os="Linux, Unix" failonerror="true">
1232
     <arg line="build/metacat_shapefile.o ${shapelib.dir}/libshp.a -o bin/test.out" />
1233
    </exec>
1234
  </target>
1235

  
1222 1236
</project>

Also available in: Unified diff