Skip to content
This repository was archived by the owner on Jan 12, 2025. It is now read-only.

Files

Latest commit

 

History

History
32 lines (26 loc) · 1.65 KB

BUILD.md

File metadata and controls

32 lines (26 loc) · 1.65 KB

Build

  1. Download gdax_zorro_plugin:

    git clone https://github.com/kzhdev/gdax_zorro_plugin.git

  2. Download dependencies:

    cd gdax_zorro_plugin

    git submodule update --init --recursive

  3. Open the project in Visual Studio

  4. Edit gdax_zorro_plugin.vcxproj.user (Optional) After opening the soluion in Visual Studio, an gdax_zorro_plugin.vcxproj.user file should be created in gdax_zorro_plugin folder. Open the gdax_zorro_plugin.vcxproj.user file in any editor and add the <LocalDebuggerCommand> and <OutDir> in the file. It should point to the Zorro.exe and plugin folder in your machine. This will put the build Gdax.dll directly into Zorro's plugin folder. And launch Zorro automatically when debugging the project in Visual Studio.

    <?xml version="1.0" encoding="utf-8"?>
    <Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
       <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
         <LocalDebuggerCommand>C:\Zorro_2.30\Zorro.exe</LocalDebuggerCommand>
         <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
         <OutDir>C:\Zorro_2.30\Plugin</OutDir>
       </PropertyGroup>
       <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
         <LocalDebuggerCommand>C:\Zorro_2.30\Zorro.exe</LocalDebuggerCommand>
         <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
         <OutDir>C:\Zorro_2.30\Plugin</OutDir>
       </PropertyGroup>
    </Project>

    If the .user file not created, you can manually create the file and the contents. NOTE: Change C:\Zorro_2.30 to the Zorro path on your machine.