| | { |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| |
|
| | 'variables': { |
| | 'WINPTY_COMMIT_HASH%': '<!(cmd /c "cd shared && GetCommitHash.bat")', |
| | }, |
| | 'target_defaults' : { |
| | 'defines' : [ |
| | 'UNICODE', |
| | '_UNICODE', |
| | '_WIN32_WINNT=0x0501', |
| | 'NOMINMAX', |
| | ], |
| | 'include_dirs': [ |
| | |
| | |
| | '<!(cmd /c "cd shared && UpdateGenVersion.bat <(WINPTY_COMMIT_HASH)")', |
| | ], |
| | }, |
| | 'targets' : [ |
| | { |
| | 'target_name' : 'winpty-agent', |
| | 'type' : 'executable', |
| | 'include_dirs' : [ |
| | 'include', |
| | ], |
| | 'defines' : [ |
| | 'WINPTY_AGENT_ASSERT', |
| | ], |
| | 'libraries' : [ |
| | '-ladvapi32', |
| | '-lshell32', |
| | '-luser32', |
| | ], |
| | 'msvs_settings': { |
| | |
| | |
| | 'VCCLCompilerTool': { |
| | 'ExceptionHandling': '1', |
| | }, |
| | }, |
| | 'sources' : [ |
| | 'agent/Agent.h', |
| | 'agent/Agent.cc', |
| | 'agent/AgentCreateDesktop.h', |
| | 'agent/AgentCreateDesktop.cc', |
| | 'agent/ConsoleFont.cc', |
| | 'agent/ConsoleFont.h', |
| | 'agent/ConsoleInput.cc', |
| | 'agent/ConsoleInput.h', |
| | 'agent/ConsoleInputReencoding.cc', |
| | 'agent/ConsoleInputReencoding.h', |
| | 'agent/ConsoleLine.cc', |
| | 'agent/ConsoleLine.h', |
| | 'agent/Coord.h', |
| | 'agent/DebugShowInput.h', |
| | 'agent/DebugShowInput.cc', |
| | 'agent/DefaultInputMap.h', |
| | 'agent/DefaultInputMap.cc', |
| | 'agent/DsrSender.h', |
| | 'agent/EventLoop.h', |
| | 'agent/EventLoop.cc', |
| | 'agent/InputMap.h', |
| | 'agent/InputMap.cc', |
| | 'agent/LargeConsoleRead.h', |
| | 'agent/LargeConsoleRead.cc', |
| | 'agent/NamedPipe.h', |
| | 'agent/NamedPipe.cc', |
| | 'agent/Scraper.h', |
| | 'agent/Scraper.cc', |
| | 'agent/SimplePool.h', |
| | 'agent/SmallRect.h', |
| | 'agent/Terminal.h', |
| | 'agent/Terminal.cc', |
| | 'agent/UnicodeEncoding.h', |
| | 'agent/Win32Console.cc', |
| | 'agent/Win32Console.h', |
| | 'agent/Win32ConsoleBuffer.cc', |
| | 'agent/Win32ConsoleBuffer.h', |
| | 'agent/main.cc', |
| | 'shared/AgentMsg.h', |
| | 'shared/BackgroundDesktop.h', |
| | 'shared/BackgroundDesktop.cc', |
| | 'shared/Buffer.h', |
| | 'shared/Buffer.cc', |
| | 'shared/DebugClient.h', |
| | 'shared/DebugClient.cc', |
| | 'shared/GenRandom.h', |
| | 'shared/GenRandom.cc', |
| | 'shared/OsModule.h', |
| | 'shared/OwnedHandle.h', |
| | 'shared/OwnedHandle.cc', |
| | 'shared/StringBuilder.h', |
| | 'shared/StringUtil.cc', |
| | 'shared/StringUtil.h', |
| | 'shared/UnixCtrlChars.h', |
| | 'shared/WindowsSecurity.cc', |
| | 'shared/WindowsSecurity.h', |
| | 'shared/WindowsVersion.h', |
| | 'shared/WindowsVersion.cc', |
| | 'shared/WinptyAssert.h', |
| | 'shared/WinptyAssert.cc', |
| | 'shared/WinptyException.h', |
| | 'shared/WinptyException.cc', |
| | 'shared/WinptyVersion.h', |
| | 'shared/WinptyVersion.cc', |
| | 'shared/winpty_snprintf.h', |
| | ], |
| | }, |
| | { |
| | 'target_name' : 'winpty', |
| | 'type' : 'shared_library', |
| | 'include_dirs' : [ |
| | 'include', |
| | ], |
| | 'defines' : [ |
| | 'COMPILING_WINPTY_DLL', |
| | ], |
| | 'libraries' : [ |
| | '-ladvapi32', |
| | '-luser32', |
| | ], |
| | 'msvs_settings': { |
| | |
| | |
| | 'VCCLCompilerTool': { |
| | 'ExceptionHandling': '1', |
| | }, |
| | }, |
| | 'sources' : [ |
| | 'include/winpty.h', |
| | 'libwinpty/AgentLocation.cc', |
| | 'libwinpty/AgentLocation.h', |
| | 'libwinpty/winpty.cc', |
| | 'shared/AgentMsg.h', |
| | 'shared/BackgroundDesktop.h', |
| | 'shared/BackgroundDesktop.cc', |
| | 'shared/Buffer.h', |
| | 'shared/Buffer.cc', |
| | 'shared/DebugClient.h', |
| | 'shared/DebugClient.cc', |
| | 'shared/GenRandom.h', |
| | 'shared/GenRandom.cc', |
| | 'shared/OsModule.h', |
| | 'shared/OwnedHandle.h', |
| | 'shared/OwnedHandle.cc', |
| | 'shared/StringBuilder.h', |
| | 'shared/StringUtil.cc', |
| | 'shared/StringUtil.h', |
| | 'shared/WindowsSecurity.cc', |
| | 'shared/WindowsSecurity.h', |
| | 'shared/WindowsVersion.h', |
| | 'shared/WindowsVersion.cc', |
| | 'shared/WinptyAssert.h', |
| | 'shared/WinptyAssert.cc', |
| | 'shared/WinptyException.h', |
| | 'shared/WinptyException.cc', |
| | 'shared/WinptyVersion.h', |
| | 'shared/WinptyVersion.cc', |
| | 'shared/winpty_snprintf.h', |
| | ], |
| | }, |
| | { |
| | 'target_name' : 'winpty-debugserver', |
| | 'type' : 'executable', |
| | 'msvs_settings': { |
| | |
| | |
| | 'VCCLCompilerTool': { |
| | 'ExceptionHandling': '1', |
| | }, |
| | }, |
| | 'sources' : [ |
| | 'debugserver/DebugServer.cc', |
| | 'shared/DebugClient.h', |
| | 'shared/DebugClient.cc', |
| | 'shared/OwnedHandle.h', |
| | 'shared/OwnedHandle.cc', |
| | 'shared/OsModule.h', |
| | 'shared/StringBuilder.h', |
| | 'shared/StringUtil.cc', |
| | 'shared/StringUtil.h', |
| | 'shared/WindowsSecurity.h', |
| | 'shared/WindowsSecurity.cc', |
| | 'shared/WindowsVersion.h', |
| | 'shared/WindowsVersion.cc', |
| | 'shared/WinptyAssert.h', |
| | 'shared/WinptyAssert.cc', |
| | 'shared/WinptyException.h', |
| | 'shared/WinptyException.cc', |
| | 'shared/winpty_snprintf.h', |
| | ], |
| | 'libraries' : [ |
| | '-ladvapi32', |
| | ], |
| | } |
| | ], |
| | } |
| |
|