57976cf613
* try to import mbedtls and build it * add stubs socket class * some boilterplate, read and write function implemented * more boilterplate / current error in handshake because no CA cert is setup * add something so skip ca verification, can ws curl https://google.com ! * cleanup / close implemented * tweak CMakefiles * typo in include * update readme * disable unittests
10 lines
328 B
CMake
10 lines
328 B
CMake
add_executable(hello hello.c)
|
|
target_link_libraries(hello mbedcrypto)
|
|
|
|
add_executable(generic_sum generic_sum.c)
|
|
target_link_libraries(generic_sum mbedcrypto)
|
|
|
|
install(TARGETS hello generic_sum
|
|
DESTINATION "bin"
|
|
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
|