Updates for VC++ projects.
This commit is contained in:
parent
7435a327f7
commit
7009cd8047
14
common.gypi
14
common.gypi
|
@ -88,6 +88,15 @@
|
|||
'OPENSSL_NO_INLINE_ASM',
|
||||
'OPENSSL_NO_NEXTPROTONEG',
|
||||
],
|
||||
|
||||
'conditions': [
|
||||
['OS == "win"', {
|
||||
'defines': [
|
||||
'_WIN64=1',
|
||||
],
|
||||
}],
|
||||
],
|
||||
|
||||
'cflags': [
|
||||
'-std=c99',
|
||||
],
|
||||
|
@ -115,7 +124,10 @@
|
|||
#'WarnAsError': 'true',
|
||||
'DebugInformationFormat': '3',
|
||||
'ExceptionHandling': '1', # /EHsc
|
||||
'AdditionalOptions': ['/MP'],
|
||||
'AdditionalOptions': [
|
||||
'/MP',
|
||||
'/TP', # Compile as C++
|
||||
],
|
||||
},
|
||||
#'VCLibrarianTool': {
|
||||
# 'AdditionalLibraryDirectories!':
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
['OS == "win"', {
|
||||
'defines': [
|
||||
'HAVE_WINSOCK2_H=1',
|
||||
'ssize_t=unsigned long long',
|
||||
],
|
||||
}],
|
||||
],
|
||||
|
@ -41,11 +42,17 @@
|
|||
],
|
||||
|
||||
'sources': [
|
||||
'wslay/lib/includes/wslay/wslay.h',
|
||||
'wslay/lib/wslay_event.c',
|
||||
'wslay/lib/wslay_event.h',
|
||||
'wslay/lib/wslay_frame.c',
|
||||
'wslay/lib/wslay_frame.h',
|
||||
'wslay/lib/wslay_net.c',
|
||||
'wslay/lib/wslay_net.h',
|
||||
'wslay/lib/wslay_queue.c',
|
||||
'wslay/lib/wslay_queue.h',
|
||||
'wslay/lib/wslay_stack.c',
|
||||
'wslay/lib/wslay_stack.h',
|
||||
],
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue