Changeset 4

Show
Ignore:
Timestamp:
04/10/06 09:50:46 (3 years ago)
Author:
jordi
Message:

Added the first test that checks that an empty document returns sane values. In order to make the test compile and run I had to add an static library called libepfview.a that contains the required classes (Document and DocumentIndex?) for the test.

I also added the library to the test's Makefile.am LDADD variable.

Location:
trunk
Files:
7 added
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile.am

    r2 r4  
    11# Process this file with automake to produce a Makefile.in file. 
     2noinst_LIBRARIES = libepdfview.a 
    23 
     4libepdfview_a_SOURCES = \ 
     5    Document.cxx        \ 
     6    Document.h          \ 
     7    DocumentIndex.cxx   \ 
     8    DocumentIndex.h     \ 
     9    epdfview.h          \ 
     10    gettext.h 
     11 
     12libepdfview_a_CXXFLAGS =    \ 
     13    $(GLIB_CFLAGS) 
  • trunk/tests/Makefile.am

    r3 r4  
    44 
    55test_epdfview_SOURCES =     \ 
     6    DocumentTest.cxx        \ 
     7    DocumentTest.h          \ 
    68    main.cxx 
    79 
     
    1113    $(CPPUNIT_CFLAGS) 
    1214 
    13 test_epdfview_LDFLAGS =     \ 
    14     $(GLIB_LIBS)            \ 
     15test_epdfview_LDFLAGS =                 \ 
     16    $(GLIB_LIBS)                        \ 
    1517    $(CPPUNIT_LIBS) 
     18 
     19test_epdfview_LDADD = $(top_builddir)/src/libepdfview.a