[MOAB-dev] r3549 - MOAB/trunk/tools/dagmc

Tim Tautges tautges at mcs.anl.gov
Fri Feb 19 16:03:46 CST 2010


Thanks Brandon.

- tim

bmsmith6 at wisc.edu wrote:
> Author: bmsmith
> Date: 2010-02-18 16:10:16 -0600 (Thu, 18 Feb 2010)
> New Revision: 3549
> 
> Modified:
>    MOAB/trunk/tools/dagmc/Makefile.am
> Log:
> Build update_coords only if MOAB is linked with NetCDF and CGM.
> 
> 
> 
> Modified: MOAB/trunk/tools/dagmc/Makefile.am
> ===================================================================
> --- MOAB/trunk/tools/dagmc/Makefile.am	2010-02-18 21:53:10 UTC (rev 3548)
> +++ MOAB/trunk/tools/dagmc/Makefile.am	2010-02-18 22:10:16 UTC (rev 3549)
> @@ -13,7 +13,9 @@
>  CPPFLAGS += $(CGM_CPPFLAGS) -DCGM $(MOAB_CGM_DEFINES)
>  CXXFLAGS += $(CGM_CXXFLAGS)
>  
> -noinst_PROGRAMS = update_coords quads_to_tris
> +if NETCDF_FILE
> +  noinst_PROGRAMS = update_coords quads_to_tris
> +endif
>  bin_PROGRAMS = cgm2moab
>  cgm2moab_SOURCES = main.cc cubfile.c
>  cgm2moab_LDFLAGS = $(CGM_LTFLAGS) $(CGM_LDLFAGS)
> @@ -36,8 +38,10 @@
>  test_geom_SOURCES = test_geom.cc
>  test_geom_LDADD = libdagmc.la $(top_builddir)/libMOAB.la $(CGM_LTFLAGS)  $(CGM_LDFLAGS) $(CGM_LIBS)
>  
> -update_coords_SOURCES = cub2h5m.cc quads_to_tris.cpp quads_to_tris.hpp
> -update_coords_LDADD = libdagmc.la $(top_builddir)/libMOAB.la $(CGM_LTFLAGS) $(CGM_LDFLAGS) $(CGM_LIBS)
> +if NETCDF_FILE
> +  update_coords_SOURCES = cub2h5m.cc quads_to_tris.cpp quads_to_tris.hpp
> +  update_coords_LDADD = libdagmc.la $(top_builddir)/libMOAB.la $(CGM_LTFLAGS) $(CGM_LDFLAGS) $(CGM_LIBS)
> +endif
>  
>  pt_vol_test_SOURCES = pt_vol_test.cc
>  pt_vol_test_LDADD = libdagmc.la $(top_builddir)/libMOAB.la $(CGM_LTFLAGS)  $(CGM_LDFLAGS) $(CGM_LIBS)
> 
> 

-- 
================================================================
"You will keep in perfect peace him whose mind is
   steadfast, because he trusts in you."               Isaiah 26:3

              Tim Tautges            Argonne National Laboratory
          (tautges at mcs.anl.gov)      (telecommuting from UW-Madison)
          phone: (608) 263-8485      1500 Engineering Dr.
            fax: (608) 263-4499      Madison, WI 53706



More information about the moab-dev mailing list