Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Alderaan
librdkafka
提交
428fa8a9
L
librdkafka
项目概览
Alderaan
/
librdkafka
通知
9
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
librdkafka
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
428fa8a9
编写于
8月 29, 2016
作者:
P
Pēteris Kļaviņš
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix tiny WIN32 problems building 32-bit debug and release projects.
上级
26448824
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
40 addition
and
23 deletion
+40
-23
README.win32
README.win32
+2
-2
win32/librdkafka.sln
win32/librdkafka.sln
+15
-1
win32/librdkafka.vcxproj
win32/librdkafka.vcxproj
+3
-3
win32/librdkafkacpp/librdkafkacpp.vcxproj
win32/librdkafkacpp/librdkafkacpp.vcxproj
+4
-4
win32/rdkafka_consumer_example_cpp/rdkafka_consumer_example_cpp.vcxproj
...consumer_example_cpp/rdkafka_consumer_example_cpp.vcxproj
+8
-5
win32/rdkafka_example/rdkafka_example.vcxproj
win32/rdkafka_example/rdkafka_example.vcxproj
+4
-4
win32/tests/tests.vcxproj
win32/tests/tests.vcxproj
+4
-4
未找到文件。
README.win32
浏览文件 @
428fa8a9
Native win32 build instructions using Microsoft Visual Studio (MSVC).
Native win32 build instructions using Microsoft Visual Studio
2013
(MSVC).
Requirements:
* zlib is installed automatically from NuGet,
but probably requires the NuGet VS extension.
* OpenSSL-win32 must be installed in C:\OpenSSL-win32.
Download and install the latest non-light package from:
Download and install the latest
v1.0.2
non-light package from:
https://slproweb.com/products/Win32OpenSSL.html
(This would be using NuGet too but the current
OpenSSL packages are outdated and with broken
...
...
win32/librdkafka.sln
浏览文件 @
428fa8a9
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.31101.0
...
...
@@ -94,6 +94,20 @@ Global
{84585784-5BDC-43BE-B714-23EA2E7AEA5B}.Release|Win32.Build.0 = Release|Win32
{84585784-5BDC-43BE-B714-23EA2E7AEA5B}.Release|x64.ActiveCfg = Release|x64
{84585784-5BDC-43BE-B714-23EA2E7AEA5B}.Release|x64.Build.0 = Release|x64
{42009208-3AF5-481E-BE01-74DF7B0759D1}.Debug|Any CPU.ActiveCfg = Debug|Win32
{42009208-3AF5-481E-BE01-74DF7B0759D1}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
{42009208-3AF5-481E-BE01-74DF7B0759D1}.Debug|Mixed Platforms.Build.0 = Debug|Win32
{42009208-3AF5-481E-BE01-74DF7B0759D1}.Debug|Win32.ActiveCfg = Debug|Win32
{42009208-3AF5-481E-BE01-74DF7B0759D1}.Debug|Win32.Build.0 = Debug|Win32
{42009208-3AF5-481E-BE01-74DF7B0759D1}.Debug|x64.ActiveCfg = Debug|x64
{42009208-3AF5-481E-BE01-74DF7B0759D1}.Debug|x64.Build.0 = Debug|x64
{42009208-3AF5-481E-BE01-74DF7B0759D1}.Release|Any CPU.ActiveCfg = Release|Win32
{42009208-3AF5-481E-BE01-74DF7B0759D1}.Release|Mixed Platforms.ActiveCfg = Release|Win32
{42009208-3AF5-481E-BE01-74DF7B0759D1}.Release|Mixed Platforms.Build.0 = Release|Win32
{42009208-3AF5-481E-BE01-74DF7B0759D1}.Release|Win32.ActiveCfg = Release|Win32
{42009208-3AF5-481E-BE01-74DF7B0759D1}.Release|Win32.Build.0 = Release|Win32
{42009208-3AF5-481E-BE01-74DF7B0759D1}.Release|x64.ActiveCfg = Release|x64
{42009208-3AF5-481E-BE01-74DF7B0759D1}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
...
...
win32/librdkafka.vcxproj
浏览文件 @
428fa8a9
...
...
@@ -34,20 +34,20 @@
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
Label=
"Configuration"
>
<ConfigurationType>
DynamicLibrary
</ConfigurationType>
<UseDebugLibraries>
true
</UseDebugLibraries>
<PlatformToolset>
v1
4
0
</PlatformToolset>
<PlatformToolset>
v1
2
0
</PlatformToolset>
<CharacterSet>
Unicode
</CharacterSet>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
Label=
"Configuration"
>
<ConfigurationType>
DynamicLibrary
</ConfigurationType>
<UseDebugLibraries>
false
</UseDebugLibraries>
<PlatformToolset>
v1
4
0
</PlatformToolset>
<PlatformToolset>
v1
2
0
</PlatformToolset>
<WholeProgramOptimization>
true
</WholeProgramOptimization>
<CharacterSet>
Unicode
</CharacterSet>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
Label=
"Configuration"
>
<ConfigurationType>
DynamicLibrary
</ConfigurationType>
<UseDebugLibraries>
false
</UseDebugLibraries>
<PlatformToolset>
v1
4
0
</PlatformToolset>
<PlatformToolset>
v1
2
0
</PlatformToolset>
<WholeProgramOptimization>
true
</WholeProgramOptimization>
<CharacterSet>
Unicode
</CharacterSet>
</PropertyGroup>
...
...
win32/librdkafkacpp/librdkafkacpp.vcxproj
浏览文件 @
428fa8a9
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project
DefaultTargets=
"Build"
ToolsVersion=
"14.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<ItemGroup
Label=
"ProjectConfigurations"
>
<ProjectConfiguration
Include=
"Debug|Win32"
>
...
...
@@ -35,20 +35,20 @@
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
Label=
"Configuration"
>
<ConfigurationType>
DynamicLibrary
</ConfigurationType>
<UseDebugLibraries>
true
</UseDebugLibraries>
<PlatformToolset>
v1
4
0
</PlatformToolset>
<PlatformToolset>
v1
2
0
</PlatformToolset>
<CharacterSet>
Unicode
</CharacterSet>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
Label=
"Configuration"
>
<ConfigurationType>
DynamicLibrary
</ConfigurationType>
<UseDebugLibraries>
false
</UseDebugLibraries>
<PlatformToolset>
v1
4
0
</PlatformToolset>
<PlatformToolset>
v1
2
0
</PlatformToolset>
<WholeProgramOptimization>
true
</WholeProgramOptimization>
<CharacterSet>
Unicode
</CharacterSet>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
Label=
"Configuration"
>
<ConfigurationType>
DynamicLibrary
</ConfigurationType>
<UseDebugLibraries>
false
</UseDebugLibraries>
<PlatformToolset>
v1
4
0
</PlatformToolset>
<PlatformToolset>
v1
2
0
</PlatformToolset>
<WholeProgramOptimization>
true
</WholeProgramOptimization>
<CharacterSet>
Unicode
</CharacterSet>
</PropertyGroup>
...
...
win32/rdkafka_consumer_example_cpp/rdkafka_consumer_example_cpp.vcxproj
浏览文件 @
428fa8a9
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project
DefaultTargets=
"Build"
ToolsVersion=
"14.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<ItemGroup
Label=
"ProjectConfigurations"
>
<ProjectConfiguration
Include=
"Debug|Win32"
>
...
...
@@ -28,26 +28,26 @@
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
Label=
"Configuration"
>
<ConfigurationType>
Application
</ConfigurationType>
<UseDebugLibraries>
true
</UseDebugLibraries>
<PlatformToolset>
v1
4
0
</PlatformToolset>
<PlatformToolset>
v1
2
0
</PlatformToolset>
<CharacterSet>
Unicode
</CharacterSet>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
Label=
"Configuration"
>
<ConfigurationType>
Application
</ConfigurationType>
<UseDebugLibraries>
false
</UseDebugLibraries>
<PlatformToolset>
v1
4
0
</PlatformToolset>
<PlatformToolset>
v1
2
0
</PlatformToolset>
<WholeProgramOptimization>
true
</WholeProgramOptimization>
<CharacterSet>
Unicode
</CharacterSet>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
Label=
"Configuration"
>
<ConfigurationType>
Application
</ConfigurationType>
<UseDebugLibraries>
true
</UseDebugLibraries>
<PlatformToolset>
v1
4
0
</PlatformToolset>
<PlatformToolset>
v1
2
0
</PlatformToolset>
<CharacterSet>
Unicode
</CharacterSet>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
Label=
"Configuration"
>
<ConfigurationType>
Application
</ConfigurationType>
<UseDebugLibraries>
false
</UseDebugLibraries>
<PlatformToolset>
v1
4
0
</PlatformToolset>
<PlatformToolset>
v1
2
0
</PlatformToolset>
<WholeProgramOptimization>
true
</WholeProgramOptimization>
<CharacterSet>
Unicode
</CharacterSet>
</PropertyGroup>
...
...
@@ -122,12 +122,15 @@
<IntrinsicFunctions>
true
</IntrinsicFunctions>
<PreprocessorDefinitions>
WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<SDLCheck>
true
</SDLCheck>
<AdditionalIncludeDirectories>
$(SolutionDir)/../src-cpp
</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>
Console
</SubSystem>
<EnableCOMDATFolding>
true
</EnableCOMDATFolding>
<OptimizeReferences>
true
</OptimizeReferences>
<GenerateDebugInformation>
true
</GenerateDebugInformation>
<AdditionalDependencies>
librdkafkacpp.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)
</AdditionalDependencies>
<AdditionalLibraryDirectories>
$(SolutionDir)\$(ConfigurationName)
</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
...
...
win32/rdkafka_example/rdkafka_example.vcxproj
浏览文件 @
428fa8a9
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project
DefaultTargets=
"Build"
ToolsVersion=
"14.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<ItemGroup
Label=
"ProjectConfigurations"
>
<ProjectConfiguration
Include=
"Debug|Win32"
>
...
...
@@ -34,20 +34,20 @@
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
Label=
"Configuration"
>
<ConfigurationType>
Application
</ConfigurationType>
<UseDebugLibraries>
true
</UseDebugLibraries>
<PlatformToolset>
v1
4
0
</PlatformToolset>
<PlatformToolset>
v1
2
0
</PlatformToolset>
<CharacterSet>
Unicode
</CharacterSet>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
Label=
"Configuration"
>
<ConfigurationType>
Application
</ConfigurationType>
<UseDebugLibraries>
false
</UseDebugLibraries>
<PlatformToolset>
v1
4
0
</PlatformToolset>
<PlatformToolset>
v1
2
0
</PlatformToolset>
<WholeProgramOptimization>
true
</WholeProgramOptimization>
<CharacterSet>
Unicode
</CharacterSet>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
Label=
"Configuration"
>
<ConfigurationType>
Application
</ConfigurationType>
<UseDebugLibraries>
false
</UseDebugLibraries>
<PlatformToolset>
v1
4
0
</PlatformToolset>
<PlatformToolset>
v1
2
0
</PlatformToolset>
<WholeProgramOptimization>
true
</WholeProgramOptimization>
<CharacterSet>
Unicode
</CharacterSet>
</PropertyGroup>
...
...
win32/tests/tests.vcxproj
浏览文件 @
428fa8a9
...
...
@@ -33,20 +33,20 @@
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
Label=
"Configuration"
>
<ConfigurationType>
Application
</ConfigurationType>
<UseDebugLibraries>
true
</UseDebugLibraries>
<PlatformToolset>
v1
4
0
</PlatformToolset>
<PlatformToolset>
v1
2
0
</PlatformToolset>
<CharacterSet>
Unicode
</CharacterSet>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
Label=
"Configuration"
>
<ConfigurationType>
Application
</ConfigurationType>
<UseDebugLibraries>
false
</UseDebugLibraries>
<PlatformToolset>
v1
4
0
</PlatformToolset>
<PlatformToolset>
v1
2
0
</PlatformToolset>
<WholeProgramOptimization>
true
</WholeProgramOptimization>
<CharacterSet>
Unicode
</CharacterSet>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
Label=
"Configuration"
>
<ConfigurationType>
Application
</ConfigurationType>
<UseDebugLibraries>
false
</UseDebugLibraries>
<PlatformToolset>
v1
4
0
</PlatformToolset>
<PlatformToolset>
v1
2
0
</PlatformToolset>
<WholeProgramOptimization>
true
</WholeProgramOptimization>
<CharacterSet>
Unicode
</CharacterSet>
</PropertyGroup>
...
...
@@ -137,7 +137,7 @@
<GenerateDebugInformation>
true
</GenerateDebugInformation>
<EnableCOMDATFolding>
true
</EnableCOMDATFolding>
<OptimizeReferences>
true
</OptimizeReferences>
<AdditionalDependencies>
librdkafka.lib;librdkafkacpp.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)
</AdditionalDependencies>
<AdditionalDependencies>
librdkafka.lib;librdkafkacpp.lib;
ws2_32.lib;
kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)
</AdditionalDependencies>
<AdditionalLibraryDirectories>
$(SolutionDir)\$(ConfigurationName)
</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录