 diff --git a/CMakeLists.txt b/CMakeLists.txt
 new file mode 100644
-index 0000000000..f47315f30e
+index 0000000000..16f0a0c34a
 --- /dev/null
 +++ b/CMakeLists.txt
 @@ -0,0 +1,113 @@

+target_include_directories(${lib_name} PRIVATE
+  ${CMAKE_CURRENT_SOURCE_DIR}/include
+  ${CMAKE_CURRENT_BINARY_DIR}/include # buildinf.h, internal/[bn|dso]_conf.h
+  ec/curve448
+  ec/curve448/arch_32
+  modes # evp includes modes_lcl.h

+  list(APPEND OPENSSL_DEFS
+    -DOPENSSL_USE_NODELETE
+    )
+  set(asmDir asmfromnode/archs/linux-${CMAKE_SYSTEM_PROCESSOR}/asm)
+endif()
+if((CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64" OR CMAKE_SYSTEM_PROCESSOR MATCHES "AMD64") AND WIN32)
+  enable_language(ASM_NASM) # -DCMAKE_ASM_NASM_COMPILER=/path/to/nasm.exe
