mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 10:19:51 +00:00
cpp: ./configure supports --disable-cxx option not to build/install C++ API
This commit is contained in:
parent
c57f616141
commit
a2bd5ae638
2 changed files with 28 additions and 13 deletions
|
|
@ -6,8 +6,12 @@ libmsgpack_la_SOURCES = \
|
|||
objectc.c \
|
||||
version.c \
|
||||
vrefbuffer.c \
|
||||
zone.c \
|
||||
zone.c
|
||||
|
||||
if ENABLE_CXX
|
||||
libmsgpack_la_SOURCES += \
|
||||
object.cpp
|
||||
endif
|
||||
|
||||
# -version-info CURRENT:REVISION:AGE
|
||||
libmsgpack_la_LDFLAGS = -version-info 3:0:0
|
||||
|
|
@ -39,7 +43,10 @@ nobase_include_HEADERS = \
|
|||
msgpack/pack.h \
|
||||
msgpack/unpack.h \
|
||||
msgpack/object.h \
|
||||
msgpack/zone.h \
|
||||
msgpack/zone.h
|
||||
|
||||
if ENABLE_CXX
|
||||
nobase_include_HEADERS += \
|
||||
msgpack.hpp \
|
||||
msgpack/sbuffer.hpp \
|
||||
msgpack/version.h \
|
||||
|
|
@ -66,6 +73,7 @@ nobase_include_HEADERS = \
|
|||
msgpack/type/define.hpp \
|
||||
msgpack/type/tr1/unordered_map.hpp \
|
||||
msgpack/type/tr1/unordered_set.hpp
|
||||
endif
|
||||
|
||||
EXTRA_DIST = \
|
||||
msgpack/version.h.in \
|
||||
|
|
@ -80,8 +88,6 @@ msgpack/version.h: msgpack/version.h.in Makefile.in
|
|||
-e s/VERSION_MINOR_UNDEFINED/$(VERSION_MINOR)/ \
|
||||
$< > $@
|
||||
|
||||
#version.c: msgpack/version.h
|
||||
|
||||
|
||||
doxygen_c:
|
||||
cat ../Doxyfile > Doxyfile_c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue