Browse Source

Add CppUnit config variable

doc_update_sequoia
Damiano Boppart 4 years ago
parent
commit
f7f6929642
2 changed files with 12 additions and 2 deletions
  1. +10
    -0
      default.conf
  2. +2
    -2
      test/Makefile

+ 10
- 0
default.conf View File

@ -238,6 +238,16 @@ NETPGP_INC=
#NETPGP_INC=-I$(PREFIX)/include
######### OpenPGP #########
# CppUnit library search flag
CPPUNIT_LIB=
#CPPUNIT_LIB=-L$(HOME)/local/lib
# CppUnit include search flag
CPPUNIT_INC=
#CPPUNIT_INC=-I$(HOME)/local/inc
######### Engine internals #########
# C macros (not environment variables) that can be overridden:
# DEFAULT_KEYSERVER - string with default keyserver


+ 2
- 2
test/Makefile View File

@ -18,14 +18,14 @@ OBJS := $(addsuffix .o,$(basename $(SRCS)))
DEPS := $(OBJS:.o=.d)
INC_DIRS := ./include /usr/local/include
INC_FLAGS := $(addprefix -I,$(INC_DIRS)) $(GPGME_INC)
INC_FLAGS := $(addprefix -I,$(INC_DIRS)) $(GPGME_INC) $(CPPUNIT_INC)
LDFLAGS += -L/usr/local/lib
CFLAGS += -Wno-deprecated
CXXFLAGS += -Wno-deprecated
LDFLAGS+= $(ETPAN_LIB) -L../asn.1 -L../src
LDFLAGS+= $(ETPAN_LIB) $(CPPUNIT_LIB) -L../asn.1 -L../src
LDLIBS+= -letpan -lpEpEngine -lstdc++ -lasn1
ifeq ($(BUILD_FOR),Linux)


Loading…
Cancel
Save