xref: /OK3568_Linux_fs/buildroot/package/zmqpp/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_ZMQPP
2	bool "zmqpp"
3	# c++1x support
4	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
5	depends on BR2_INSTALL_LIBSTDCPP
6	depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
7	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
8	select BR2_PACKAGE_ZEROMQ
9	help
10	  C++ binding for zeromq (ZeroMQ, 0MQ, zmq).
11
12	  This C++ binding is a 'high-level' library that hides most
13	  of the C-style interface core zeromq provides.
14
15	  http://github.com/benjamg/zmqpp
16
17comment "zmqpp needs a toolchain w/ C++, threads, gcc >= 4.7"
18	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
19		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
20
21comment "zmqpp needs exception_ptr"
22	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
23
24if BR2_PACKAGE_ZMQPP
25
26config BR2_PACKAGE_ZMQPP_CLIENT
27	bool "zmqpp client"
28	depends on !BR2_STATIC_LIBS
29	depends on BR2_TOOLCHAIN_HAS_THREADS # boost
30	depends on BR2_USE_WCHAR # boost
31	select BR2_PACKAGE_BOOST
32	select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS
33	help
34	  Build and install the zmqpp client, a command line tool that
35	  can be used to listen or send to zeromq sockets.
36
37comment "zmqpp client needs a toolchain w/ dynamic library, threads, wchar"
38	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS \
39		|| !BR2_USE_WCHAR
40
41endif
42