Update the debugger to work on Windows (#2684)

Changed the debugger-tcp.c file to include Windows specific
socket handling code and mode user all components are compilable
for Windows.

Added appveyor configuration to build with and without debugger.

JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
This commit is contained in:
Péter Gál
2019-01-17 11:40:29 +01:00
committed by Akos Kiss
parent 7934117625
commit 545c6c771b
5 changed files with 185 additions and 51 deletions
+4
View File
@@ -47,5 +47,9 @@ target_include_directories(${JERRY_EXT_NAME} PRIVATE ${INCLUDE_EXT_PRIVATE})
target_compile_definitions(${JERRY_EXT_NAME} PUBLIC ${DEFINES_EXT})
target_link_libraries(${JERRY_EXT_NAME} jerry-core)
if(USING_MSVC AND FEATURE_DEBUGGER)
target_link_libraries(${JERRY_EXT_NAME} ws2_32)
endif()
install(TARGETS ${JERRY_EXT_NAME} DESTINATION lib)
install(DIRECTORY ${INCLUDE_EXT_PUBLIC}/ DESTINATION include)