[cgma-dev] r2247 - cgm/trunk/test

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Fri Nov 14 12:27:21 CST 2008


Author: kraftche
Date: 2008-11-14 12:27:21 -0600 (Fri, 14 Nov 2008)
New Revision: 2247

Modified:
   cgm/trunk/test/Makefile.am
Log:
fix link flags for tests, and run webcut test for cubit-based build

Modified: cgm/trunk/test/Makefile.am
===================================================================
--- cgm/trunk/test/Makefile.am	2008-11-14 18:12:43 UTC (rev 2246)
+++ cgm/trunk/test/Makefile.am	2008-11-14 18:27:21 UTC (rev 2247)
@@ -12,21 +12,24 @@
 	   -I$(srcdir) \
 	   $(OCC_INC_FLAG)
 
-LINK_FLAGS = 
 TESTS = sheet
 if build_ACIS
   TESTS += webcut hollow_acis
-  LINK_FLAGS += -R$(ACIS_LIB_DIR)
+else
+if WITH_CUBIT
+  TESTS += webcut
 endif
+endif
 if build_OCC
   TESTS += modify makept r_w test_occ
-  LINK_FLAGS += -R$(OCC_LIB_DIR)
 endif
 
 AM_CPPFLAGS =
 AM_CPPFLAGS += -DSRCDIR=@srcdir@ $(HAVE_ACIS_DEF) $(HAVE_OCC_DEF)
 check_PROGRAMS = $(TESTS)
 
+LINK_FLAGS = $(CGM_EXT_LDFLAGS) $(CGM_EXT_LTFLAGS)
+
 webcut_SOURCES = webcut.cpp
 hollow_acis_SOURCES = hollow_acis.cpp
 makept_SOURCES = makept.cpp




More information about the cgma-dev mailing list