303ddb9b4a
Also add agent/EventLoop.h. I don't know why it wasn't listed. With these changes, gyp no longer complains about missing files. Unfortunately I can't do more testing at the moment. This commit might fix issue https://github.com/rprichard/winpty/issues/55.
97 lines
2.9 KiB
Python
97 lines
2.9 KiB
Python
{
|
|
'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',
|
|
],
|
|
}
|
|
],
|
|
}
|