You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ph...@apache.org on 2018/01/10 11:11:58 UTC
[16/19] nifi-minifi-cpp git commit: MINIFICPP-342: MQTT extension
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a8703b5c/thirdparty/paho.mqtt.c/Windows Build/test4/test4.vcxproj.filters
----------------------------------------------------------------------
diff --git a/thirdparty/paho.mqtt.c/Windows Build/test4/test4.vcxproj.filters b/thirdparty/paho.mqtt.c/Windows Build/test4/test4.vcxproj.filters
new file mode 100644
index 0000000..6ea29d7
--- /dev/null
+++ b/thirdparty/paho.mqtt.c/Windows Build/test4/test4.vcxproj.filters
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+ <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\src\MQTTClientPersistence.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\src\MQTTAsync.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\test\test4.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+</Project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a8703b5c/thirdparty/paho.mqtt.c/Windows Build/test5/test5.vcxproj
----------------------------------------------------------------------
diff --git a/thirdparty/paho.mqtt.c/Windows Build/test5/test5.vcxproj b/thirdparty/paho.mqtt.c/Windows Build/test5/test5.vcxproj
new file mode 100755
index 0000000..f0ee0b2
--- /dev/null
+++ b/thirdparty/paho.mqtt.c/Windows Build/test5/test5.vcxproj
@@ -0,0 +1,173 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug|Win32">
+ <Configuration>Debug</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Debug|x64">
+ <Configuration>Debug</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|Win32">
+ <Configuration>Release</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{B8A895EA-C8DE-4235-B4B4-06889BBBDC93}</ProjectGuid>
+ <Keyword>Win32Proj</Keyword>
+ <RootNamespace>test1</RootNamespace>
+ <WindowsTargetPlatformVersion>10.0.14393.0</WindowsTargetPlatformVersion>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <PlatformToolset>v141</PlatformToolset>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <PlatformToolset>v141</PlatformToolset>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <PlatformToolset>v141</PlatformToolset>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <PlatformToolset>v141</PlatformToolset>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <LinkIncremental>true</LinkIncremental>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <LinkIncremental>true</LinkIncremental>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <LinkIncremental>false</LinkIncremental>
+ <OutDir>$(SolutionDir)..\build\output\test\</OutDir>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <LinkIncremental>false</LinkIncremental>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <ClCompile>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>Disabled</Optimization>
+ <PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;_WINDOWS;WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <SDLCheck>true</SDLCheck>
+ <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(OpenSSLDir)\include</AdditionalIncludeDirectories>
+ <DisableSpecificWarnings>4996</DisableSpecificWarnings>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <AdditionalLibraryDirectories>$(SolutionDir)..\build\output\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>ws2_32.lib;paho-mqtt3as.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <ClCompile>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>Disabled</Optimization>
+ <PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;_WINDOWS;WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <SDLCheck>true</SDLCheck>
+ <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(OpenSSLDir)\include</AdditionalIncludeDirectories>
+ <DisableSpecificWarnings>4996</DisableSpecificWarnings>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <AdditionalLibraryDirectories>$(SolutionDir)\x64\$(Configuration)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>ws2_32.lib;paho-mqtt3as.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <Optimization>MaxSpeed</Optimization>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;_WINDOWS;WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <SDLCheck>true</SDLCheck>
+ <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(OpenSSLDir)\include</AdditionalIncludeDirectories>
+ <DisableSpecificWarnings>4996</DisableSpecificWarnings>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <OptimizeReferences>true</OptimizeReferences>
+ <AdditionalLibraryDirectories>$(SolutionDir)..\build\output\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>ws2_32.lib;paho-mqtt3as.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <Optimization>MaxSpeed</Optimization>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;_WINDOWS;WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <SDLCheck>true</SDLCheck>
+ <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(OpenSSLDir)\include</AdditionalIncludeDirectories>
+ <DisableSpecificWarnings>4996</DisableSpecificWarnings>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <OptimizeReferences>true</OptimizeReferences>
+ <AdditionalLibraryDirectories>$(SolutionDir)\x64\$(Configuration)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>ws2_32.lib;paho-mqtt3as.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\src\MQTTAsync.h" />
+ <ClInclude Include="..\..\src\MQTTClientPersistence.h" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\test\test5.c" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a8703b5c/thirdparty/paho.mqtt.c/Windows Build/test5/test5.vcxproj.filters
----------------------------------------------------------------------
diff --git a/thirdparty/paho.mqtt.c/Windows Build/test5/test5.vcxproj.filters b/thirdparty/paho.mqtt.c/Windows Build/test5/test5.vcxproj.filters
new file mode 100644
index 0000000..a9e956e
--- /dev/null
+++ b/thirdparty/paho.mqtt.c/Windows Build/test5/test5.vcxproj.filters
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+ <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\src\MQTTClientPersistence.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\src\MQTTAsync.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\test\test5.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+</Project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a8703b5c/thirdparty/paho.mqtt.c/Windows Build/test9/test9.vcxproj
----------------------------------------------------------------------
diff --git a/thirdparty/paho.mqtt.c/Windows Build/test9/test9.vcxproj b/thirdparty/paho.mqtt.c/Windows Build/test9/test9.vcxproj
new file mode 100644
index 0000000..19d966f
--- /dev/null
+++ b/thirdparty/paho.mqtt.c/Windows Build/test9/test9.vcxproj
@@ -0,0 +1,170 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug|Win32">
+ <Configuration>Debug</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Debug|x64">
+ <Configuration>Debug</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|Win32">
+ <Configuration>Release</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{D133C05E-87A6-48C6-A703-188A83B82400}</ProjectGuid>
+ <Keyword>Win32Proj</Keyword>
+ <RootNamespace>test9</RootNamespace>
+ <WindowsTargetPlatformVersion>10.0.14393.0</WindowsTargetPlatformVersion>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <PlatformToolset>v141</PlatformToolset>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <PlatformToolset>v141</PlatformToolset>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <PlatformToolset>v141</PlatformToolset>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <PlatformToolset>v141</PlatformToolset>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <LinkIncremental>true</LinkIncremental>
+ <OutDir>$(SolutionDir)..\build\output\test\</OutDir>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <LinkIncremental>true</LinkIncremental>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <LinkIncremental>false</LinkIncremental>
+ <OutDir>$(SolutionDir)..\build\output\test\</OutDir>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <LinkIncremental>false</LinkIncremental>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <ClCompile>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>Disabled</Optimization>
+ <PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;_WINDOWS;WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>$(SolutionDir)\..\src</AdditionalIncludeDirectories>
+ <DisableSpecificWarnings>4996</DisableSpecificWarnings>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <AdditionalLibraryDirectories>$(SolutionDir)..\build\output\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>ws2_32.lib;paho-mqtt3a.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>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <ClCompile>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>Disabled</Optimization>
+ <PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;_WINDOWS;WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>$(SolutionDir)\..\src</AdditionalIncludeDirectories>
+ <DisableSpecificWarnings>4996</DisableSpecificWarnings>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <AdditionalLibraryDirectories>$(SolutionDir)\x64\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>ws2_32.lib;paho-mqtt3a.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>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <Optimization>MaxSpeed</Optimization>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;_WINDOWS;WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>$(SolutionDir)\..\src</AdditionalIncludeDirectories>
+ <DisableSpecificWarnings>4996</DisableSpecificWarnings>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <OptimizeReferences>true</OptimizeReferences>
+ <AdditionalLibraryDirectories>$(SolutionDir)..\build\output\;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>ws2_32.lib;paho-mqtt3a.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>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <Optimization>MaxSpeed</Optimization>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <PreprocessorDefinitions>WIN32_LEAN_AND_MEAN;_WINDOWS;WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>$(SolutionDir)\..\src</AdditionalIncludeDirectories>
+ <DisableSpecificWarnings>4996</DisableSpecificWarnings>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <OptimizeReferences>true</OptimizeReferences>
+ <AdditionalLibraryDirectories>$(SolutionDir)\x64\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>ws2_32.lib;paho-mqtt3a.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>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\test\test9.c" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\src\MQTTAsync.h" />
+ <ClInclude Include="..\..\src\MQTTClientPersistence.h" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a8703b5c/thirdparty/paho.mqtt.c/Windows Build/test9/test9.vcxproj.filters
----------------------------------------------------------------------
diff --git a/thirdparty/paho.mqtt.c/Windows Build/test9/test9.vcxproj.filters b/thirdparty/paho.mqtt.c/Windows Build/test9/test9.vcxproj.filters
new file mode 100644
index 0000000..dc608bf
--- /dev/null
+++ b/thirdparty/paho.mqtt.c/Windows Build/test9/test9.vcxproj.filters
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+ <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="..\..\test\test9.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="..\..\src\MQTTAsync.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="..\..\src\MQTTClientPersistence.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+</Project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a8703b5c/thirdparty/paho.mqtt.c/about.html
----------------------------------------------------------------------
diff --git a/thirdparty/paho.mqtt.c/about.html b/thirdparty/paho.mqtt.c/about.html
new file mode 100644
index 0000000..6555a44
--- /dev/null
+++ b/thirdparty/paho.mqtt.c/about.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p><em>December 9, 2013</em></p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 ("EPL") and Eclipse Distribution License Version 1.0 ("EDL").
+A copy of the EPL is available at
+<a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>
+and a copy of the EDL is available at
+<a href="http://www.eclipse.org/org/documents/edl-v10.php">http://www.eclipse.org/org/documents/edl-v10.php</a>.
+For purposes of the EPL, "Program" will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party ("Redistributor") and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+
+</body></html>
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a8703b5c/thirdparty/paho.mqtt.c/android/Android.mk
----------------------------------------------------------------------
diff --git a/thirdparty/paho.mqtt.c/android/Android.mk b/thirdparty/paho.mqtt.c/android/Android.mk
new file mode 100644
index 0000000..6338da5
--- /dev/null
+++ b/thirdparty/paho.mqtt.c/android/Android.mk
@@ -0,0 +1,140 @@
+# Example: Android Native Library makefile for paho.mqtt.c
+# contributed by Bin Li <bi...@windriver.com>
+
+LOCAL_PATH := $(call my-dir)
+libpaho-mqtt3_lib_path := ../src
+libpaho-mqtt3_c_includes := $(LOCAL_PATH)/$(libpaho-mqtt3_lib_path) \
+ external/hdc/android-ifaddrs \
+ external/openssl/include \
+ external/zlib
+
+# build sample util
+define build_sample_util
+__sample_module:= $1
+__sample_lib:= $2
+include $(CLEAR_VARS)
+LOCAL_C_INCLUDES := $(libpaho-mqtt3_c_includes)
+LOCAL_SHARED_LIBRARIES := $$(__sample_lib)
+LOCAL_MODULE := $$(__sample_module)
+LOCAL_SRC_FILES := $(libpaho-mqtt3_lib_path)/samples/$$(__sample_module).c
+include $(BUILD_EXECUTABLE)
+endef
+
+libpaho-mqtt3_local_src_c_files_common := \
+ $(libpaho-mqtt3_lib_path)/MQTTProtocolClient.c \
+ $(libpaho-mqtt3_lib_path)/Tree.c \
+ $(libpaho-mqtt3_lib_path)/Heap.c \
+ $(libpaho-mqtt3_lib_path)/MQTTPacket.c \
+ $(libpaho-mqtt3_lib_path)/Clients.c \
+ $(libpaho-mqtt3_lib_path)/Thread.c \
+ $(libpaho-mqtt3_lib_path)/utf-8.c \
+ $(libpaho-mqtt3_lib_path)/StackTrace.c \
+ $(libpaho-mqtt3_lib_path)/MQTTProtocolOut.c \
+ $(libpaho-mqtt3_lib_path)/Socket.c \
+ $(libpaho-mqtt3_lib_path)/Log.c \
+ $(libpaho-mqtt3_lib_path)/Messages.c \
+ $(libpaho-mqtt3_lib_path)/LinkedList.c \
+ $(libpaho-mqtt3_lib_path)/MQTTPersistence.c \
+ $(libpaho-mqtt3_lib_path)/MQTTPacketOut.c \
+ $(libpaho-mqtt3_lib_path)/SocketBuffer.c \
+ $(libpaho-mqtt3_lib_path)/MQTTPersistenceDefault.c \
+
+libpaho-mqtt3_local_src_c_files_c := \
+ $(libpaho-mqtt3_lib_path)/MQTTClient.c \
+
+libpaho-mqtt3_local_src_c_files_cs := \
+ $(libpaho-mqtt3_lib_path)/MQTTClient.c \
+ $(libpaho-mqtt3_lib_path)/SSLSocket.c \
+
+libpaho-mqtt3_local_src_c_files_a := \
+ $(libpaho-mqtt3_lib_path)/MQTTAsync.c \
+
+libpaho-mqtt3_local_src_c_files_as := \
+ $(libpaho-mqtt3_lib_path)/MQTTAsync.c \
+ $(libpaho-mqtt3_lib_path)/SSLSocket.c \
+
+# update the header file which normally generated by cmake
+$(shell (cp -f $(LOCAL_PATH)/$(libpaho-mqtt3_lib_path)/VersionInfo.h.in $(LOCAL_PATH)/$(libpaho-mqtt3_lib_path)/VersionInfo.h))
+$(shell (sed -i "s/@CLIENT_VERSION@/1.2.0/g" $(LOCAL_PATH)/$(libpaho-mqtt3_lib_path)/VersionInfo.h))
+$(shell ( sed -i "s/@BUILD_TIMESTAMP@/$(shell date)/g" $(LOCAL_PATH)/$(libpaho-mqtt3_lib_path)/VersionInfo.h))
+
+# building static libraries
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := libpaho-mqtt3c
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/$(libpaho-mqtt3_lib_path)
+LOCAL_C_INCLUDES:= $(libpaho-mqtt3_c_includes)
+LOCAL_SRC_FILES := $(libpaho-mqtt3_local_src_c_files_common) $(libpaho-mqtt3_local_src_c_files_c)
+include $(BUILD_STATIC_LIBRARY)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := libpaho-mqtt3cs
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/$(libpaho-mqtt3_lib_path)
+LOCAL_C_INCLUDES:= $(libpaho-mqtt3_c_includes)
+LOCAL_CFLAGS += -DOPENSSL
+LOCAL_SRC_FILES := $(libpaho-mqtt3_local_src_c_files_common) $(libpaho-mqtt3_local_src_c_files_cs)
+include $(BUILD_STATIC_LIBRARY)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := libpaho-mqtt3a
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/${libpaho-mqtt3_lib_path}
+LOCAL_C_INCLUDES:= $(libpaho-mqtt3_c_includes)
+LOCAL_SRC_FILES := $(libpaho-mqtt3_local_src_c_files_common) $(libpaho-mqtt3_local_src_c_files_a)
+include $(BUILD_STATIC_LIBRARY)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := libpaho-mqtt3as
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/${libpaho-mqtt3_lib_path}
+LOCAL_CFLAGS += -DOPENSSL
+LOCAL_C_INCLUDES:= $(libpaho-mqtt3_c_includes)
+LOCAL_SRC_FILES := $(libpaho-mqtt3_local_src_c_files_common) $(libpaho-mqtt3_local_src_c_files_as)
+include $(BUILD_STATIC_LIBRARY)
+
+# building shared libraries
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := libpaho-mqtt3c
+LOCAL_SHARED_LIBRARIES := libdl
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/$(libpaho-mqtt3_lib_path)
+LOCAL_C_INCLUDES:= $(libpaho-mqtt3_c_includes)
+LOCAL_SRC_FILES := $(libpaho-mqtt3_local_src_c_files_common) $(libpaho-mqtt3_local_src_c_files_c)
+include $(BUILD_SHARED_LIBRARY)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := libpaho-mqtt3cs
+LOCAL_SHARED_LIBRARIES := libcrypto libssl libdl
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/$(libpaho-mqtt3_lib_path)
+LOCAL_C_INCLUDES:= $(libpaho-mqtt3_c_includes)
+LOCAL_CFLAGS += -DOPENSSL
+LOCAL_SRC_FILES := $(libpaho-mqtt3_local_src_c_files_common) $(libpaho-mqtt3_local_src_c_files_cs)
+include $(BUILD_SHARED_LIBRARY)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := libpaho-mqtt3a
+LOCAL_SHARED_LIBRARIES := libdl
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/${libpaho-mqtt3_lib_path}
+LOCAL_C_INCLUDES:= $(libpaho-mqtt3_c_includes)
+LOCAL_SRC_FILES := $(libpaho-mqtt3_local_src_c_files_common) $(libpaho-mqtt3_local_src_c_files_a)
+include $(BUILD_SHARED_LIBRARY)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := libpaho-mqtt3as
+LOCAL_SHARED_LIBRARIES := libcrypto libssl libdl
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/${libpaho-mqtt3_lib_path}
+LOCAL_CFLAGS += -DOPENSSL
+LOCAL_C_INCLUDES:= $(libpaho-mqtt3_c_includes)
+LOCAL_SRC_FILES := $(libpaho-mqtt3_local_src_c_files_common) $(libpaho-mqtt3_local_src_c_files_as)
+include $(BUILD_SHARED_LIBRARY)
+
+# building samples
+
+$(eval $(call build_sample_util, MQTTAsync_subscribe, libpaho-mqtt3a ) )
+$(eval $(call build_sample_util, MQTTAsync_publish, libpaho-mqtt3a ) )
+$(eval $(call build_sample_util, MQTTClient_publish, libpaho-mqtt3c ) )
+$(eval $(call build_sample_util, MQTTClient_publish_async, libpaho-mqtt3c ) )
+$(eval $(call build_sample_util, MQTTClient_subscribe, libpaho-mqtt3c ) )
+$(eval $(call build_sample_util, paho_c_pub, libpaho-mqtt3a ) )
+$(eval $(call build_sample_util, paho_c_sub, libpaho-mqtt3a ) )
+$(eval $(call build_sample_util, paho_cs_pub, libpaho-mqtt3c ) )
+$(eval $(call build_sample_util, paho_cs_sub, libpaho-mqtt3c ) )
+
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a8703b5c/thirdparty/paho.mqtt.c/appveyor.yml
----------------------------------------------------------------------
diff --git a/thirdparty/paho.mqtt.c/appveyor.yml b/thirdparty/paho.mqtt.c/appveyor.yml
new file mode 100644
index 0000000..ce250bd
--- /dev/null
+++ b/thirdparty/paho.mqtt.c/appveyor.yml
@@ -0,0 +1,50 @@
+version: 1.2.{build}
+image:
+ - Visual Studio 2013
+ - Visual Studio 2015
+configuration: Debug
+install:
+ - cmd: openssl version
+
+ - cmd: python --version
+
+ - cmd: netsh advfirewall firewall add rule name="Python 2.7" dir=in action=allow program="C:\Python27\python.exe" enable=yes
+
+ - cmd: netsh advfirewall firewall add rule name="Open Port 1883" dir=in action=allow protocol=TCP localport=1883
+
+ - cmd: netsh advfirewall set allprofiles state off
+
+ - ps: Start-Process python -ArgumentList 'test\mqttsas2.py'
+
+ - cmd: C:\Python36\python --version
+
+ - cmd: git clone https://github.com/eclipse/paho.mqtt.testing.git
+
+ - cmd: cd paho.mqtt.testing\interoperability
+
+ - ps: Start-Process C:\Python36\python -ArgumentList 'startbroker.py'
+
+ - cmd: cd ..\..
+
+build_script:
+- cmd: >-
+ mkdir build.paho
+
+ cd build.paho
+
+ echo %APPVEYOR_BUILD_WORKER_IMAGE%
+
+ if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64
+
+ if "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2013" call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x64
+
+ cmake -G "NMake Makefiles" -DPAHO_WITH_SSL=TRUE -DPAHO_BUILD_DOCUMENTATION=FALSE -DPAHO_BUILD_SAMPLES=TRUE -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE ..
+
+ nmake
+
+ ctest -T test -VV
+
+ cd ..
+
+test:
+ assemblies: build/Testing/*/Test.xml
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a8703b5c/thirdparty/paho.mqtt.c/build.xml
----------------------------------------------------------------------
diff --git a/thirdparty/paho.mqtt.c/build.xml b/thirdparty/paho.mqtt.c/build.xml
new file mode 100644
index 0000000..07a9ec3
--- /dev/null
+++ b/thirdparty/paho.mqtt.c/build.xml
@@ -0,0 +1,316 @@
+<!--****************************************************************************
+ Copyright (c) 2012, 2017 IBM Corp.
+
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ and Eclipse Distribution License v1.0 which accompany this distribution.
+
+ The Eclipse Public License is available at
+ http://www.eclipse.org/legal/epl-v10.html
+ and the Eclipse Distribution License is available at
+ http://www.eclipse.org/org/documents/edl-v10.php.
+
+ Contributors:
+ Ian Craggs - initial API and implementation and/or initial documentation
+*******************************************************************************-->
+
+<project name="MQTT C Client" default="full">
+
+ <taskdef resource="net/sf/antcontrib/antlib.xml">
+ <classpath>
+ <pathelement location="/opt/public/cbi/build/3rdPartyJars/ant-contrib.jar" />
+ <pathelement location="/usr/share/java/ant-contrib.jar" />
+ </classpath>
+ </taskdef>
+
+ <property name="output.folder" value="build/output" />
+ <property name="release.version" value="1.2.0" />
+
+ <property name="libname" value="mqttv3c" />
+ <property name="libname.ssl" value="mqttv3cs" />
+ <property name="libname.async" value="mqttv3a" />
+ <property name="libname.async.ssl" value="mqttv3as" />
+ <property name="ssl" value="yes" />
+ <property name="windows.openssl.folder" value="c:\openssl\bin" />
+ <property name="test.hostname" value="iot.eclipse.org"/>
+ <property name="test.port" value="1883"/>
+ <property name="proxy.port" value="18883"/>
+ <if>
+ <os family="windows"/>
+ <then>
+ <property name="os.family" value="windows" />
+ </then>
+ <else>
+ <if>
+ <os family="mac"/>
+ <then>
+ <property name="os.family" value="mac" />
+ </then>
+ <else>
+ <property name="os.family" value="unix" />
+ </else>
+ </if>
+ </else>
+ </if>
+ <echo message="os.family is '${os.family}'" />
+
+ <target name="init">
+ <tstamp>
+ <format property="buildTimestamp" pattern="yyyyMMddHHmm" />
+ </tstamp>
+
+ <fileset id="sync.source.fileset" dir="src">
+ <include name="*.c"/>
+ <exclude name="MQTTAsync.c"/>
+ <exclude name="MQTTVersion.c"/>
+ </fileset>
+ <pathconvert refid="sync.source.fileset" property="sync.source.files" pathsep=" "/>
+
+ <fileset id="async.source.fileset" dir="src">
+ <include name="*.c"/>
+ <exclude name="MQTTClient.c"/>
+ <exclude name="MQTTVersion.c"/>
+ </fileset>
+ <pathconvert refid="async.source.fileset" property="async.source.files" pathsep=" "/>
+
+ </target>
+
+ <target name="version" depends="init" description="replace tags with the right levels">
+ <property name="build.level" value="${DSTAMP}${TSTAMP}" />
+ <copy file="src/VersionInfo.h.in" tofile="src/VersionInfo.h" overwrite="true"/>
+ <replace file="src/VersionInfo.h" token="@BUILD_TIMESTAMP@" value="${build.level}" />
+ <replace file="src/VersionInfo.h" token="@CLIENT_VERSION@" value="${release.version}" />
+ </target>
+
+ <target name="test" >
+ <!-- display Python version -->
+ <exec executable="python" failonerror="true">
+ <arg line="-V"/>
+ </exec>
+ <exec executable="python" dir="test" spawn="true">
+ <arg value="mqttsas2.py" />
+ <arg value="${test.hostname}" />
+ <arg value="${test.port}" />
+ <arg value="${proxy.port}" />
+ </exec>
+ <if>
+ <os family="windows"/>
+ <then>
+ <foreach target="runAtest" param="aTest" list="test1,test2,test4,test9"/>
+ </then>
+ <else>
+ <foreach target="runAtest" param="aTest" list="test1,test2,test4,test9"/>
+ </else>
+ </if>
+ <foreach target="runSSLtest" param="aTest" list="test3,test5"/>
+ </target>
+
+ <target name="runAtest">
+ <if>
+ <os family="windows"/>
+ <then>
+ <exec executable="cmd.exe" failonerror="true" dir="${output.folder}/test" >
+ <arg value="/c" />
+ <arg value="${aTest}.exe" />
+ <arg value="--connection" />
+ <arg value="tcp://${test.hostname}:${test.port}" />
+ <arg value="--proxy_connection" />
+ <arg value="tcp://localhost:${proxy.port}" />
+ <env key="PATH" path="${output.folder}" />
+ </exec>
+ </then>
+ <else>
+ <exec executable="./${aTest}" failonerror="true" dir="${output.folder}/test" >
+ <arg value="--connection" />
+ <arg value="tcp://${test.hostname}:${test.port}" />
+ <arg value="--proxy_connection" />
+ <arg value="tcp://localhost:${proxy.port}" />
+ <env key="LD_LIBRARY_PATH" path="${output.folder}" />
+ <env key="DYLD_LIBRARY_PATH" path="${output.folder}" />
+ </exec>
+ </else>
+ </if>
+ </target>
+
+ <target name="runSSLtest">
+ <if>
+ <os family="windows"/>
+ <then>
+ <exec executable="cmd.exe" failonerror="true" dir="${output.folder}/test" >
+ <arg value="/c" />
+ <arg value="${aTest}.exe" />
+ <arg value="--hostname" />
+ <arg value="${test.hostname}" />
+ <env key="PATH" path="${output.folder};${windows.openssl.folder}" />
+ </exec>
+ </then>
+ <else>
+ <exec executable="./${aTest}" failonerror="true" dir="${output.folder}/test" >
+ <arg value="--hostname" />
+ <arg value="${test.hostname}" />
+ <env key="LD_LIBRARY_PATH" path="${output.folder}" />
+ <env key="DYLD_LIBRARY_PATH" path="${output.folder}" />
+ </exec>
+ </else>
+ </if>
+ </target>
+
+ <target name="doc" >
+ <if>
+ <available file="/usr/bin/doxygen"/>
+ <then>
+ <mkdir dir="${output.folder}/doc"/>
+ <exec executable="doxygen" dir="src">
+ <arg value="../doc/DoxyfileV3ClientAPI"/>
+ </exec>
+ <exec executable="doxygen" dir="src">
+ <arg value="../doc/DoxyfileV3AsyncAPI"/>
+ </exec>
+ <zip destfile="${output.folder}/MQTTClient_doc.zip">
+ <zipfileset dir="${output.folder}/doc/MQTTClient" />
+ </zip>
+ <zip destfile="${output.folder}/MQTTAsync_doc.zip">
+ <zipfileset dir="${output.folder}/doc/MQTTAsync" prefix="MQTTAsync/"/>
+ </zip>
+ <delete dir="${output.folder}/doc" />
+ </then>
+ <else>
+ <echo message="doxygen is not available" />
+ </else>
+ </if>
+ </target>
+
+ <target name="build" >
+ <if>
+ <os family="unix"/>
+ <then>
+ <delete dir="${output.folder}" />
+ <!-- display gcc version -->
+ <exec executable="gcc" failonerror="true">
+ <arg line="-v"/>
+ </exec>
+ <if>
+ <available file="/usr/bin/make"/>
+ <then>
+ <exec executable="make" dir="."/>
+ </then>
+ </if>
+ </then>
+ </if>
+ <if>
+ <os family="windows"/>
+ <then>
+ <delete dir="${output.folder}" />
+ <!-- display gcc version -->
+ <exec executable="cl" failonerror="true">
+ </exec>
+ <exec executable="msbuild" dir=".">
+ <arg line='"Windows Build\Paho C MQTT APIs.sln"'/>
+ <arg line="/p:Configuration=Release"/>
+ </exec>
+ </then>
+ </if>
+ </target>
+
+ <target name="package">
+ <mkdir dir="${output.folder}/include"/>
+ <copy overwrite="true" todir="${output.folder}/include">
+ <fileset dir="src" includes="MQTTClient.h,MQTTAsync.h,MQTTClientPersistence.h"/>
+ </copy>
+ <copy overwrite="true" todir="${output.folder}">
+ <fileset dir="." includes="README.md,CONTRIBUTING.md,about.html,notice.html,edl-v10,epl-v10"/>
+ </copy>
+ <mkdir dir="${output.folder}/lib"/>
+ <move overwrite="true" todir="${output.folder}/lib">
+ <fileset dir="${output.folder}" includes="*paho*"/>
+ </move>
+ <mkdir dir="${output.folder}/bin"/>
+ <move overwrite="true" todir="${output.folder}/bin">
+ <fileset dir="${output.folder}/samples" includes="*"/>
+ <fileset dir="${output.folder}" includes="MQTTVersion"/>
+ </move>
+ <copy overwrite="true" todir="${output.folder}/samples">
+ <fileset dir="src/samples" includes="*"/>
+ </copy>
+ <delete>
+ <fileset dir="." includes="eclipse-paho-mqtt-c-windows-${release.version}.zip"/>
+ <fileset dir="." includes="eclipse-paho-mqtt-c-${os.family}-${release.version}.tar.gz"/>
+ </delete>
+
+ <if>
+ <os family="windows"/>
+ <then>
+ <exec executable="c:\cygwin\bin\zip.exe" failonerror="true" dir="${output.folder}">
+ <arg value="-r"/>
+ <arg value="eclipse-paho-mqtt-c-windows-${release.version}.zip"/>
+ <arg value="about.html"/>
+ <arg value="notice.html"/>
+ <arg value="README.md"/>
+ <arg value="CONTRIBUTING.md"/>
+ <arg value="epl-v10"/>
+ <arg value="edl-v10"/>
+ <arg value="include"/>
+ <arg value="samples"/>
+ <arg value="lib"/>
+ <arg value="bin"/>
+ </exec>
+ </then>
+ <else>
+ <exec executable="tar" failonerror="true" dir="${output.folder}">
+ <arg value="czf"/>
+ <arg value="eclipse-paho-mqtt-c-${os.family}-${release.version}.tar.gz"/>
+ <arg value="about.html"/>
+ <arg value="notice.html"/>
+ <arg value="README.md"/>
+ <arg value="CONTRIBUTING.md"/>
+ <arg value="epl-v10"/>
+ <arg value="edl-v10"/>
+ <arg value="include"/>
+ <arg value="samples"/>
+ <arg value="lib"/>
+ <arg value="bin"/>
+ </exec>
+ </else>
+ </if>
+
+ <if>
+ <os family="unix"/>
+ <then>
+ <exec executable="tar" failonerror="true" dir=".">
+ <arg value="czf"/>
+ <arg value="${output.folder}/eclipse-paho-mqtt-c-src-${release.version}.tar.gz"/>
+ <arg value="about.html"/>
+ <arg value="notice.html"/>
+ <arg value="README.md"/>
+ <arg value="CONTRIBUTING.md"/>
+ <arg value="epl-v10"/>
+ <arg value="edl-v10"/>
+ <arg value="Makefile"/>
+ <arg value="build.xml"/>
+ <arg value="src"/>
+ <arg value="test"/>
+ <arg value="Windows Build"/>
+ </exec>
+ </then>
+ </if>
+ </target>
+
+ <target name="copy">
+ <if>
+ <available file="/shared/technology"/>
+ <then>
+ <mkdir dir="/shared/technology/paho/C/${release.version}/${build.level}"/>
+ <echo message="Copying the build output to /shared" />
+ <copy overwrite="true" todir="/shared/technology/paho/C/${release.version}/${build.level}">
+ <fileset dir="${output.folder}">
+ <include name="*.gz"/>
+ <include name="*.zip"/>
+ </fileset>
+ </copy>
+ </then>
+ </if>
+ </target>
+
+ <target name="full" depends="init, version, build, test, doc, package, copy" />
+
+</project>
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a8703b5c/thirdparty/paho.mqtt.c/cbuild.bat
----------------------------------------------------------------------
diff --git a/thirdparty/paho.mqtt.c/cbuild.bat b/thirdparty/paho.mqtt.c/cbuild.bat
new file mode 100644
index 0000000..22cbd37
--- /dev/null
+++ b/thirdparty/paho.mqtt.c/cbuild.bat
@@ -0,0 +1,19 @@
+
+setlocal
+
+rmdir /s /q build.paho
+mkdir build.paho
+
+cd build.paho
+
+call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64
+
+cmake -G "NMake Makefiles" -DPAHO_WITH_SSL=TRUE -DPAHO_BUILD_DOCUMENTATION=FALSE -DPAHO_BUILD_SAMPLES=TRUE -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE ..
+
+nmake
+
+ctest -T test -VV
+
+cd ..
+
+endlocal
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a8703b5c/thirdparty/paho.mqtt.c/cmake/CPackDebConfig.cmake.in
----------------------------------------------------------------------
diff --git a/thirdparty/paho.mqtt.c/cmake/CPackDebConfig.cmake.in b/thirdparty/paho.mqtt.c/cmake/CPackDebConfig.cmake.in
new file mode 100644
index 0000000..c815426
--- /dev/null
+++ b/thirdparty/paho.mqtt.c/cmake/CPackDebConfig.cmake.in
@@ -0,0 +1,91 @@
+IF (CPACK_GENERATOR MATCHES "DEB")
+ FIND_PROGRAM(DPKG_PROGRAM dpkg DOC "dpkg program of Debian-based systems")
+ IF (DPKG_PROGRAM)
+ EXECUTE_PROCESS(
+ COMMAND ${DPKG_PROGRAM} --print-architecture
+ OUTPUT_VARIABLE CPACK_DEBIAN_PACKAGE_ARCHITECTURE
+ OUTPUT_STRIP_TRAILING_WHITESPACE
+ )
+ ELSE (DPKG_PROGRAM)
+ MESSAGE(FATAL_ERROR "Could not find an architecture for the package")
+ ENDIF (DPKG_PROGRAM)
+
+ EXECUTE_PROCESS(
+ COMMAND lsb_release -si
+ OUTPUT_VARIABLE CPACK_DEBIAN_DIST_NAME
+ RESULT_VARIABLE DIST_NAME_STATUS
+ OUTPUT_STRIP_TRAILING_WHITESPACE
+ )
+
+ IF (DIST_NAME_STATUS)
+ MESSAGE(FATAL_ERROR "Could not find a GNU/Linux distribution name")
+ ENDIF (DIST_NAME_STATUS)
+
+ IF (CPACK_DEBIAN_DIST_NAME STREQUAL "")
+ MESSAGE(FATAL_ERROR "Could not find a GNU/Linux distribution name")
+ ENDIF ()
+
+ EXECUTE_PROCESS(
+ COMMAND lsb_release -sc
+ OUTPUT_VARIABLE CPACK_DEBIAN_DIST_CODE
+ RESULT_VARIABLE DIST_CODE_STATUS
+ OUTPUT_STRIP_TRAILING_WHITESPACE
+ )
+
+ IF (DIST_NAME_STATUS)
+ MESSAGE(FATAL_ERROR "Could not find a GNU/Linux distribution codename")
+ ENDIF (DIST_NAME_STATUS)
+
+ IF (CPACK_DEBIAN_DIST_CODE STREQUAL "")
+ MESSAGE(FATAL_ERROR "Could not find a GNU/Linux distribution codename")
+ ENDIF ()
+
+ SET(CPACK_PACKAGE_VERSION_MAJOR @PAHO_VERSION_MAJOR@)
+ SET(CPACK_PACKAGE_VERSION_MINOR @PAHO_VERSION_MINOR@)
+ SET(CPACK_PACKAGE_VERSION_PATCH @PAHO_VERSION_PATCH@)
+ SET(PACKAGE_VERSION
+ "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
+
+ IF (PACKAGE_VERSION STREQUAL "")
+ MESSAGE(FATAL_ERROR "Could not find a version number for the package")
+ ENDIF ()
+
+ SET(PAHO_WITH_SSL @PAHO_WITH_SSL@)
+
+ MESSAGE("Package version: ${PACKAGE_VERSION}")
+ MESSAGE("Package built for: ${CPACK_DEBIAN_DIST_NAME} ${CPACK_DEBIAN_DIST_CODE}")
+ IF(PAHO_WITH_SSL)
+ MESSAGE("Package built with ssl-enabled binaries too")
+ ENDIF()
+
+ # Additional lines to a paragraph should start with " "; paragraphs should
+ # be separated with a " ." line
+ SET(CPACK_PACKAGE_NAME "libpaho-mqtt")
+ SET(CPACK_PACKAGE_CONTACT "Eclipse")
+ SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Eclipse Paho MQTT C client")
+ SET(CPACK_DEBIAN_PACKAGE_NAME ${CPACK_PACKAGE_NAME})
+ SET(CPACK_DEBIAN_PACKAGE_MAINTAINER
+ "Genis Riera Perez <ge...@gmail.com>")
+ SET(CPACK_DEBIAN_PACKAGE_DESCRIPTION "Eclipse Paho MQTT C client library")
+ SET(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
+ SET(CPACK_DEBIAN_PACKAGE_VERSION ${PACKAGE_VERSION})
+ SET(CPACK_DEBIAN_PACKAGE_SECTION "net")
+ SET(CPACK_DEBIAN_PACKAGE_CONFLICTS ${CPACK_PACKAGE_NAME})
+ SET(CPACK_PACKAGE_FILE_NAME
+ "${CPACK_DEBIAN_PACKAGE_NAME}_${CPACK_DEBIAN_PACKAGE_VERSION}_${CPACK_DEBIAN_PACKAGE_ARCHITECTURE}")
+ IF(PAHO_WITH_SSL)
+ SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libssl-dev")
+ ENDIF()
+
+ UNSET(PACKAGE_VERSION CACHE)
+ UNSET(CPACK_DEBIAN_PACKAGE_VERSION CACHE)
+
+ #
+ # From CMakeDebHelper
+ # See http://www.cmake.org/Wiki/CMake:CPackPackageGenerators#Overall_usage_.28common_to_all_generators.29
+ #
+
+ # When the DEB-generator runs, we want him to run our install-script
+ #set( CPACK_INSTALL_SCRIPT ${CPACK_DEBIAN_INSTALL_SCRIPT} )
+
+ENDIF()
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a8703b5c/thirdparty/paho.mqtt.c/cmake/modules/CMakeDebHelper.cmake
----------------------------------------------------------------------
diff --git a/thirdparty/paho.mqtt.c/cmake/modules/CMakeDebHelper.cmake b/thirdparty/paho.mqtt.c/cmake/modules/CMakeDebHelper.cmake
new file mode 100644
index 0000000..3dd9572
--- /dev/null
+++ b/thirdparty/paho.mqtt.c/cmake/modules/CMakeDebHelper.cmake
@@ -0,0 +1,74 @@
+#=============================================================================
+# CMakeDebHelper, Copyright (C) 2013 Sebastian Kienzl
+# http://knzl.de/cmake-debhelper/
+# Licensed under the GPL v2, see LICENSE
+#=============================================================================
+
+# configure() .in-files to the CURRENT_BINARY_DIR
+foreach( _F ${DH_INPUT} )
+ # strip the .in part
+ string( REGEX REPLACE ".in$" "" _F_WE ${_F} )
+ configure_file( ${_F} ${_F_WE} @ONLY )
+endforeach()
+
+# compat and control is only needed for running the debhelpers,
+# CMake is going to make up the one that ends up in the deb.
+file( WRITE ${CMAKE_CURRENT_BINARY_DIR}/compat "9" )
+if( NOT CPACK_DEBIAN_PACKAGE_NAME )
+ string( TOLOWER "${CPACK_PACKAGE_NAME}" CPACK_DEBIAN_PACKAGE_NAME )
+endif()
+file( WRITE ${CMAKE_CURRENT_BINARY_DIR}/control "Package: ${CPACK_DEBIAN_PACKAGE_NAME}\nArchitecture: any\n" )
+
+# Some debhelpers need fakeroot, we use it for all of them
+find_program( FAKEROOT fakeroot )
+if( NOT FAKEROOT )
+ message( SEND_ERROR "fakeroot not found, please install" )
+endif()
+
+find_program( DEBHELPER dh_prep )
+if( NOT DEBHELPER )
+ message( SEND_ERROR "debhelper not found, please install" )
+endif()
+
+# Compose a string with a semicolon-seperated list of debhelpers
+foreach( _DH ${DH_RUN} )
+ set( _DH_RUN_SC_LIST "${_DH_RUN_SC_LIST} ${_DH} ;" )
+endforeach()
+
+# Making sure the debhelpers run each time we change one of ${DH_INPUT}
+add_custom_command(
+ OUTPUT dhtimestamp
+
+ # dh_prep is needed to clean up, dh_* aren't idempotent
+ COMMAND ${FAKEROOT} dh_prep
+
+ # I haven't found another way to run a list of commands here
+ COMMAND ${FAKEROOT} -- sh -c "${_DH_RUN_SC_LIST}"
+
+ # needed to create the files we'll use
+ COMMAND ${FAKEROOT} dh_installdeb
+
+ COMMAND touch ${CMAKE_CURRENT_BINARY_DIR}/dhtimestamp
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/..
+ DEPENDS ${DH_INPUT}
+ COMMENT "Running debhelpers"
+ VERBATIM
+)
+
+add_custom_target( dhtarget ALL
+ DEPENDS dhtimestamp
+)
+
+# these files are generated by debhelpers from our templates
+foreach( _F ${DH_GENERATED_CONTROL_EXTRA} )
+ set( CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
+ ${CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA}
+ ${CMAKE_CURRENT_BINARY_DIR}/${CPACK_DEBIAN_PACKAGE_NAME}/DEBIAN/${_F}
+ CACHE INTERNAL ""
+ )
+endforeach()
+
+# This will copy the generated dhhelper-files to our to-be-cpacked-directory.
+# CPACK_INSTALL_SCRIPT must be set to the value of CPACK_DEBIAN_INSTALL_SCRIPT in the file
+# pointed to by CPACK_PROJECT_CONFIG_FILE.
+set( CPACK_DEBIAN_INSTALL_SCRIPT ${CMAKE_CURRENT_LIST_DIR}/CMakeDebHelperInstall.cmake CACHE INTERNAL "" )
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a8703b5c/thirdparty/paho.mqtt.c/cmake/modules/CMakeDebHelperInstall.cmake
----------------------------------------------------------------------
diff --git a/thirdparty/paho.mqtt.c/cmake/modules/CMakeDebHelperInstall.cmake b/thirdparty/paho.mqtt.c/cmake/modules/CMakeDebHelperInstall.cmake
new file mode 100644
index 0000000..7e61b32
--- /dev/null
+++ b/thirdparty/paho.mqtt.c/cmake/modules/CMakeDebHelperInstall.cmake
@@ -0,0 +1,17 @@
+# This script is used internally by CMakeDebHelper.
+# It is run at CPack-Time and copies the files generated by the debhelpers to the right place.
+
+if( NOT CPACK_DEBIAN_PACKAGE_NAME )
+ string( TOLOWER "${CPACK_PACKAGE_NAME}" CPACK_DEBIAN_PACKAGE_NAME )
+endif()
+
+# Copy all generated files where the packing will happen,
+# exclude the DEBIAN-directory.
+
+MESSAGE(STATUS "CPACK_OUTPUT_FILE_PREFIX: " "${CPACK_OUTPUT_FILE_PREFIX}/debian/${CPACK_DEBIAN_PACKAGE_NAME}/")
+
+file( COPY
+ "${CPACK_OUTPUT_FILE_PREFIX}/debian/${CPACK_DEBIAN_PACKAGE_NAME}/"
+ DESTINATION "${CMAKE_CURRENT_BINARY_DIR}"
+ PATTERN DEBIAN EXCLUDE
+)
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a8703b5c/thirdparty/paho.mqtt.c/cmake/toolchain.linux-arm11.cmake
----------------------------------------------------------------------
diff --git a/thirdparty/paho.mqtt.c/cmake/toolchain.linux-arm11.cmake b/thirdparty/paho.mqtt.c/cmake/toolchain.linux-arm11.cmake
new file mode 100644
index 0000000..4965ff7
--- /dev/null
+++ b/thirdparty/paho.mqtt.c/cmake/toolchain.linux-arm11.cmake
@@ -0,0 +1,10 @@
+# path to compiler and utilities
+# specify the cross compiler
+SET(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc)
+
+# Name of the target platform
+SET(CMAKE_SYSTEM_NAME Linux)
+SET(CMAKE_SYSTEM_PROCESSOR arm)
+
+# Version of the system
+SET(CMAKE_SYSTEM_VERSION 1)
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a8703b5c/thirdparty/paho.mqtt.c/cmake/toolchain.win32.cmake
----------------------------------------------------------------------
diff --git a/thirdparty/paho.mqtt.c/cmake/toolchain.win32.cmake b/thirdparty/paho.mqtt.c/cmake/toolchain.win32.cmake
new file mode 100644
index 0000000..05e7254
--- /dev/null
+++ b/thirdparty/paho.mqtt.c/cmake/toolchain.win32.cmake
@@ -0,0 +1,15 @@
+# Name of the target platform
+SET(CMAKE_SYSTEM_NAME Windows)
+
+# Version of the system
+SET(CMAKE_SYSTEM_VERSION 1)
+
+# specify the cross compiler
+SET(CMAKE_C_COMPILER i686-w64-mingw32-gcc)
+SET(CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
+SET(CMAKE_RC_COMPILER_ENV_VAR "RC")
+SET(CMAKE_RC_COMPILER "")
+SET(CMAKE_SHARED_LINKER_FLAGS
+ "-fdata-sections -ffunction-sections -Wl,--enable-stdcall-fixup -static-libgcc -static -lpthread" CACHE STRING "" FORCE)
+SET(CMAKE_EXE_LINKER_FLAGS
+ "-fdata-sections -ffunction-sections -Wl,--enable-stdcall-fixup -static-libgcc -static -lpthread" CACHE STRING "" FORCE)
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a8703b5c/thirdparty/paho.mqtt.c/cmake/toolchain.win64.cmake
----------------------------------------------------------------------
diff --git a/thirdparty/paho.mqtt.c/cmake/toolchain.win64.cmake b/thirdparty/paho.mqtt.c/cmake/toolchain.win64.cmake
new file mode 100644
index 0000000..98afef1
--- /dev/null
+++ b/thirdparty/paho.mqtt.c/cmake/toolchain.win64.cmake
@@ -0,0 +1,15 @@
+# Name of the target platform
+SET(CMAKE_SYSTEM_NAME Windows)
+
+# Version of the system
+SET(CMAKE_SYSTEM_VERSION 1)
+
+# specify the cross compiler
+SET(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
+SET(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
+SET(CMAKE_RC_COMPILER_ENV_VAR "RC")
+SET(CMAKE_RC_COMPILER "")
+SET(CMAKE_SHARED_LINKER_FLAGS
+ "-fdata-sections -ffunction-sections -Wl,--enable-stdcall-fixup -static-libgcc -static -lpthread" CACHE STRING "" FORCE)
+SET(CMAKE_EXE_LINKER_FLAGS
+ "-fdata-sections -ffunction-sections -Wl,--enable-stdcall-fixup -static-libgcc -static -lpthread" CACHE STRING "" FORCE)
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a8703b5c/thirdparty/paho.mqtt.c/debian/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/thirdparty/paho.mqtt.c/debian/CMakeLists.txt b/thirdparty/paho.mqtt.c/debian/CMakeLists.txt
new file mode 100644
index 0000000..7b315b8
--- /dev/null
+++ b/thirdparty/paho.mqtt.c/debian/CMakeLists.txt
@@ -0,0 +1,16 @@
+# These files (generated by dhelpers) will be copied into the control-part of the deb.
+# Files that end up in the filesystem normally (e.g. cron/init-scripts) must not be mentioned here.
+# It's a good idea to add "conffiles", as the debhelpers may generate it.
+set( DH_GENERATED_CONTROL_EXTRA
+ preinst
+ postinst
+ postrm
+ prerm
+ conffiles
+)
+
+# At this point, CMakeDebHelper must be included (add .cmake if you have it in this directory)
+
+include( CMakeDebHelper )
+
+# CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA and CPACK_INSTALL_SCRIPT are set now, don't modify them!
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a8703b5c/thirdparty/paho.mqtt.c/dist/Makefile
----------------------------------------------------------------------
diff --git a/thirdparty/paho.mqtt.c/dist/Makefile b/thirdparty/paho.mqtt.c/dist/Makefile
new file mode 100644
index 0000000..88d9c3d
--- /dev/null
+++ b/thirdparty/paho.mqtt.c/dist/Makefile
@@ -0,0 +1,11 @@
+VERSION=1.2.0
+
+check:
+ rpmlint -i dist/paho-c.spec
+
+rpm-prep:
+ mkdir -p ${HOME}/rpmbuild/SOURCES/
+ tar --transform="s/\./paho-c-${VERSION}/" -cf ${HOME}/rpmbuild/SOURCES/v${VERSION}.tar.gz --exclude=./build.paho --exclude=.git --exclude=*.bz ./ --gzip
+
+rpm: rpm-prep
+ rpmbuild -ba dist/paho-c.spec
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a8703b5c/thirdparty/paho.mqtt.c/dist/paho-c.spec
----------------------------------------------------------------------
diff --git a/thirdparty/paho.mqtt.c/dist/paho-c.spec b/thirdparty/paho.mqtt.c/dist/paho-c.spec
new file mode 100644
index 0000000..9314349
--- /dev/null
+++ b/thirdparty/paho.mqtt.c/dist/paho-c.spec
@@ -0,0 +1,78 @@
+Summary: MQTT C Client
+Name: paho-c
+Version: 1.2.0
+Release: 3%{?dist}
+License: Eclipse Distribution License 1.0 and Eclipse Public License 1.0
+Group: Development/Tools
+Source: https://github.com/eclipse/paho.mqtt.c/archive/v%{version}.tar.gz
+URL: https://eclipse.org/paho/clients/c/
+BuildRequires: cmake
+BuildRequires: gcc
+BuildRequires: graphviz
+BuildRequires: doxygen
+BuildRequires: openssl-devel
+Requires: openssl
+
+
+%description
+The Paho MQTT C Client is a fully fledged MQTT client written in ANSI standard C.
+
+
+%package devel
+Summary: MQTT C Client development kit
+Group: Development/Libraries
+Requires: paho-c
+
+%description devel
+Development files and samples for the the Paho MQTT C Client.
+
+
+%package devel-docs
+Summary: MQTT C Client development kit documentation
+Group: Development/Libraries
+
+%description devel-docs
+Development documentation files for the the Paho MQTT C Client.
+
+%prep
+%autosetup -n paho-c-%{version}
+
+%build
+mkdir build.paho && cd build.paho
+%cmake -DPAHO_WITH_SSL=TRUE -DPAHO_BUILD_DOCUMENTATION=TRUE -DPAHO_BUILD_SAMPLES=TRUE ..
+make %{?_smp_mflags}
+
+%install
+cd build.paho
+make install DESTDIR=%{buildroot}
+
+%files
+%doc edl-v10 epl-v10
+%{_libdir}/*
+
+%files devel
+%{_bindir}/*
+%{_includedir}/*
+
+%files devel-docs
+%{_datadir}/*
+
+%changelog
+* Thu Jul 27 2017 Otavio R. Piske <op...@redhat.com> - 1.2.0-4
+- Enabled generation of debuginfo package
+
+* Thu Jul 27 2017 Otavio R. Piske <op...@redhat.com> - 1.2.0-3
+- Fixed changelog issues pointed by rpmlint
+
+* Thu Jul 27 2017 Otavio R. Piske <op...@redhat.com> - 1.2.0-2
+- Updated changelog to comply with Fedora packaging guidelines
+
+* Wed Jul 26 2017 Otavio R. Piske <op...@redhat.com> - 1.2.0-1
+- Fixed rpmlint warnings: replaced cmake call with builtin macro
+- Fixed rpmlint warnings: removed buildroot reference from build section
+
+* Fri Jun 30 2017 Otavio R. Piske <op...@redhat.com> - 1.2.0
+- Updated package to version 1.2.0
+
+* Sat Dec 31 2016 Otavio R. Piske <op...@redhat.com> - 1.1.0
+- Initial packaging
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a8703b5c/thirdparty/paho.mqtt.c/doc/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/thirdparty/paho.mqtt.c/doc/CMakeLists.txt b/thirdparty/paho.mqtt.c/doc/CMakeLists.txt
new file mode 100644
index 0000000..06e4c5d
--- /dev/null
+++ b/thirdparty/paho.mqtt.c/doc/CMakeLists.txt
@@ -0,0 +1,40 @@
+#*******************************************************************************
+# Copyright (c) 2015 logi.cals GmbH
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# and Eclipse Distribution License v1.0 which accompany this distribution.
+#
+# The Eclipse Public License is available at
+# http://www.eclipse.org/legal/epl-v10.html
+# and the Eclipse Distribution License is available at
+# http://www.eclipse.org/org/documents/edl-v10.php.
+#
+# Contributors:
+# Rainer Poisel - initial version
+#*******************************************************************************/
+
+# Note: on OS X you should install XCode and the associated command-line tools
+
+### documentation settings
+FIND_PACKAGE(Doxygen)
+IF(NOT DOXYGEN_FOUND)
+ message(FATAL_ERROR "Doxygen is needed to build the documentation.")
+ENDIF()
+SET(DOXYTARGETS)
+FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/doc)
+FOREACH(DOXYFILE_SRC DoxyfileV3ClientAPI;DoxyfileV3AsyncAPI;DoxyfileV3ClientInternal)
+ SET(DOXYFILE_IN ${DOXYFILE_SRC}.in)
+ SET(DOXYFILE ${CMAKE_CURRENT_BINARY_DIR}/${DOXYFILE_SRC})
+
+ CONFIGURE_FILE(${DOXYFILE_IN} ${DOXYFILE} @ONLY)
+ ADD_CUSTOM_TARGET(${DOXYFILE_SRC}.target
+ COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYFILE}
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+ COMMENT "Generating API documentation with Doxygen"
+ VERBATIM
+ )
+ SET(DOXYTARGETS ${DOXYTARGETS} ${DOXYFILE_SRC}.target)
+ENDFOREACH(DOXYFILE_SRC)
+ADD_CUSTOM_TARGET(doc ALL DEPENDS ${DOXYTARGETS})
+INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/doc DESTINATION share)