Commit Iniziale

This commit is contained in:
2019-10-21 11:37:31 +02:00
commit 44ac6e8802
56 changed files with 32022 additions and 0 deletions

View File

@@ -0,0 +1,62 @@
# Windows makefile
# --
# use mingw make
# Get make-3.82-5-mingw32-bin.tar.lzma from
# http://sourceforge.net/projects/mingw/files/MinGW/Extension/make/make-3.82-mingw32/
# --
# Set CC=gcc or CC=cl for the pre-defined compilers
# before using this Makefile
# --
# Compile and link the bandwidth and random tests.
# Build modbus.dll and the import library before building the tests
# modbus.lib/libmodbus.a (the import library) should be in this directory
# modbus.dll should be in this directory or in path
INCLUDES:=-I../.. -I.. -I.
ifeq ($(CC),cl)
DEFS+=-D_CRT_SECURE_NO_DEPRECATE=1 -D_CRT_NONSTDC_NO_DEPRECATE=1
CFLAGS=-Zi -W3 -MT -ID:/include/msvc_std
LDOPTS=-link -incremental:NO
LDLIBS=-Fe$@ ws2_32.lib modbus.lib $(LDOPTS)
RES:=res
RCOUT=
endif
ifeq ($(CC),gcc)
CFLAGS=-g -Wall -O -static -static-libgcc
LDLIBS=-o$@ -lws2_32 -luser32 -L. -lmodbus
LDOPTS=
RES:=o
RCOUT=-o$@
endif
CFLAGS+=-DHAVE_CONFIG_H $(DEFS) $(INCLUDES)
.SUFFIXES:
.SUFFIXES: .c .rc .$(RES) .$(oo)
# pattern rule for resources
%.$(RES) : %.rc
$(RC) $< $(RCOUT)
vpath %.c ../../tests
vpath %.h ../src
all: random-test-client random-test-server bandwidth-client bandwidth-server-one
random-test-client: random-test-client.c
$(LINK.c) $^ $(LDLIBS)
random-test-server: random-test-server.c
$(LINK.c) $^ $(LDLIBS)
bandwidth-server-one: bandwidth-server-one.c
$(LINK.c) $^ $(LDLIBS)
bandwidth-client: bandwidth-client.c
$(LINK.c) $^ $(LDLIBS)
clean:
-@cmd "/c del /Q /S $(OBJS) *.o *.obj *.exe *.pdb *.ilk *.ncb *.res *.dll *.exp *.lib *.ncb *.a *.map *.asm" > NUL: 2>&1

View File

@@ -0,0 +1,20 @@
Intro
-----
This directory contains the project file for Visual Studio 2008 to build
modbus.dll and the import library modbus.lib.
The project file looks for D:/include/msvc_std to find stdint.h.
See ../../README.md file.
config.h and ../modbus-version.h are generated using configure.js.
Run
cscript configure.js
or
wscript configure.js
or
double click configure.js to generate these files.
To get project file for Visual Studio 2005 open copy of file modbus.vcproj in
editor and change attribute `Version` of `VisualStudioProject` tag to "8,00".

View File

@@ -0,0 +1,167 @@
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the <arpa/inet.h> header file. */
/* #undef HAVE_ARPA_INET_H */
/* Define to 1 if you have the declaration of `TIOCSRS485', and to 0 if you
don't. */
/* #undef HAVE_DECL_TIOCSRS485 */
/* Define to 1 if you have the declaration of `__CYGWIN__', and to 0 if you
don't. */
/* #undef HAVE_DECL___CYGWIN__ */
/* Define to 1 if you have the <dlfcn.h> header file. */
/* #undef HAVE_DLFCN_H */
/* Define to 1 if you have the <errno.h> header file. */
#define HAVE_ERRNO_H 1
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define to 1 if you have the `fork' function. */
/* #undef HAVE_FORK */
/* Define to 1 if you have the `getaddrinfo' function. */
/* #undef HAVE_GETADDRINFO */
/* Define to 1 if you have the `gettimeofday' function. */
/* #undef HAVE_GETTIMEOFDAY */
/* Define to 1 if you have the `inet_ntoa' function. */
/* #undef HAVE_INET_NTOA */
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define to 1 if you have the <linux/serial.h> header file. */
/* #undef HAVE_LINUX_SERIAL_H */
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the `memset' function. */
#define HAVE_MEMSET 1
/* Define to 1 if you have the <netdb.h> header file. */
/* #undef HAVE_NETDB_H */
/* Define to 1 if you have the <netinet/in.h> header file. */
/* #undef HAVE_NETINET_IN_H */
/* Define to 1 if you have the <netinet/tcp.h> header file. */
/* #undef HAVE_NETINET_TCP_H */
/* Define to 1 if you have the `select' function. */
/* #undef HAVE_SELECT */
/* Define to 1 if you have the `socket' function. */
/* #undef HAVE_SOCKET */
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1
/* Define to 1 if you have the <strings.h> header file. */
/* #undef HAVE_STRINGS_H */
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the `strlcpy' function. */
/* #undef HAVE_STRLCPY */
/* Define to 1 if you have the <sys/ioctl.h> header file. */
/* #undef HAVE_SYS_IOCTL_H */
/* Define to 1 if you have the <sys/socket.h> header file. */
/* #undef HAVE_SYS_SOCKET_H */
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/time.h> header file. */
/* #undef HAVE_SYS_TIME_H */
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <termios.h> header file. */
/* #undef HAVE_TERMIOS_H */
/* Define to 1 if you have the <time.h> header file. */
#define HAVE_TIME_H 1
/* Define to 1 if you have the <unistd.h> header file. */
/* #undef HAVE_UNISTD_H */
/* Define to 1 if you have the `vfork' function. */
/* #undef HAVE_VFORK */
/* Define to 1 if you have the <vfork.h> header file. */
/* #undef HAVE_VFORK_H */
/* Define to 1 if you have the <winsock2.h> header file. */
#define HAVE_WINSOCK2_H 1
/* Define to 1 if `fork' works. */
/* #undef HAVE_WORKING_FORK */
/* Define to 1 if `vfork' works. */
/* #undef HAVE_WORKING_VFORK */
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
/* #undef LT_OBJDIR */
/* Name of package */
#define PACKAGE "libmodbus"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "https://github.com/stephane/libmodbus/issues"
/* Define to the full name of this package. */
#define PACKAGE_NAME "libmodbus"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "libmodbus @LIBMODBUS_VERSION@"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "libmodbus"
/* Define to the home page for this package. */
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "@LIBMODBUS_VERSION@"
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
/* #undef TIME_WITH_SYS_TIME */
/* Version number of package */
#define VERSION "@LIBMODBUS_VERSION@"
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
/* Define to `int' if <sys/types.h> does not define. */
/* #undef pid_t */
/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */
/* Define as `fork' if `vfork' does not work. */
#define vfork fork

View File

@@ -0,0 +1,163 @@
/* Configure script for modbus.dll, specific for Windows with Scripting Host.
*
* Inspired by configure.js from libxml2
*
* oldfaber < oldfaber _at_ gmail _dot_ com >
*
*/
/* The source directory, relative to the one where this file resides. */
var srcDir = "..";
/* Base name of what we are building. */
var baseName = "modbus";
/* Configure file template and output file */
var configFile = srcDir + "\\..\\configure.ac";
/* Input and output files for the modbus-version.h include */
var newfile;
/* Version strings for the binary distribution. Will be filled later in the code. */
var verMajor;
var verMinor;
var verMicro;
/* modbus features. */
var dryRun = false;
/* Win32 build options. NOT used yet */
var compiler = "msvc";
/* Local stuff */
var error = 0;
/* Filename */
var newFile;
/* Displays the details about how to use this script. */
function usage() {
var txt;
txt = "Usage:\n";
txt += " cscript " + WScript.ScriptName + " <options>\n";
txt += " cscript " + WScript.ScriptName + " help\n\n";
txt += "Options can be specified in the form <option>=<value>, where the value is\n";
txt += "either 'yes' or 'no', if not stated otherwise.\n\n";
txt += "\nModbus library configure options, default value given in parentheses:\n\n";
txt += " dry-run: Run configure without creating files (" + (dryRun ? "yes" : "no") + ")\n";
txt += "\nWin32 build options, default value given in parentheses:\n\n";
txt += " compiler: Compiler to be used [msvc|mingw] (" + compiler + ")\n";
WScript.Echo(txt);
}
/* read the version from the configuration file */
function readVersion() {
var fso, cf, ln, s;
fso = new ActiveXObject("Scripting.FileSystemObject");
cf = fso.OpenTextFile(configFile, 1);
while (cf.AtEndOfStream !== true) {
ln = cf.ReadLine();
s = new String(ln);
if (s.search(/^m4_define\(\[libmodbus_version_major/) != -1) {
verMajor = s.substr(s.indexOf(",") + 3, 1);
} else if (s.search(/^m4_define\(\[libmodbus_version_minor/) != -1) {
verMinor = s.substr(s.indexOf(",") + 3, 1);
} else if (s.search(/^m4_define\(\[libmodbus_version_micro/) != -1) {
verMicro = s.substr(s.indexOf(",") + 3, 1);
}
}
cf.Close();
}
/* create the versioned file */
function createVersionedFile(newfile, unversioned) {
var fso, ofi, of, ln, s;
fso = new ActiveXObject("Scripting.FileSystemObject");
ofi = fso.OpenTextFile(unversioned, 1);
if (!dryRun) {
of = fso.CreateTextFile(newfile, true);
}
while (ofi.AtEndOfStream !== true) {
ln = ofi.ReadLine();
s = new String(ln);
if (!dryRun && s.search(/\@LIBMODBUS_VERSION_MAJOR\@/) != -1) {
of.WriteLine(s.replace(/\@LIBMODBUS_VERSION_MAJOR\@/, verMajor));
} else if (!dryRun && s.search(/\@LIBMODBUS_VERSION_MINOR\@/) != -1) {
of.WriteLine(s.replace(/\@LIBMODBUS_VERSION_MINOR\@/, verMinor));
} else if (!dryRun && s.search(/\@LIBMODBUS_VERSION_MICRO\@/) != -1) {
of.WriteLine(s.replace(/\@LIBMODBUS_VERSION_MICRO\@/, verMicro));
} else if (!dryRun && s.search(/\@LIBMODBUS_VERSION\@/) != -1) {
of.WriteLine(s.replace(/\@LIBMODBUS_VERSION\@/, verMajor + "." + verMinor + "." + verMicro));
} else {
if (!dryRun) {
of.WriteLine(ln);
}
}
}
ofi.Close();
if (!dryRun) {
of.Close();
}
}
/*
* main(),
* Execution begins here.
*/
// Parse the command-line arguments.
for (i = 0; (i < WScript.Arguments.length) && (error === 0); i++) {
var arg, opt;
arg = WScript.Arguments(i);
opt = arg.substring(0, arg.indexOf("="));
if (opt.length > 0) {
if (opt == "dry-run") {
var str = arg.substring(opt.length + 1, arg.length);
if (opt == 1 || opt == "yes") {
dryRun = true;
}
} else if (opt == "compiler") {
compiler = arg.substring(opt.length + 1, arg.length);
} else {
error = 1;
}
} else if (i === 0) {
if (arg == "help") {
usage();
WScript.Quit(0);
}
} else {
error = 1;
}
}
// If we fail here, it is because the user supplied an unrecognised argument.
if (error !== 0) {
usage();
WScript.Quit(error);
}
// Read the the version.
readVersion();
if (error !== 0) {
WScript.Echo("Version discovery failed, aborting.");
WScript.Quit(error);
}
newfile = srcDir + "\\modbus-version.h";
createVersionedFile(newfile, srcDir + "\\modbus-version.h.in");
if (error !== 0) {
WScript.Echo("Creation of " + newfile + " failed, aborting.");
WScript.Quit(error);
}
newfile = "modbus.dll.manifest";
createVersionedFile(newfile, "modbus.dll.manifest.in");
if (error !== 0) {
WScript.Echo("Creation of " + newfile + " failed, aborting.");
WScript.Quit(error);
}
newfile = "config.h";
createVersionedFile(newfile, "config.h.win32");
if (error !== 0) {
WScript.Echo("Creation of " + newfile + " failed, aborting.");
WScript.Quit(error);
}
WScript.Echo("\nLibmodbus configuration completed\n");

View File

@@ -0,0 +1,20 @@
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual C++ Express 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "modbus", "modbus.vcproj", "{498E0845-C7F4-438B-8EDE-EF7FC9A74430}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{498E0845-C7F4-438B-8EDE-EF7FC9A74430}.Debug|Win32.ActiveCfg = Debug|Win32
{498E0845-C7F4-438B-8EDE-EF7FC9A74430}.Debug|Win32.Build.0 = Debug|Win32
{498E0845-C7F4-438B-8EDE-EF7FC9A74430}.Release|Win32.ActiveCfg = Release|Win32
{498E0845-C7F4-438B-8EDE-EF7FC9A74430}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="@LIBMODBUS_VERSION@" processorArchitecture="*" name="modbus"/>
<description>Zsh shell</description>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
<dependency>
</dependency>
</assembly>

View File

@@ -0,0 +1,55 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "config.h"
#include "../modbus-version.h"
#define VERSTRING PACKAGE_VERSION
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
VS_VERSION_INFO VERSIONINFO
FILEVERSION LIBMODBUS_VERSION_MAJOR, LIBMODBUS_VERSION_MINOR, LIBMODBUS_VERSION_MICRO, 2
PRODUCTVERSION LIBMODBUS_VERSION_MAJOR, LIBMODBUS_VERSION_MINOR, LIBMODBUS_VERSION_MICRO, 2
#if defined(DEBUG) || defined(W32DEBUG)
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_DLL
{
BLOCK "StringFileInfo"
{
BLOCK "000004E4"
{
VALUE "CompanyName", "\x0"
VALUE "FileDescription", "libmodbus DLL\x0"
#if defined(__MINGW32__) && !defined(__MINGW64__)
VALUE "FileVersion", VERSTRING " (gcc)"
#endif
#if defined(__MINGW64__)
VALUE "FileVersion", VERSTRING " (gcc64)"
#endif
#if defined(_MSC_VER)
# if defined(MSC64)
VALUE "FileVersion", VERSTRING " (cl64)"
# else
VALUE "FileVersion", VERSTRING " (cl)"
# endif
#endif
VALUE "InternalName", "modbus.dll"
VALUE "LegalCopyright", "© See libmodbus.org"
VALUE "OriginalFilename", "modbus.dll"
VALUE "ProductName", "libmodbus"
}
}
BLOCK "VarFileInfo"
{
VALUE "Translation", 0x0, 1252
}
}
// Manifest
#if (_MSC_VER >= 1400)
// CAVEAT: the manifest has a version string THAT MUST MATCH the DLL version
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "modbus.dll.manifest"
#endif

View File

@@ -0,0 +1,457 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9,00"
Name="modbus"
ProjectGUID="{498E0845-C7F4-438B-8EDE-EF7FC9A74430}"
RootNamespace="modbus"
Keyword="Win32Proj"
TargetFrameworkVersion="131072"
>
<Platforms>
<Platform
Name="Win32"
/>
<Platform
Name="x64"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="2"
CharacterSet="2"
EnableManagedIncrementalBuild="0"
>
<Tool
Name="VCPreBuildEventTool"
CommandLine=""
/>
<Tool
Name="VCCustomBuildTool"
Description=""
CommandLine=""
AdditionalDependencies=""
Outputs=""
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
EnableIntrinsicFunctions="true"
WholeProgramOptimization="false"
AdditionalIncludeDirectories="..\src;..;.;D:/include/msvc_std"
PreprocessorDefinitions="W32DEBUG;HAVE_CONFIG_H;DLLBUILD;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NONSTDC_NO_DEPRECATE=1"
MinimalRebuild="false"
ExceptionHandling="0"
BasicRuntimeChecks="2"
RuntimeLibrary="1"
FloatingPointModel="2"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
CompileAs="1"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_MSC_VER"
ResourceOutputFileName="$(SolutionDir)/modbus.res"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="ws2_32.lib"
Version="1.0.0"
LinkIncremental="1"
AdditionalLibraryDirectories=""
GenerateManifest="true"
GenerateDebugInformation="true"
GenerateMapFile="true"
SubSystem="1"
RandomizedBaseAddress="0"
DataExecutionPrevention="0"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
SuppressStartupBanner="true"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="2"
CharacterSet="2"
WholeProgramOptimization="1"
EnableManagedIncrementalBuild="0"
>
<Tool
Name="VCPreBuildEventTool"
CommandLine=""
/>
<Tool
Name="VCCustomBuildTool"
Description=""
CommandLine=""
AdditionalDependencies=""
Outputs=""
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
WholeProgramOptimization="false"
AdditionalIncludeDirectories="..\src;..;.;D:/include/msvc_std"
PreprocessorDefinitions="HAVE_CONFIG_H;DLLBUILD;_CRT_SECURE_NO_DEPRECATE=1;_CRT_NONSTDC_NO_DEPRECATE=1"
ExceptionHandling="0"
RuntimeLibrary="0"
EnableFunctionLevelLinking="false"
FloatingPointModel="2"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="0"
CompileAs="1"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalOptions=""
AdditionalDependencies="ws2_32.lib"
LinkIncremental="0"
GenerateManifest="true"
GenerateDebugInformation="true"
SubSystem="1"
StackReserveSize="1048576"
StackCommitSize="524288"
OptimizeReferences="2"
EnableCOMDATFolding="2"
LinkTimeCodeGeneration="0"
EntryPointSymbol=""
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
SuppressStartupBanner="false"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Debug|x64"
OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
CommandLine=""
/>
<Tool
Name="VCCustomBuildTool"
Description=""
CommandLine=""
AdditionalDependencies=""
Outputs=""
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="3"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
WholeProgramOptimization="false"
AdditionalIncludeDirectories="$(SolutionDir)"
PreprocessorDefinitions=""
MinimalRebuild="false"
BasicRuntimeChecks="3"
RuntimeLibrary="0"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
CompileAs="1"
DisableSpecificWarnings="4244;4267"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
LinkIncremental="2"
GenerateDebugInformation="true"
SubSystem="1"
StackReserveSize="1048576"
StackCommitSize="524288"
TargetMachine="17"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|x64"
OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="2"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
CommandLine=""
/>
<Tool
Name="VCCustomBuildTool"
Description=""
CommandLine=""
AdditionalDependencies=""
Outputs=""
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="3"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
WholeProgramOptimization="false"
AdditionalIncludeDirectories="$(SolutionDir)"
PreprocessorDefinitions=""
RuntimeLibrary="0"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
CompileAs="1"
DisableSpecificWarnings="4244;4267"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="1"
StackReserveSize="1048576"
StackCommitSize="524288"
OptimizeReferences="2"
EnableCOMDATFolding="2"
LinkTimeCodeGeneration="0"
TargetMachine="17"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\modbus-data.c"
>
</File>
<File
RelativePath="..\modbus-rtu.c"
>
</File>
<File
RelativePath="..\modbus-tcp.c"
>
</File>
<File
RelativePath="..\modbus.c"
>
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath="config.h"
>
</File>
<File
RelativePath="..\modbus-private.h"
>
</File>
<File
RelativePath="..\modbus-rtu-private.h"
>
</File>
<File
RelativePath="..\modbus-rtu.h"
>
</File>
<File
RelativePath="..\modbus-tcp-private.h"
>
</File>
<File
RelativePath="..\modbus-tcp.h"
>
</File>
<File
RelativePath="modbus-version.h"
>
</File>
<File
RelativePath="..\modbus.h"
>
</File>
</Filter>
<Filter
Name="Resource Files"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
<File
RelativePath=".\modbus.rc"
>
</File>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>