Github user alanconway commented on a diff in the pull request: https://github.com/apache/qpid-proton/pull/35#discussion_r31842586 --- Diff: CMakeLists.txt --- @@ -20,16 +20,15 @@ cmake_minimum_required (VERSION 2.6) project (Proton C) +# Enable C++ now for examples and bindings subdirectories, but make it optional. +enable_language(CXX OPTIONAL) + --- End diff -- enable_language(CXX OPTIONAL) enables cmake support for C++ if it is available. I had to move it up from proton-c because CMake requires you do this above any subdirs that will use it (now examples and proton-c). The next block just decides whether or not to use C++ for building proton. The C++ binding is default enabled if C++ is available (checks CXX_COMPILER), and can explicitly enabled/disabled with BUILD_CPP like all other bindings.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---