Fixed include paths so that making individual unit tests works again
parent
e5374a55e8
commit
55dedc97e3
|
@ -35,8 +35,8 @@ libgtsam_la_LDFLAGS = -version-info 0:0:0
|
|||
|
||||
# Store the absolute path to the directory above gtsam for the include path,
|
||||
# saves us from having an extra 'gtsam' subdirectory.
|
||||
BORG_SRCROOT := $(shell cd $(top_srcdir)/.. && pwd)
|
||||
AM_MAKEFLAGS = "BORG_SRCROOT=$(BORG_SRCROOT)"
|
||||
#BORG_SRCROOT := $(shell cd $(top_srcdir)/.. && pwd)
|
||||
#AM_MAKEFLAGS = "BORG_SRCROOT=$(BORG_SRCROOT)"
|
||||
|
||||
# Add these files to make sure they're in the distribution
|
||||
noinst_HEADERS = gtsam.h
|
||||
|
|
|
@ -49,7 +49,7 @@ base_HEADERS = $(headers)
|
|||
noinst_LTLIBRARIES = libbase.la
|
||||
libbase_la_SOURCES = $(sources)
|
||||
|
||||
AM_CPPFLAGS = -I$(boost) -I$(BORG_SRCROOT)
|
||||
AM_CPPFLAGS = -I$(boost) -I$(top_srcdir)/..
|
||||
|
||||
if USE_BLAS
|
||||
AM_CPPFLAGS += -DGT_USE_CBLAS
|
||||
|
|
|
@ -19,7 +19,7 @@ noinst_PROGRAMS += PlanarSLAMExample # Solves SLAM example from tutorial by us
|
|||
# rules to build local programs
|
||||
#----------------------------------------------------------------------------------------------------
|
||||
AM_LDFLAGS = $(BOOST_LDFLAGS)
|
||||
AM_CPPFLAGS = -I$(boost) -I$(BORG_SRCROOT)
|
||||
AM_CPPFLAGS = -I$(boost) -I$(top_srcdir)/..
|
||||
LDADD = ../libgtsam.la
|
||||
AM_DEFAULT_SOURCE_EXT = .cpp
|
||||
if USE_LDL
|
||||
|
|
|
@ -41,7 +41,7 @@ geometrydir = $(pkgincludedir)/geometry
|
|||
geometry_HEADERS = $(headers)
|
||||
noinst_LTLIBRARIES = libgeometry.la
|
||||
libgeometry_la_SOURCES = $(sources)
|
||||
AM_CPPFLAGS = -I$(boost) -I$(BORG_SRCROOT)
|
||||
AM_CPPFLAGS = -I$(boost) -I$(top_srcdir)/..
|
||||
|
||||
#----------------------------------------------------------------------------------------------------
|
||||
# rules to build local programs
|
||||
|
|
|
@ -58,7 +58,7 @@ inferencedir = $(pkgincludedir)/inference
|
|||
inference_HEADERS = $(headers)
|
||||
noinst_LTLIBRARIES = libinference.la
|
||||
libinference_la_SOURCES = $(sources)
|
||||
AM_CPPFLAGS = -I$(boost) -I$(BORG_SRCROOT)
|
||||
AM_CPPFLAGS = -I$(boost) -I$(top_srcdir)/..
|
||||
AM_CXXFLAGS =
|
||||
|
||||
#----------------------------------------------------------------------------------------------------
|
||||
|
|
|
@ -46,7 +46,7 @@ lineardir = $(pkgincludedir)/linear
|
|||
linear_HEADERS = $(headers)
|
||||
noinst_LTLIBRARIES = liblinear.la
|
||||
liblinear_la_SOURCES = $(sources)
|
||||
AM_CPPFLAGS = -I$(boost) -I$(BORG_SRCROOT)
|
||||
AM_CPPFLAGS = -I$(boost) -I$(top_srcdir)/..
|
||||
AM_CXXFLAGS =
|
||||
|
||||
#----------------------------------------------------------------------------------------------------
|
||||
|
|
|
@ -46,7 +46,7 @@ nonlineardir = $(pkgincludedir)/nonlinear
|
|||
nonlinear_HEADERS = $(headers)
|
||||
noinst_LTLIBRARIES = libnonlinear.la
|
||||
libnonlinear_la_SOURCES = $(sources)
|
||||
AM_CPPFLAGS = -I$(boost) -I$(BORG_SRCROOT)
|
||||
AM_CPPFLAGS = -I$(boost) -I$(top_srcdir)/..
|
||||
AM_CXXFLAGS =
|
||||
|
||||
#----------------------------------------------------------------------------------------------------
|
||||
|
|
|
@ -68,7 +68,7 @@ slamdir = $(pkgincludedir)/slam
|
|||
slam_HEADERS = $(headers)
|
||||
noinst_LTLIBRARIES = libslam.la
|
||||
libslam_la_SOURCES = $(sources)
|
||||
AM_CPPFLAGS = -I$(boost) -I$(BORG_SRCROOT)
|
||||
AM_CPPFLAGS = -I$(boost) -I$(top_srcdir)/..
|
||||
|
||||
#----------------------------------------------------------------------------------------------------
|
||||
# rules to build local programs
|
||||
|
|
|
@ -36,7 +36,7 @@ noinst_PROGRAMS = timeGaussianFactorGraph timeFactorOverhead
|
|||
# rules to build unit tests
|
||||
#----------------------------------------------------------------------------------------------------
|
||||
TESTS = $(check_PROGRAMS)
|
||||
AM_CPPFLAGS = -I$(boost) -I$(BORG_SRCROOT)
|
||||
AM_CPPFLAGS = -I$(boost) -I$(top_srcdir)/..
|
||||
AM_LDFLAGS = $(BOOST_LDFLAGS)
|
||||
|
||||
# link to serialization library for test
|
||||
|
|
|
@ -18,7 +18,7 @@ noinst_HEADERS = geometry.h utilities.h Argument.h Constructor.h Method.h Class.
|
|||
|
||||
noinst_PROGRAMS = wrap
|
||||
wrap_SOURCES = ${common} wrap.cpp
|
||||
AM_CPPFLAGS = -I$(boost) -I$(BORG_SRCROOT) -DTOPSRCDIR="\"$(top_srcdir)\""
|
||||
AM_CPPFLAGS = -I$(boost) -I$(top_srcdir)/.. -DTOPSRCDIR="\"$(top_srcdir)\""
|
||||
AM_CXXFLAGS = -MMD
|
||||
AM_LDFLAGS = -L../CppUnitLite -lCppUnitLite $(BOOST_LDFLAGS)
|
||||
|
||||
|
|
Loading…
Reference in New Issue