From c50a0282a6af0e6218a88561c712310368213d60 Mon Sep 17 00:00:00 2001 From: nanoric Date: Tue, 21 May 2019 15:18:59 +0800 Subject: [PATCH] =?UTF-8?q?[Add]=20ITap=20API:=20Visual=20Studio=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E4=BD=BF=E7=94=A8=E9=A2=84=E7=BC=96=E8=AF=91=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/api/itap/vnitap/pch.cpp | 21 ++++++++++++++ vnpy/api/itap/vnitap/pch.h | 1 + vnpy/api/itap/vnitap/vnitap.vcxproj | 31 +++++++++++++++------ vnpy/api/itap/vnitap/vnitap.vcxproj.filters | 6 ++++ 4 files changed, 51 insertions(+), 8 deletions(-) create mode 100644 vnpy/api/itap/vnitap/pch.cpp create mode 100644 vnpy/api/itap/vnitap/pch.h diff --git a/vnpy/api/itap/vnitap/pch.cpp b/vnpy/api/itap/vnitap/pch.cpp new file mode 100644 index 00000000..980fc28a --- /dev/null +++ b/vnpy/api/itap/vnitap/pch.cpp @@ -0,0 +1,21 @@ +#include "pch.h" + + + +#include +#include +#include +#include +#include + + +#include "generated_files/module.hpp" +#include "generated_files/wrappers.hpp" +#include "generated_files/generated_functions.h" + + +#include "iTapTradeAPI.h" +#include "TapQuoteAPI.h" +#include "TapAPIError.h" +#include "iTapAPIError.h" +#include "custom/custom_wrappers.hpp" diff --git a/vnpy/api/itap/vnitap/pch.h b/vnpy/api/itap/vnitap/pch.h new file mode 100644 index 00000000..6f70f09b --- /dev/null +++ b/vnpy/api/itap/vnitap/pch.h @@ -0,0 +1 @@ +#pragma once diff --git a/vnpy/api/itap/vnitap/vnitap.vcxproj b/vnpy/api/itap/vnitap/vnitap.vcxproj index fb4cb74f..02a742c1 100644 --- a/vnpy/api/itap/vnitap/vnitap.vcxproj +++ b/vnpy/api/itap/vnitap/vnitap.vcxproj @@ -30,6 +30,7 @@ + @@ -39,6 +40,12 @@ + + Create + Create + Create + Create + 16.0 @@ -53,6 +60,7 @@ true v142 Unicode + true DynamicLibrary @@ -60,12 +68,14 @@ v142 true Unicode + true DynamicLibrary true v142 Unicode + true DynamicLibrary @@ -73,6 +83,7 @@ v142 true Unicode + true @@ -124,14 +135,15 @@ - - + Use Level3 Disabled true WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true true + pch.h + pch.h Console @@ -141,8 +153,7 @@ - - + Use Level3 Disabled true @@ -150,6 +161,8 @@ true true stdcpp17 + pch.h + pch.h Console @@ -159,8 +172,7 @@ - - + Use Level3 MaxSpeed true @@ -170,6 +182,8 @@ true true MultiThreaded + pch.h + pch.h Console @@ -181,8 +195,7 @@ - - + Use Level3 MaxSpeed true @@ -193,6 +206,8 @@ true MultiThreaded stdcpp17 + pch.h + pch.h Console diff --git a/vnpy/api/itap/vnitap/vnitap.vcxproj.filters b/vnpy/api/itap/vnitap/vnitap.vcxproj.filters index a8b3d5d9..66749c2f 100644 --- a/vnpy/api/itap/vnitap/vnitap.vcxproj.filters +++ b/vnpy/api/itap/vnitap/vnitap.vcxproj.filters @@ -48,6 +48,9 @@ Header Files + + Header Files + @@ -71,5 +74,8 @@ Source Files + + Source Files + \ No newline at end of file