1config BR2_PACKAGE_CPPCMS
2	bool "cppcms"
3	depends on BR2_INSTALL_LIBSTDCPP
4	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
5	depends on !BR2_STATIC_LIBS # dlopen()
6	depends on BR2_USE_WCHAR
7	select BR2_PACKAGE_PCRE
8	help
9	  CppCMS is a Free High Performance Web Development Framework
10	  (not a CMS) aimed for Rapid Web Application Development. It
11	  differs from most of other web development frameworks like:
12	  Python Django or Java Servlets on  the following aspects:
13
14	   - It is designed and tuned to handle extremely high loads.
15	   - It uses modern C++ as primary development language in
16	     order to achieve the above goal.
17	   - It is aimed on development of both Web Sites and Web
18	     Services.
19
20	  http://cppcms.com
21
22if BR2_PACKAGE_CPPCMS
23
24config BR2_PACKAGE_CPPCMS_ICU
25	bool "enable icu support"
26	depends on !BR2_BINFMT_FLAT # icu
27	depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu
28	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # icu
29	select BR2_PACKAGE_ICU
30	help
31	  Using ICU allows advanced localization features into CppCMS,
32	  in another hand ICU is heavier than iconv.
33
34comment "icu support needs a toolchain w/ gcc >= 4.9, host gcc >= 4.9"
35	depends on !BR2_BINFMT_FLAT
36	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
37		!BR2_HOST_GCC_AT_LEAST_4_9
38
39endif
40
41comment "cppcms needs a toolchain w/ C++, NPTL, wchar, dynamic library"
42	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
43		!BR2_USE_WCHAR || BR2_STATIC_LIBS
44