 +  rehash.c
 +  storeutl.c
 +  )
++if(WIN32)
++  list(APPEND apps_openssl_src
++    win32_init.c
++    )
++else()
++  list(APPEND apps_srcs
++    win32_init.c
++    )
++endif()
 +source_group("" FILES ${apps_openssl_src})
 +add_executable(openssl ${apps_openssl_src})
 +target_include_directories(openssl PRIVATE ${CMAKE_CURRENT_BINARY_DIR}) # progs.h
 +target_link_libraries(openssl PRIVATE apps ssl)
++set_property(TARGET openssl PROPERTY FOLDER ${folder})
 +list(APPEND apps_srcs ${apps_openssl_src})
 +########################################
 +# directories (ignore -- add to cmake)

+install(EXPORT ${targetsFile} DESTINATION lib/cmake ${nameSpace})
diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt
new file mode 100644
index 0000000..5fca3e9
--- /dev/null
+++ b/apps/CMakeLists.txt
@@ -0,0 +1,268 @@
+set(folder apps)
+########################################
+# cmake-generate progs.h

+  vms_decc_init.c
+  vms_term_sock.c
+  vms_term_sock.h
+  )
+########################################
+compareCmakeFilesys("${apps_srcs}")
