diff options
author | Jens Geyer <jensg@apache.org> | 2017-12-02 10:28:25 +0100 |
---|---|---|
committer | Jens Geyer <jensg@apache.org> | 2017-12-02 17:17:48 +0100 |
commit | d30a7d15991f38a9245ae3c3817df166dc260bbf (patch) | |
tree | c962e9117fa93a214baed5e53e7ad18cf354bd33 /compiler/cpp/compiler.vcxproj | |
parent | f3a2974dfe63b3a551b422868f3990112bda5bd8 (diff) | |
download | thrift-d30a7d15991f38a9245ae3c3817df166dc260bbf.tar.gz |
THRIFT-4400 Visual Studio Compiler project should link runtime statically in release builds
Client: Compiler (general)
Patch: Jens Geyer
This closes #1436
Diffstat (limited to 'compiler/cpp/compiler.vcxproj')
-rw-r--r-- | compiler/cpp/compiler.vcxproj | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/compiler/cpp/compiler.vcxproj b/compiler/cpp/compiler.vcxproj index 4b03253e2..0628b54c8 100644 --- a/compiler/cpp/compiler.vcxproj +++ b/compiler/cpp/compiler.vcxproj @@ -51,7 +51,7 @@ <ClInclude Include="src\thrift\version.h" /> </ItemGroup> <ItemGroup> - <ClCompile Include="src\thrift\audit\t_audit.cpp"/> + <ClCompile Include="src\thrift\audit\t_audit.cpp" /> <ClCompile Include="src\thrift\common.cc" /> <ClCompile Include="src\thrift\generate\t_as3_generator.cc" /> <ClCompile Include="src\thrift\generate\t_cocoa_generator.cc" /> @@ -196,7 +196,6 @@ </Link> <PreBuildEvent> <Command>flex -o "src\\thrift\\thriftl.cc" src/thrift/thriftl.ll && bison -y -o "src\\thrift\\thrifty.cc" --defines="src\\thrift\\thrifty.hh" src/thrift/thrifty.yy</Command> - </PreBuildEvent> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> @@ -210,6 +209,7 @@ <PreprocessorDefinitions>WIN32;MINGW;YY_NO_UNISTD_H;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> <ForcedIncludeFiles>thrift\windows\config.h</ForcedIncludeFiles> <CompileAs>CompileAsCpp</CompileAs> + <RuntimeLibrary>MultiThreaded</RuntimeLibrary> </ClCompile> <Link> <SubSystem>Console</SubSystem> @@ -219,7 +219,6 @@ </Link> <PreBuildEvent> <Command>flex -o "src\\thrift\\thriftl.cc" src/thrift/thriftl.ll && bison -y -o "src\\thrift\\thrifty.cc" --defines="src\\thrift\\thrifty.hh" src/thrift/thrifty.yy</Command> - </PreBuildEvent> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> @@ -233,6 +232,7 @@ <PreprocessorDefinitions>WIN32;MINGW;YY_NO_UNISTD_H;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> <ForcedIncludeFiles>thrift\windows\config.h</ForcedIncludeFiles> <CompileAs>CompileAsCpp</CompileAs> + <RuntimeLibrary>MultiThreaded</RuntimeLibrary> </ClCompile> <Link> <SubSystem>Console</SubSystem> @@ -242,10 +242,9 @@ </Link> <PreBuildEvent> <Command>flex -o "src\\thrift\\thriftl.cc" src/thrift/thriftl.ll && bison -y -o "src\\thrift\\thrifty.cc" --defines="src\\thrift\\thrifty.hh" src/thrift/thrifty.yy</Command> - </PreBuildEvent> </ItemDefinitionGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> </ImportGroup> -</Project> +</Project>
\ No newline at end of file |