{ 'targets' : [ { 'target_name' : 'winpty-agent', 'type' : 'executable', 'include_dirs' : [ 'include', ], 'defines' : [ 'UNICODE', '_UNICODE', '_WIN32_WINNT=0x0501', 'NOMINMAX', ], 'libraries' : [ '-luser32.lib', ], 'sources' : [ 'agent/Agent.h', 'agent/Agent.cc', 'agent/ConsoleFont.cc', 'agent/ConsoleFont.h', 'agent/ConsoleInput.cc', 'agent/ConsoleInput.h', 'agent/ConsoleLine.cc', 'agent/ConsoleLine.h', 'agent/Coord.h', 'agent/Coord.cc', 'agent/DsrSender.h', 'agent/EventLoop.h', 'agent/EventLoop.cc', 'agent/LargeConsoleRead.h', 'agent/LargeConsoleRead.cc', 'agent/NamedPipe.h', 'agent/NamedPipe.cc', 'agent/SmallRect.h', 'agent/SmallRect.cc', 'agent/Terminal.h', 'agent/Terminal.cc', 'agent/UnicodeEncoding.h', 'agent/Win32Console.cc', 'agent/Win32Console.h', 'agent/main.cc', 'shared/AgentMsg.h', 'shared/Buffer.h', 'shared/DebugClient.h', 'shared/DebugClient.cc', 'shared/OsModule.h', 'shared/WinptyAssert.h', 'shared/WinptyAssert.cc', 'shared/c99_snprintf.h', 'shared/winpty_wcsnlen.cc', 'shared/winpty_wcsnlen.h', ], }, { 'target_name' : 'winpty', 'type' : 'shared_library', 'include_dirs' : [ 'include', ], 'defines' : [ 'UNICODE', '_UNICODE', '_WIN32_WINNT=0x0501', 'NOMINMAX', 'WINPTY', ], 'libraries' : [ '-luser32.lib', ], 'sources' : [ 'include/winpty.h', 'libwinpty/winpty.cc', 'shared/AgentMsg.h', 'shared/Buffer.h', 'shared/DebugClient.h', 'shared/DebugClient.cc', 'shared/c99_snprintf.h', ], }, { 'target_name' : 'winpty-debugserver', 'type' : 'executable', 'defines' : [ 'UNICODE', '_UNICODE', '_WIN32_WINNT=0x0501', 'NOMINMAX', ], 'sources' : [ 'debugserver/DebugServer.cc', ], } ], }