 +  sock.c
 +  sock.h
 +  stanza.c
-+  tls_dummy.c
++  #tls_dummy.c # tls_openssl instead
 +  #tls_gnutls.c # tls_openssl instead
 +  tls.h
 +  tls_openssl.c

+install(FILES strophe.h DESTINATION include${verDir}/${PROJECT_NAME})
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
new file mode 100644
index 0000000..b70b0df
--- /dev/null
+++ b/examples/CMakeLists.txt
@@ -0,0 +1,13 @@

+  )
+foreach(exe ${examples})
+  add_executable(${exe} ${exe}.c)
+  target_link_libraries(${exe} libstrophe)
+  set_property(TARGET ${exe} PROPERTY FOLDER examples)
+endforeach()
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..c44e631
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,68 @@
+set(lib_name ${PROJECT_NAME})
+########################################
+# source
