Commit c8798185 authored by Jacob Gladish's avatar Jacob Gladish

Added DEBUG to command line. Updated README

parent 12a1e5a6
......@@ -22,7 +22,7 @@ LIBXML_INC?=/usr/include/libxml2
ALLJOYN_INSTALL_DIR?=/Users/jgladi200/Work/alljoyn/alljoyn-15.09.00a-src/build/darwin/x86/debug/dist/cpp
CXXFLAGS=-D QCC_OS_GROUP_POSIX -Wall -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -Wno-ignored-qualifiers -g -std=c++0x -I. -I$(ALLJOYN_INSTALL_DIR)/inc -I$(LIBXML_INC)
CXXFLAGS=-D QCC_OS_GROUP_POSIX -Wall -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -Wno-ignored-qualifiers -std=c++0x -I. -I$(ALLJOYN_INSTALL_DIR)/inc -I$(LIBXML_INC)
LDFLAGS=-L $(ALLJOYN_INSTALL_DIR)/lib -lalljoyn -lcrypto -lxml2
DEV_PROVIDER_OBJS=$(patsubst %.cpp, %.o, $(SRCS))
OBJS=$(DEV_PROVIDER_OBJS)
......@@ -33,6 +33,12 @@ ifeq ($(UNAME_S),Linux)
LDFLAGS += -pthread -luuid
endif
ifeq ($(DEBUG), 1)
CXXFLAGS += -g
else
CXXFLAGS += -O2
endif
ifeq ($V, 1)
CXX_PRETTY = $(CXX)
LD_PRETTY = $(CXX)
......
# portabledsb
A portable c++ version of the AllJoyn DSB
Building:
Right now we're only building on OSX/Linux.
1.) export ALLJOYN_INSTALL_DIR=<path to your build of alljouyn core>
2.) make [options]
[optios]
DEBUG -- debug build (-g) otherwise -O2 is used
V -- verbose output (skip if you want cleaner output)
The AllSeen Alliance has a Device System Bridge (DSB), which allows non-allseen devices to
communicate on an AllJoyn bus. There's a good document describing the software here:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment