From 5adea2604438669dbea6fe57ee4edaad7a8552c4 Mon Sep 17 00:00:00 2001 From: Takatoshi Kondo Date: Tue, 11 Aug 2015 19:58:54 +0900 Subject: [PATCH] Added install files. --- CMakeLists.txt | 4 + src/Makefile.am | 270 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 274 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ac92c1b2..8f3e5501 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -201,6 +201,10 @@ IF (MSGPACK_ENABLE_CXX) include/msgpack/zbuffer.hpp include/msgpack/zone.hpp ) + FILE (GLOB_RECURSE PREPROCESSOR_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include/msgpack/preprocessor/*.hpp) + + LIST (APPEND msgpack_HEADERS ${PREPROCESSOR_FILES}) + LIST (APPEND msgpack_HEADERS include/msgpack/preprocessor.hpp) ENDIF () EXECUTE_PROCESS ( diff --git a/src/Makefile.am b/src/Makefile.am index d435603f..b15c31a0 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -230,6 +230,276 @@ nobase_include_HEADERS += \ ../include/msgpack/vrefbuffer.hpp \ ../include/msgpack/zbuffer.hpp \ ../include/msgpack/zone.hpp + +nobase_include_HEADERS += \ + ../include/msgpack/preprocessor.hpp \ + ../include/msgpack/preprocessor/dec.hpp \ + ../include/msgpack/preprocessor/slot.hpp \ + ../include/msgpack/preprocessor/wstringize.hpp \ + ../include/msgpack/preprocessor/enum_params_with_defaults.hpp \ + ../include/msgpack/preprocessor/enum.hpp \ + ../include/msgpack/preprocessor/facilities.hpp \ + ../include/msgpack/preprocessor/enum_params_with_a_default.hpp \ + ../include/msgpack/preprocessor/assert_msg.hpp \ + ../include/msgpack/preprocessor/if.hpp \ + ../include/msgpack/preprocessor/variadic.hpp \ + ../include/msgpack/preprocessor/tuple.hpp \ + ../include/msgpack/preprocessor/comma_if.hpp \ + ../include/msgpack/preprocessor/identity.hpp \ + ../include/msgpack/preprocessor/repeat_from_to.hpp \ + ../include/msgpack/preprocessor/arithmetic/dec.hpp \ + ../include/msgpack/preprocessor/arithmetic/mod.hpp \ + ../include/msgpack/preprocessor/arithmetic/inc.hpp \ + ../include/msgpack/preprocessor/arithmetic/mul.hpp \ + ../include/msgpack/preprocessor/arithmetic/detail/div_base.hpp \ + ../include/msgpack/preprocessor/arithmetic/div.hpp \ + ../include/msgpack/preprocessor/arithmetic/sub.hpp \ + ../include/msgpack/preprocessor/arithmetic/add.hpp \ + ../include/msgpack/preprocessor/selection.hpp \ + ../include/msgpack/preprocessor/stringize.hpp \ + ../include/msgpack/preprocessor/seq/enum.hpp \ + ../include/msgpack/preprocessor/seq/pop_back.hpp \ + ../include/msgpack/preprocessor/seq/elem.hpp \ + ../include/msgpack/preprocessor/seq/subseq.hpp \ + ../include/msgpack/preprocessor/seq/to_tuple.hpp \ + ../include/msgpack/preprocessor/seq/for_each_i.hpp \ + ../include/msgpack/preprocessor/seq/to_list.hpp \ + ../include/msgpack/preprocessor/seq/size.hpp \ + ../include/msgpack/preprocessor/seq/replace.hpp \ + ../include/msgpack/preprocessor/seq/push_front.hpp \ + ../include/msgpack/preprocessor/seq/variadic_seq_to_seq.hpp \ + ../include/msgpack/preprocessor/seq/to_array.hpp \ + ../include/msgpack/preprocessor/seq/seq.hpp \ + ../include/msgpack/preprocessor/seq/fold_left.hpp \ + ../include/msgpack/preprocessor/seq/detail/split.hpp \ + ../include/msgpack/preprocessor/seq/detail/binary_transform.hpp \ + ../include/msgpack/preprocessor/seq/push_back.hpp \ + ../include/msgpack/preprocessor/seq/first_n.hpp \ + ../include/msgpack/preprocessor/seq/for_each.hpp \ + ../include/msgpack/preprocessor/seq/pop_front.hpp \ + ../include/msgpack/preprocessor/seq/fold_right.hpp \ + ../include/msgpack/preprocessor/seq/for_each_product.hpp \ + ../include/msgpack/preprocessor/seq/insert.hpp \ + ../include/msgpack/preprocessor/seq/cat.hpp \ + ../include/msgpack/preprocessor/seq/rest_n.hpp \ + ../include/msgpack/preprocessor/seq/remove.hpp \ + ../include/msgpack/preprocessor/seq/transform.hpp \ + ../include/msgpack/preprocessor/seq/reverse.hpp \ + ../include/msgpack/preprocessor/seq/filter.hpp \ + ../include/msgpack/preprocessor/max.hpp \ + ../include/msgpack/preprocessor/repeat_from_to_2nd.hpp \ + ../include/msgpack/preprocessor/repetition/enum_trailing_binary_params.hpp \ + ../include/msgpack/preprocessor/repetition/enum_params_with_defaults.hpp \ + ../include/msgpack/preprocessor/repetition/enum.hpp \ + ../include/msgpack/preprocessor/repetition/enum_params_with_a_default.hpp \ + ../include/msgpack/preprocessor/repetition/repeat_from_to.hpp \ + ../include/msgpack/preprocessor/repetition/enum_binary_params.hpp \ + ../include/msgpack/preprocessor/repetition/deduce_z.hpp \ + ../include/msgpack/preprocessor/repetition/enum_shifted_params.hpp \ + ../include/msgpack/preprocessor/repetition/enum_shifted.hpp \ + ../include/msgpack/preprocessor/repetition/enum_params.hpp \ + ../include/msgpack/preprocessor/repetition/enum_trailing.hpp \ + ../include/msgpack/preprocessor/repetition/detail/msvc/for.hpp \ + ../include/msgpack/preprocessor/repetition/detail/edg/for.hpp \ + ../include/msgpack/preprocessor/repetition/detail/for.hpp \ + ../include/msgpack/preprocessor/repetition/detail/dmc/for.hpp \ + ../include/msgpack/preprocessor/repetition/repeat.hpp \ + ../include/msgpack/preprocessor/repetition/deduce_r.hpp \ + ../include/msgpack/preprocessor/repetition/for.hpp \ + ../include/msgpack/preprocessor/repetition/enum_trailing_params.hpp \ + ../include/msgpack/preprocessor/repetition/enum_shifted_binary_params.hpp \ + ../include/msgpack/preprocessor/control/expr_iif.hpp \ + ../include/msgpack/preprocessor/control/if.hpp \ + ../include/msgpack/preprocessor/control/detail/msvc/while.hpp \ + ../include/msgpack/preprocessor/control/detail/while.hpp \ + ../include/msgpack/preprocessor/control/detail/edg/while.hpp \ + ../include/msgpack/preprocessor/control/detail/dmc/while.hpp \ + ../include/msgpack/preprocessor/control/iif.hpp \ + ../include/msgpack/preprocessor/control/expr_if.hpp \ + ../include/msgpack/preprocessor/control/while.hpp \ + ../include/msgpack/preprocessor/control/deduce_d.hpp \ + ../include/msgpack/preprocessor/control.hpp \ + ../include/msgpack/preprocessor/iteration/detail/finish.hpp \ + ../include/msgpack/preprocessor/iteration/detail/bounds/lower3.hpp \ + ../include/msgpack/preprocessor/iteration/detail/bounds/upper2.hpp \ + ../include/msgpack/preprocessor/iteration/detail/bounds/lower1.hpp \ + ../include/msgpack/preprocessor/iteration/detail/bounds/upper4.hpp \ + ../include/msgpack/preprocessor/iteration/detail/bounds/lower4.hpp \ + ../include/msgpack/preprocessor/iteration/detail/bounds/lower2.hpp \ + ../include/msgpack/preprocessor/iteration/detail/bounds/lower5.hpp \ + ../include/msgpack/preprocessor/iteration/detail/bounds/upper1.hpp \ + ../include/msgpack/preprocessor/iteration/detail/bounds/upper5.hpp \ + ../include/msgpack/preprocessor/iteration/detail/bounds/upper3.hpp \ + ../include/msgpack/preprocessor/iteration/detail/start.hpp \ + ../include/msgpack/preprocessor/iteration/detail/iter/reverse1.hpp \ + ../include/msgpack/preprocessor/iteration/detail/iter/forward2.hpp \ + ../include/msgpack/preprocessor/iteration/detail/iter/forward3.hpp \ + ../include/msgpack/preprocessor/iteration/detail/iter/reverse4.hpp \ + ../include/msgpack/preprocessor/iteration/detail/iter/reverse2.hpp \ + ../include/msgpack/preprocessor/iteration/detail/iter/forward4.hpp \ + ../include/msgpack/preprocessor/iteration/detail/iter/reverse5.hpp \ + ../include/msgpack/preprocessor/iteration/detail/iter/forward5.hpp \ + ../include/msgpack/preprocessor/iteration/detail/iter/reverse3.hpp \ + ../include/msgpack/preprocessor/iteration/detail/iter/forward1.hpp \ + ../include/msgpack/preprocessor/iteration/detail/rlocal.hpp \ + ../include/msgpack/preprocessor/iteration/detail/local.hpp \ + ../include/msgpack/preprocessor/iteration/detail/self.hpp \ + ../include/msgpack/preprocessor/iteration/local.hpp \ + ../include/msgpack/preprocessor/iteration/self.hpp \ + ../include/msgpack/preprocessor/iteration/iterate.hpp \ + ../include/msgpack/preprocessor/comparison.hpp \ + ../include/msgpack/preprocessor/punctuation/comma_if.hpp \ + ../include/msgpack/preprocessor/punctuation/paren_if.hpp \ + ../include/msgpack/preprocessor/punctuation/is_begin_parens.hpp \ + ../include/msgpack/preprocessor/punctuation/comma.hpp \ + ../include/msgpack/preprocessor/punctuation/detail/is_begin_parens.hpp \ + ../include/msgpack/preprocessor/punctuation/remove_parens.hpp \ + ../include/msgpack/preprocessor/punctuation/paren.hpp \ + ../include/msgpack/preprocessor/slot/slot.hpp \ + ../include/msgpack/preprocessor/slot/detail/shared.hpp \ + ../include/msgpack/preprocessor/slot/detail/slot1.hpp \ + ../include/msgpack/preprocessor/slot/detail/slot2.hpp \ + ../include/msgpack/preprocessor/slot/detail/slot3.hpp \ + ../include/msgpack/preprocessor/slot/detail/def.hpp \ + ../include/msgpack/preprocessor/slot/detail/counter.hpp \ + ../include/msgpack/preprocessor/slot/detail/slot4.hpp \ + ../include/msgpack/preprocessor/slot/detail/slot5.hpp \ + ../include/msgpack/preprocessor/slot/counter.hpp \ + ../include/msgpack/preprocessor/enum_shifted_params.hpp \ + ../include/msgpack/preprocessor/config/config.hpp \ + ../include/msgpack/preprocessor/config/limits.hpp \ + ../include/msgpack/preprocessor/enum_shifted.hpp \ + ../include/msgpack/preprocessor/enum_params.hpp \ + ../include/msgpack/preprocessor/repeat_3rd.hpp \ + ../include/msgpack/preprocessor/comma.hpp \ + ../include/msgpack/preprocessor/seq.hpp \ + ../include/msgpack/preprocessor/inc.hpp \ + ../include/msgpack/preprocessor/debug/error.hpp \ + ../include/msgpack/preprocessor/debug/assert.hpp \ + ../include/msgpack/preprocessor/debug/line.hpp \ + ../include/msgpack/preprocessor/selection/max.hpp \ + ../include/msgpack/preprocessor/selection/min.hpp \ + ../include/msgpack/preprocessor/detail/is_nullary.hpp \ + ../include/msgpack/preprocessor/detail/check.hpp \ + ../include/msgpack/preprocessor/detail/split.hpp \ + ../include/msgpack/preprocessor/detail/null.hpp \ + ../include/msgpack/preprocessor/detail/is_unary.hpp \ + ../include/msgpack/preprocessor/detail/is_binary.hpp \ + ../include/msgpack/preprocessor/detail/dmc/auto_rec.hpp \ + ../include/msgpack/preprocessor/detail/auto_rec.hpp \ + ../include/msgpack/preprocessor/punctuation.hpp \ + ../include/msgpack/preprocessor/array/enum.hpp \ + ../include/msgpack/preprocessor/array/pop_back.hpp \ + ../include/msgpack/preprocessor/array/elem.hpp \ + ../include/msgpack/preprocessor/array/data.hpp \ + ../include/msgpack/preprocessor/array/to_tuple.hpp \ + ../include/msgpack/preprocessor/array/to_list.hpp \ + ../include/msgpack/preprocessor/array/size.hpp \ + ../include/msgpack/preprocessor/array/replace.hpp \ + ../include/msgpack/preprocessor/array/push_front.hpp \ + ../include/msgpack/preprocessor/array/detail/get_data.hpp \ + ../include/msgpack/preprocessor/array/to_seq.hpp \ + ../include/msgpack/preprocessor/array/push_back.hpp \ + ../include/msgpack/preprocessor/array/pop_front.hpp \ + ../include/msgpack/preprocessor/array/insert.hpp \ + ../include/msgpack/preprocessor/array/remove.hpp \ + ../include/msgpack/preprocessor/array/reverse.hpp \ + ../include/msgpack/preprocessor/logical.hpp \ + ../include/msgpack/preprocessor/min.hpp \ + ../include/msgpack/preprocessor/debug.hpp \ + ../include/msgpack/preprocessor/repeat.hpp \ + ../include/msgpack/preprocessor/expand.hpp \ + ../include/msgpack/preprocessor/limits.hpp \ + ../include/msgpack/preprocessor/expr_if.hpp \ + ../include/msgpack/preprocessor/iteration.hpp \ + ../include/msgpack/preprocessor/while.hpp \ + ../include/msgpack/preprocessor/repetition.hpp \ + ../include/msgpack/preprocessor/repeat_2nd.hpp \ + ../include/msgpack/preprocessor/arithmetic.hpp \ + ../include/msgpack/preprocessor/list/enum.hpp \ + ../include/msgpack/preprocessor/list/to_tuple.hpp \ + ../include/msgpack/preprocessor/list/for_each_i.hpp \ + ../include/msgpack/preprocessor/list/size.hpp \ + ../include/msgpack/preprocessor/list/to_array.hpp \ + ../include/msgpack/preprocessor/list/fold_left.hpp \ + ../include/msgpack/preprocessor/list/append.hpp \ + ../include/msgpack/preprocessor/list/detail/fold_left.hpp \ + ../include/msgpack/preprocessor/list/detail/edg/fold_left.hpp \ + ../include/msgpack/preprocessor/list/detail/edg/fold_right.hpp \ + ../include/msgpack/preprocessor/list/detail/fold_right.hpp \ + ../include/msgpack/preprocessor/list/detail/dmc/fold_left.hpp \ + ../include/msgpack/preprocessor/list/to_seq.hpp \ + ../include/msgpack/preprocessor/list/first_n.hpp \ + ../include/msgpack/preprocessor/list/for_each.hpp \ + ../include/msgpack/preprocessor/list/at.hpp \ + ../include/msgpack/preprocessor/list/fold_right.hpp \ + ../include/msgpack/preprocessor/list/for_each_product.hpp \ + ../include/msgpack/preprocessor/list/cat.hpp \ + ../include/msgpack/preprocessor/list/rest_n.hpp \ + ../include/msgpack/preprocessor/list/transform.hpp \ + ../include/msgpack/preprocessor/list/adt.hpp \ + ../include/msgpack/preprocessor/list/reverse.hpp \ + ../include/msgpack/preprocessor/list/filter.hpp \ + ../include/msgpack/preprocessor/comparison/less_equal.hpp \ + ../include/msgpack/preprocessor/comparison/less.hpp \ + ../include/msgpack/preprocessor/comparison/not_equal.hpp \ + ../include/msgpack/preprocessor/comparison/equal.hpp \ + ../include/msgpack/preprocessor/comparison/greater.hpp \ + ../include/msgpack/preprocessor/comparison/greater_equal.hpp \ + ../include/msgpack/preprocessor/repeat_from_to_3rd.hpp \ + ../include/msgpack/preprocessor/array.hpp \ + ../include/msgpack/preprocessor/variadic/elem.hpp \ + ../include/msgpack/preprocessor/variadic/to_tuple.hpp \ + ../include/msgpack/preprocessor/variadic/to_list.hpp \ + ../include/msgpack/preprocessor/variadic/size.hpp \ + ../include/msgpack/preprocessor/variadic/to_array.hpp \ + ../include/msgpack/preprocessor/variadic/detail/is_single_return.hpp \ + ../include/msgpack/preprocessor/variadic/to_seq.hpp \ + ../include/msgpack/preprocessor/cat.hpp \ + ../include/msgpack/preprocessor/for.hpp \ + ../include/msgpack/preprocessor/tuple/enum.hpp \ + ../include/msgpack/preprocessor/tuple/pop_back.hpp \ + ../include/msgpack/preprocessor/tuple/elem.hpp \ + ../include/msgpack/preprocessor/tuple/to_list.hpp \ + ../include/msgpack/preprocessor/tuple/size.hpp \ + ../include/msgpack/preprocessor/tuple/replace.hpp \ + ../include/msgpack/preprocessor/tuple/rem.hpp \ + ../include/msgpack/preprocessor/tuple/push_front.hpp \ + ../include/msgpack/preprocessor/tuple/to_array.hpp \ + ../include/msgpack/preprocessor/tuple/detail/is_single_return.hpp \ + ../include/msgpack/preprocessor/tuple/to_seq.hpp \ + ../include/msgpack/preprocessor/tuple/push_back.hpp \ + ../include/msgpack/preprocessor/tuple/pop_front.hpp \ + ../include/msgpack/preprocessor/tuple/insert.hpp \ + ../include/msgpack/preprocessor/tuple/remove.hpp \ + ../include/msgpack/preprocessor/tuple/eat.hpp \ + ../include/msgpack/preprocessor/tuple/reverse.hpp \ + ../include/msgpack/preprocessor/list.hpp \ + ../include/msgpack/preprocessor/logical/bool.hpp \ + ../include/msgpack/preprocessor/logical/or.hpp \ + ../include/msgpack/preprocessor/logical/compl.hpp \ + ../include/msgpack/preprocessor/logical/xor.hpp \ + ../include/msgpack/preprocessor/logical/bitnor.hpp \ + ../include/msgpack/preprocessor/logical/nor.hpp \ + ../include/msgpack/preprocessor/logical/not.hpp \ + ../include/msgpack/preprocessor/logical/bitor.hpp \ + ../include/msgpack/preprocessor/logical/bitxor.hpp \ + ../include/msgpack/preprocessor/logical/and.hpp \ + ../include/msgpack/preprocessor/logical/bitand.hpp \ + ../include/msgpack/preprocessor/empty.hpp \ + ../include/msgpack/preprocessor/library.hpp \ + ../include/msgpack/preprocessor/facilities/identity.hpp \ + ../include/msgpack/preprocessor/facilities/is_empty.hpp \ + ../include/msgpack/preprocessor/facilities/apply.hpp \ + ../include/msgpack/preprocessor/facilities/is_empty_variadic.hpp \ + ../include/msgpack/preprocessor/facilities/is_empty_or_1.hpp \ + ../include/msgpack/preprocessor/facilities/intercept.hpp \ + ../include/msgpack/preprocessor/facilities/detail/is_empty.hpp \ + ../include/msgpack/preprocessor/facilities/expand.hpp \ + ../include/msgpack/preprocessor/facilities/overload.hpp \ + ../include/msgpack/preprocessor/facilities/is_1.hpp \ + ../include/msgpack/preprocessor/facilities/empty.hpp \ + ../include/msgpack/preprocessor/iterate.hpp endif EXTRA_DIST = \