winpty/winpty.gyp
Ryan Prichard 91ccab1443 Add a gyp project that can build winpty-agent and libwinpty.dll with MSVC.
Peter Rekdal submitted the original version of this file.  I made some
minor changes.

Update the .gitignore file to ignore files generated by building winpty
with MSVC.
2012-12-20 04:20:09 -08:00

67 lines
1.9 KiB
Python

{
'targets' : [
{
'target_name' : 'winpty-agent',
'type' : 'executable',
'include_dirs' : [
'include',
],
'defines' : [
'UNICODE',
'_UNICODE',
'_WIN32_WINNT=0x0501',
'NOMINMAX',
],
'sources' : [
'agent/Agent.h',
'agent/Agent.cc',
'agent/AgentAssert.h',
'agent/AgentAssert.cc',
'agent/ConsoleInput.cc',
'agent/ConsoleInput.h',
'agent/Coord.h',
'agent/Coord.cc',
'agent/DsrSender.h',
'agent/EventLoop.cc',
'agent/NamedPipe.h',
'agent/NamedPipe.cc',
'agent/SmallRect.h',
'agent/SmallRect.cc',
'agent/Terminal.h',
'agent/Terminal.cc',
'agent/Win32Console.cc',
'agent/Win32Console.h',
'agent/main.cc',
'shared/AgentMsg.h',
'shared/Buffer.h',
'shared/DebugClient.h',
'shared/DebugClient.cc',
'shared/c99_snprintf.h',
],
},
{
'target_name' : 'winpty',
'type' : 'shared_library',
'include_dirs' : [
'include',
],
'defines' : [
'UNICODE',
'_UNICODE',
'_WIN32_WINNT=0x0501',
'NOMINMAX',
'WINPTY',
],
'sources' : [
'include/winpty.h',
'libwinpty/winpty.cc',
'shared/AgentMsg.h',
'shared/Buffer.h',
'shared/DebugClient.h',
'shared/DebugClient.cc',
'shared/c99_snprintf.h',
],
},
],
}