 +  include(configure.cmake)
 +endif()
 +add_subdirectory(src/main)
++add_subdirectory(src/examples)
 diff --git a/activemq-cpp/config.h.cmake.in b/activemq-cpp/config.h.cmake.in
 new file mode 100644
 index 0000000..b8ee1ab

+################################################################################
+set(CMAKE_REQUIRED_LIBRARIES)
+set(CMAKE_REQUIRED_DEFINITIONS)
diff --git a/activemq-cpp/src/main/CMakeLists.txt b/activemq-cpp/src/main/CMakeLists.txt
new file mode 100644
index 0000000..d4acde0
--- /dev/null
+++ b/activemq-cpp/src/main/CMakeLists.txt
@@ -0,0 +1,1696 @@
+set(lib_name activemqcpp)
+#######################################
+# library sources

+#######################################
+# library
+add_library(${lib_name} STATIC ${${lib_name}_libsrcs})
+target_link_libraries(${lib_name} ${APR_LIBRARIES} ${OPENSSL_LIBRARIES})
+target_include_directories(${lib_name} PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
+target_include_directories(${lib_name} SYSTEM PUBLIC ${APR_INCLUDE_DIR})
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/
+  DESTINATION include/${lib_name}
+  FILES_MATCHING PATTERN "*.h"
