# #Watt32 - TCP/IP static library for DOS large memory model programs # #The Watt32 TCP/IP stack library can be statically linked to a DOS application #in order to provide TCP/IP networking to a single DOS program. Can be used #with FreeDOS and the OpenWatcom compiler to write embedded applications for #PC-104 embedded computers. Can alternatively be used with a DOS extender or #on WIN32! Watt32 supports a wide range of compilers, including Watcom, clang #and Visual Studio. # #We are interested in Watt32 mainly to achieve networking for small embedded #applications under FreeDOS real mode, so we use the Watcom compiler to #generate code for the large memory model. # ExternalProject_Add ( watt32 PREFIX ${CMAKE_INSTALL_PREFIX} URL http://www.watt-32.net/watt32s.zip URL_MD5 bf9cf0525877f7a2658dad7d2892ea53 SOURCE_SUBDIR src PATCH_COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_LIST_DIR}/patch CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH= -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_TOOLCHAIN_FILE:PATH=${WATCOM_TOOLCHAIN_FILE} DEPENDS openwatcom )