Skip to content

Instantly share code, notes, and snippets.

@schmod
Created August 8, 2013 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schmod/6184898 to your computer and use it in GitHub Desktop.
Save schmod/6184898 to your computer and use it in GitHub Desktop.
winpty.gyp modifications to fix build process. You may need the Windows SDK installed.
{
'targets' : [
{
'target_name' : 'winpty-agent',
'type' : 'executable',
'include_dirs' : [
'include',
],
'defines' : [
'UNICODE',
'_UNICODE',
'_WIN32_WINNT=0x0501',
'NOMINMAX',
],
'sources' : [
'agent/Agent.cc',
'agent/AgentAssert.cc',
'agent/ConsoleInput.cc',
'agent/Coord.cc',
'agent/EventLoop.cc',
'agent/NamedPipe.cc',
'agent/SmallRect.cc',
'agent/Terminal.cc',
'agent/Win32Console.cc',
'agent/main.cc',
'shared/DebugClient.cc',
],
'libraries' : [
'User32.lib'
]
},
{
'target_name' : 'winpty',
'type' : 'shared_library',
'include_dirs' : [
'include',
],
'defines' : [
'UNICODE',
'_UNICODE',
'_WIN32_WINNT=0x0501',
'NOMINMAX',
'WINPTY',
],
'sources' : [
'libwinpty/winpty.cc',
'shared/DebugClient.cc',
],
'libraries' : [
'User32.lib'
]
},
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment