Changeset 5487 for anuga_work


Ignore:
Timestamp:
Jul 11, 2008, 12:45:58 PM (16 years ago)
Author:
jack
Message:

Started C++-ising the code.

Location:
anuga_work/development/anugavis
Files:
7 added
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/development/anugavis/configure.ac

    r5292 r5487  
    1010# Checks for programs.
    1111AC_PROG_CC
    12 AM_PROG_CC_C_O
     12AC_PROG_CXX
    1313AC_PROG_RANLIB
    1414
     
    2424AC_CHECK_HEADER([netcdf.h], [],
    2525                [AC_MSG_ERROR([Can't find the NetCDF header. (CPPFLAGS?)])])
     26AC_CHECK_HEADER([windows.h])
     27AX_BOOST_BASE([1.35.0])
    2628
    2729# Checks for typedefs, structures, and compiler characteristics.
    2830AC_C_CONST
     31AC_C_INLINE
    2932AC_TYPE_SIZE_T
     33AM_PROG_CC_C_O
    3034
    3135# Checks for library functions.
  • anuga_work/development/anugavis/src/Makefile.am

    r5379 r5487  
    11## Process this file with automake to generate Makefile.in
     2AM_CFLAGS = $(SDL_CFLAGS) $(GLU_CFLAGS)
     3AM_CXXFLAGS = $(SDL_CFLAGS) $(GLU_CFLAGS)
    24
    35# Convenience library for the core visualiser code.
    4 noinst_LIBRARIES = libanugavis.a
     6noinst_LIBRARIES = libanugavis.a libanugavis_cxx.a
    57libanugavis_a_SOURCES = camera.c \
    68                        camera.h \
     
    2022                        xfunctions.c \
    2123                        xfunctions.h
    22 libanugavis_a_CFLAGS = @SDL_CFLAGS@ @GLU_CFLAGS@
    23 libanugavis_a_LIBADD = @LIBOBJS@
     24libanugavis_a_LIBADD = $(LIBOBJS)
     25libanugavis_cxx_a_SOURCES = anugavis.cc \
     26                            anugavis.hh \
     27                            netcdf_file.cc \
     28                            netcdf_file.hh \
     29                            output.cc \
     30                            output.hh
     31libanugavis_cxx_a_LIBADD = $(LIBOBJS)
    2432
    2533bin_PROGRAMS = anugavis_simple
    26 anugavis_simple_SOURCES = anugavis_simple.c
    27 anugavis_simple_CFLAGS = @SDL_CFLAGS@ @GLU_CFLAGS@
    28 anugavis_simple_LDADD = libanugavis.a @SDL_LIBS@ @GLU_LIBS@
     34anugavis_simple_SOURCES = anugavis_simple_cxx.cc
     35anugavis_simple_LDADD = libanugavis_cxx.a $(SDL_LIBS) $(GLU_LIBS)
Note: See TracChangeset for help on using the changeset viewer.