mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-18 12:34:15 +01:00
Supported make install.
Removed vc2008 files from make dist.
This commit is contained in:
parent
643b0c9523
commit
c8fa0be345
@ -48,13 +48,18 @@ LIST (APPEND msgpack_SOURCES
|
||||
src/zone.c
|
||||
)
|
||||
|
||||
LIST (APPEND msgpack_HEADERS
|
||||
LIST (APPEND msgpack_root_HEADERS
|
||||
src/msgpack.h
|
||||
)
|
||||
|
||||
LIST (APPEND msgpack_HEADERS ${msgpack_root_HEADERS})
|
||||
|
||||
LIST (APPEND msgpack_msgpack_HEADERS
|
||||
src/msgpack/pack_define.h
|
||||
src/msgpack/pack_template.h
|
||||
src/msgpack/unpack_define.h
|
||||
src/msgpack/unpack_template.h
|
||||
src/msgpack/sysdep.h
|
||||
src/msgpack.h
|
||||
src/msgpack/sbuffer.h
|
||||
src/msgpack/version.h
|
||||
src/msgpack/vrefbuffer.h
|
||||
@ -65,9 +70,15 @@ LIST (APPEND msgpack_HEADERS
|
||||
src/msgpack/zone.h
|
||||
)
|
||||
|
||||
LIST (APPEND msgpack_HEADERS ${msgpack_msgpack_HEADERS})
|
||||
|
||||
IF (MSGPACK_ENABLE_CXX)
|
||||
LIST (APPEND msgpack_HEADERS
|
||||
LIST (APPEND msgpack_root_HEADERS
|
||||
src/msgpack.hpp
|
||||
)
|
||||
LIST (APPEND msgpack_HEADERS ${msgpack_root_HEADERS})
|
||||
|
||||
LIST (APPEND msgpack_msgpack_HEADERS
|
||||
src/msgpack/sbuffer.hpp
|
||||
src/msgpack/vrefbuffer.hpp
|
||||
src/msgpack/zbuffer.hpp
|
||||
@ -75,6 +86,10 @@ IF (MSGPACK_ENABLE_CXX)
|
||||
src/msgpack/unpack.hpp
|
||||
src/msgpack/object.hpp
|
||||
src/msgpack/zone.hpp
|
||||
)
|
||||
LIST (APPEND msgpack_HEADERS ${msgpack_msgpack_HEADERS})
|
||||
|
||||
LIST (APPEND msgpack_type_HEADERS
|
||||
src/msgpack/type.hpp
|
||||
src/msgpack/type/bool.hpp
|
||||
src/msgpack/type/deque.hpp
|
||||
@ -91,9 +106,14 @@ IF (MSGPACK_ENABLE_CXX)
|
||||
src/msgpack/type/vector.hpp
|
||||
src/msgpack/type/tuple.hpp
|
||||
src/msgpack/type/define.hpp
|
||||
)
|
||||
LIST (APPEND msgpack_HEADERS ${msgpack_type_HEADERS})
|
||||
|
||||
LIST (APPEND msgpack_tr1_HEADERS
|
||||
src/msgpack/type/tr1/unordered_map.hpp
|
||||
src/msgpack/type/tr1/unordered_set.hpp
|
||||
)
|
||||
LIST (APPEND msgpack_HEADERS ${msgpack_tr1_HEADERS})
|
||||
ENDIF ()
|
||||
|
||||
IF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
|
||||
@ -135,6 +155,12 @@ IF (MSGPACK_BUILD_TESTS)
|
||||
ADD_SUBDIRECTORY (test)
|
||||
ENDIF ()
|
||||
|
||||
INSTALL (TARGETS msgpack msgpack-static DESTINATION lib)
|
||||
INSTALL (FILES ${msgpack_root_HEADERS} DESTINATION include)
|
||||
INSTALL (FILES ${msgpack_msgpack_HEADERS} DESTINATION include/msgpack)
|
||||
INSTALL (FILES ${msgpack_type_HEADERS} DESTINATION include/msgpack/type)
|
||||
INSTALL (FILES ${msgpack_tr1_HEADERS} DESTINATION include/msgpack/type/tr1)
|
||||
|
||||
# Doxygen
|
||||
FIND_PACKAGE (Doxygen)
|
||||
IF (DOXYGEN_FOUND)
|
||||
|
@ -6,12 +6,10 @@ DOC_FILES = \
|
||||
NOTICE \
|
||||
msgpack_vc8.vcproj \
|
||||
msgpack_vc8.sln \
|
||||
msgpack_vc2008.vcproj \
|
||||
msgpack_vc2008.sln \
|
||||
msgpack_vc.postbuild.bat
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(DOC_FILES)
|
||||
$(DOC_FILES) CMakeLists.txt test/CMakeLists.txt
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = msgpack.pc
|
||||
|
Loading…
x
Reference in New Issue
Block a user