316 lines
18 KiB
XML
316 lines
18 KiB
XML
<?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="Release|Win32">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
</ItemGroup>
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{B314F839-7BC9-471E-AA64-78FC946473F6}</ProjectGuid>
|
|
<Keyword>Win32Proj</Keyword>
|
|
<RootNamespace>erpcgen</RootNamespace>
|
|
<WindowsTargetPlatformVersion>10.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>v142</PlatformToolset>
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<PlatformToolset>v142</PlatformToolset>
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
<ImportGroup Label="ExtensionSettings">
|
|
<Import Project="custom_build_rules\win_flex_bison\win_flex_bison_custom_build.props" />
|
|
</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 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>
|
|
<PropertyGroup Label="UserMacros" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<LinkIncremental>true</LinkIncremental>
|
|
<CustomBuildBeforeTargets>
|
|
</CustomBuildBeforeTargets>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<BuildDependsOn>
|
|
GenerateTemplates;
|
|
$(BuildDependsOn)
|
|
</BuildDependsOn>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<LinkIncremental>false</LinkIncremental>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<ClCompile>
|
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<Optimization>Disabled</Optimization>
|
|
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<AdditionalIncludeDirectories>$(ProjectDir);$(ProjectDir)\..\src\types;$(ProjectDir)\..\src;$(ProjectDir)\..\src\cpptemplate;$(ProjectDir)\..\src\common;$(ProjectDir)\..\..\erpc_c\infra;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<RuntimeTypeInfo>true</RuntimeTypeInfo>
|
|
<BrowseInformation>true</BrowseInformation>
|
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
|
<MinimalRebuild>false</MinimalRebuild>
|
|
<DisableSpecificWarnings>4018;4800;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
|
<EnableParallelCodeGeneration>true</EnableParallelCodeGeneration>
|
|
<LanguageStandard>stdcpp17</LanguageStandard>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Console</SubSystem>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
</Link>
|
|
<Bison>
|
|
<OutputFile>$(ProjectDir)\%(Filename).tab.cpp</OutputFile>
|
|
</Bison>
|
|
<Bison>
|
|
<DefinesFile>$(ProjectDir)\%(Filename).tab.hpp</DefinesFile>
|
|
</Bison>
|
|
<Flex>
|
|
<OutputFile>$(ProjectDir)\%(Filename).flex.cpp</OutputFile>
|
|
</Flex>
|
|
<CustomBuildStep>
|
|
<Command>
|
|
</Command>
|
|
</CustomBuildStep>
|
|
<CustomBuildStep>
|
|
<Outputs>
|
|
</Outputs>
|
|
</CustomBuildStep>
|
|
<CustomBuildStep>
|
|
<Inputs>
|
|
</Inputs>
|
|
</CustomBuildStep>
|
|
<PreBuildEvent>
|
|
<Command>python.exe ..\bin\txt_to_c.py --output .\cpp_coders.cpp ..\src\templates\cpp_coders.template
|
|
python.exe ..\bin\txt_to_c.py --output .\c_common_header.cpp ..\src\templates\c_common_header.template
|
|
python.exe ..\bin\txt_to_c.py --output .\cpp_interface_header.cpp ..\src\templates\cpp_interface_header.template
|
|
python.exe ..\bin\txt_to_c.py --output .\cpp_interface_source.cpp ..\src\templates\cpp_interface_source.template
|
|
python.exe ..\bin\txt_to_c.py --output .\cpp_client_header.cpp ..\src\templates\cpp_client_header.template
|
|
python.exe ..\bin\txt_to_c.py --output .\cpp_client_source.cpp ..\src\templates\cpp_client_source.template
|
|
python.exe ..\bin\txt_to_c.py --output .\cpp_server_source.cpp ..\src\templates\cpp_server_source.template
|
|
python.exe ..\bin\txt_to_c.py --output .\cpp_server_header.cpp ..\src\templates\cpp_server_header.template
|
|
python.exe ..\bin\txt_to_c.py --output .\c_client_header.cpp ..\src\templates\c_client_header.template
|
|
python.exe ..\bin\txt_to_c.py --output .\c_client_source.cpp ..\src\templates\c_client_source.template
|
|
python.exe ..\bin\txt_to_c.py --output .\c_server_source.cpp ..\src\templates\c_server_source.template
|
|
python.exe ..\bin\txt_to_c.py --output .\c_server_header.cpp ..\src\templates\c_server_header.template
|
|
python.exe ..\bin\txt_to_c.py --output .\cpp_common_functions.cpp ..\src\templates\cpp_common_functions.template
|
|
python.exe ..\bin\txt_to_c.py --output .\c_crc.cpp ..\src\templates\c_crc.template
|
|
python.exe ..\bin\txt_to_c.py --output .\py_client.cpp ..\src\templates\py_client.template
|
|
python.exe ..\bin\txt_to_c.py --output .\py_coders.cpp ..\src\templates\py_coders.template
|
|
python.exe ..\bin\txt_to_c.py --output .\py_common.cpp ..\src\templates\py_common.template
|
|
python.exe ..\bin\txt_to_c.py --output .\py_init.cpp ..\src\templates\py_init.template
|
|
python.exe ..\bin\txt_to_c.py --output .\py_interface.cpp ..\src\templates\py_interface.template
|
|
python.exe ..\bin\txt_to_c.py --output .\py_server.cpp ..\src\templates\py_server.template
|
|
python.exe ..\bin\txt_to_c.py --output .\py_global_init.cpp ..\src\templates\py_global_init.template
|
|
python.exe ..\bin\txt_to_c.py --output .\java_coders.cpp ..\src\templates\java_coders.template
|
|
python.exe ..\bin\txt_to_c.py --output .\java_enum.cpp ..\src\templates\java_enum.template
|
|
python.exe ..\bin\txt_to_c.py --output .\java_interface.cpp ..\src\templates\java_interface.template
|
|
python.exe ..\bin\txt_to_c.py --output .\java_struct.cpp ..\src\templates\java_struct.template
|
|
python.exe ..\bin\txt_to_c.py --output .\java_server.cpp ..\src\templates\java_server.template
|
|
python.exe ..\bin\txt_to_c.py --output .\java_client.cpp ..\src\templates\java_client.template
|
|
python.exe ..\bin\txt_to_c.py --output .\java_const.cpp ..\src\templates\java_const.template</Command>
|
|
</PreBuildEvent>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<ClCompile>
|
|
<WarningLevel>Level3</WarningLevel>
|
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
<Optimization>MaxSpeed</Optimization>
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
<PreprocessorDefinitions>WIN32;_RELEASE;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
<AdditionalIncludeDirectories>$(ProjectDir);$(ProjectDir)\..\src\types;$(ProjectDir)\..\src;$(ProjectDir)\..\src\cpptemplate;$(ProjectDir)\..\src\common;$(ProjectDir)\..\..\erpc_c\infra;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
<MultiProcessorCompilation>false</MultiProcessorCompilation>
|
|
<RuntimeTypeInfo>true</RuntimeTypeInfo>
|
|
<DisableSpecificWarnings>4018;4800;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
|
<LanguageStandard>stdcpp17</LanguageStandard>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Console</SubSystem>
|
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
</Link>
|
|
<PreBuildEvent>
|
|
<Command>python.exe ..\bin\txt_to_c.py --output .\cpp_coders.cpp ..\src\templates\cpp_coders.template
|
|
python.exe ..\bin\txt_to_c.py --output .\c_common_header.cpp ..\src\templates\c_common_header.template
|
|
python.exe ..\bin\txt_to_c.py --output .\cpp_interface_header.cpp ..\src\templates\cpp_interface_header.template
|
|
python.exe ..\bin\txt_to_c.py --output .\cpp_interface_source.cpp ..\src\templates\cpp_interface_source.template
|
|
python.exe ..\bin\txt_to_c.py --output .\cpp_client_header.cpp ..\src\templates\cpp_client_header.template
|
|
python.exe ..\bin\txt_to_c.py --output .\cpp_client_source.cpp ..\src\templates\cpp_client_source.template
|
|
python.exe ..\bin\txt_to_c.py --output .\cpp_server_source.cpp ..\src\templates\cpp_server_source.template
|
|
python.exe ..\bin\txt_to_c.py --output .\cpp_server_header.cpp ..\src\templates\cpp_server_header.template
|
|
python.exe ..\bin\txt_to_c.py --output .\c_client_header.cpp ..\src\templates\c_client_header.template
|
|
python.exe ..\bin\txt_to_c.py --output .\c_client_source.cpp ..\src\templates\c_client_source.template
|
|
python.exe ..\bin\txt_to_c.py --output .\c_server_source.cpp ..\src\templates\c_server_source.template
|
|
python.exe ..\bin\txt_to_c.py --output .\c_server_header.cpp ..\src\templates\c_server_header.template
|
|
python.exe ..\bin\txt_to_c.py --output .\cpp_common_functions.cpp ..\src\templates\cpp_common_functions.template
|
|
python.exe ..\bin\txt_to_c.py --output .\c_crc.cpp ..\src\templates\c_crc.template
|
|
python.exe ..\bin\txt_to_c.py --output .\py_client.cpp ..\src\templates\py_client.template
|
|
python.exe ..\bin\txt_to_c.py --output .\py_coders.cpp ..\src\templates\py_coders.template
|
|
python.exe ..\bin\txt_to_c.py --output .\py_common.cpp ..\src\templates\py_common.template
|
|
python.exe ..\bin\txt_to_c.py --output .\py_init.cpp ..\src\templates\py_init.template
|
|
python.exe ..\bin\txt_to_c.py --output .\py_interface.cpp ..\src\templates\py_interface.template
|
|
python.exe ..\bin\txt_to_c.py --output .\py_server.cpp ..\src\templates\py_server.template
|
|
python.exe ..\bin\txt_to_c.py --output .\py_global_init.cpp ..\src\templates\py_global_init.template
|
|
python.exe ..\bin\txt_to_c.py --output .\java_coders.cpp ..\src\templates\java_coders.template
|
|
python.exe ..\bin\txt_to_c.py --output .\java_enum.cpp ..\src\templates\java_enum.template
|
|
python.exe ..\bin\txt_to_c.py --output .\java_interface.cpp ..\src\templates\java_interface.template
|
|
python.exe ..\bin\txt_to_c.py --output .\java_struct.cpp ..\src\templates\java_struct.template
|
|
python.exe ..\bin\txt_to_c.py --output .\java_server.cpp ..\src\templates\java_server.template
|
|
python.exe ..\bin\txt_to_c.py --output .\java_client.cpp ..\src\templates\java_client.template
|
|
python.exe ..\bin\txt_to_c.py --output .\java_const.cpp ..\src\templates\java_const.template</Command>
|
|
</PreBuildEvent>
|
|
<Flex>
|
|
<OutputFile>$(ProjectDir)\%(Filename).flex.cpp</OutputFile>
|
|
</Flex>
|
|
<Bison>
|
|
<OutputFile>$(ProjectDir)\%(Filename).tab.cpp</OutputFile>
|
|
<DefinesFile>$(ProjectDir)\%(Filename).tab.hpp</DefinesFile>
|
|
</Bison>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="..\..\erpc_c\infra\erpc_crc16.hpp" />
|
|
<ClInclude Include="..\..\erpc_c\infra\erpc_version.h" />
|
|
<ClInclude Include="..\src\annotations.h" />
|
|
<ClInclude Include="..\src\format_string.hpp" />
|
|
<ClInclude Include="..\src\HexValues.hpp" />
|
|
<ClInclude Include="..\src\JavaGenerator.hpp" />
|
|
<ClInclude Include="..\src\Logging.hpp" />
|
|
<ClInclude Include="..\src\options.hpp" />
|
|
<ClInclude Include="..\src\SearchPath.hpp" />
|
|
<ClInclude Include="..\src\smart_ptr.hpp" />
|
|
<ClInclude Include="..\src\types\FunctionType.hpp" />
|
|
<ClInclude Include="..\src\types\UnionCase.hpp" />
|
|
<ClInclude Include="..\src\types\UnionType.hpp" />
|
|
<ClInclude Include="..\src\Value.hpp" />
|
|
<ClInclude Include="..\src\cpptemplate\cpptempl.hpp" />
|
|
<ClInclude Include="..\src\AstNode.hpp" />
|
|
<ClInclude Include="..\src\AstWalker.hpp" />
|
|
<ClInclude Include="..\src\CGenerator.hpp" />
|
|
<ClInclude Include="..\src\ErpcLexer.hpp" />
|
|
<ClInclude Include="..\src\Generator.hpp" />
|
|
<ClInclude Include="..\src\InterfaceDefinition.hpp" />
|
|
<ClInclude Include="..\src\ParseErrors.hpp" />
|
|
<ClInclude Include="..\src\PythonGenerator.hpp" />
|
|
<ClInclude Include="..\src\SymbolScanner.hpp" />
|
|
<ClInclude Include="..\src\Token.hpp" />
|
|
<ClInclude Include="..\src\types\AliasType.hpp" />
|
|
<ClInclude Include="..\src\types\Annotation.hpp" />
|
|
<ClInclude Include="..\src\types\ArrayType.hpp" />
|
|
<ClInclude Include="..\src\types\BuiltinType.hpp" />
|
|
<ClInclude Include="..\src\types\ConstType.hpp" />
|
|
<ClInclude Include="..\src\types\DataType.hpp" />
|
|
<ClInclude Include="..\src\types\EnumMember.hpp" />
|
|
<ClInclude Include="..\src\types\EnumType.hpp" />
|
|
<ClInclude Include="..\src\types\Function.hpp" />
|
|
<ClInclude Include="..\src\types\Interface.hpp" />
|
|
<ClInclude Include="..\src\types\ListType.hpp" />
|
|
<ClInclude Include="..\src\types\Program.hpp" />
|
|
<ClInclude Include="..\src\types\StructMember.hpp" />
|
|
<ClInclude Include="..\src\types\StructType.hpp" />
|
|
<ClInclude Include="..\src\types\Symbol.hpp" />
|
|
<ClInclude Include="..\src\types\SymbolScope.hpp" />
|
|
<ClInclude Include="..\src\types\VoidType.hpp" />
|
|
<ClInclude Include="..\src\UniqueIdChecker.hpp" />
|
|
<ClInclude Include="..\src\Utils.hpp" />
|
|
<ClInclude Include="stdafx.h" />
|
|
<ClInclude Include="targetver.h" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="..\..\erpc_c\infra\erpc_crc16.cpp" />
|
|
<ClCompile Include="..\src\format_string.cpp" />
|
|
<ClCompile Include="..\src\HexValues.cpp" />
|
|
<ClCompile Include="..\src\JavaGenerator.cpp" />
|
|
<ClCompile Include="..\src\Logging.cpp" />
|
|
<ClCompile Include="..\src\options.cpp" />
|
|
<ClCompile Include="..\src\SearchPath.cpp" />
|
|
<ClCompile Include="..\src\cpptemplate\cpptempl.cpp" />
|
|
<ClCompile Include="..\src\AstNode.cpp" />
|
|
<ClCompile Include="..\src\AstWalker.cpp" />
|
|
<ClCompile Include="..\src\CGenerator.cpp" />
|
|
<ClCompile Include="..\src\erpcgen.cpp" />
|
|
<ClCompile Include="..\src\ErpcLexer.cpp" />
|
|
<ClCompile Include="..\src\Generator.cpp" />
|
|
<ClCompile Include="..\src\InterfaceDefinition.cpp" />
|
|
<ClCompile Include="..\src\ParseErrors.cpp" />
|
|
<ClCompile Include="..\src\PythonGenerator.cpp" />
|
|
<ClCompile Include="..\src\SymbolScanner.cpp" />
|
|
<ClCompile Include="..\src\Token.cpp" />
|
|
<ClCompile Include="..\src\types\Type.cpp" />
|
|
<ClCompile Include="..\src\UniqueIdChecker.cpp" />
|
|
<ClCompile Include="..\src\Utils.cpp" />
|
|
<ClCompile Include="cpp_coders.cpp" />
|
|
<ClCompile Include="c_common_header.cpp" />
|
|
<ClCompile Include="c_crc.cpp" />
|
|
<ClCompile Include="cpp_interface_header.cpp" />
|
|
<ClCompile Include="cpp_interface_source.cpp" />
|
|
<ClCompile Include="cpp_client_header.cpp" />
|
|
<ClCompile Include="cpp_client_source.cpp" />
|
|
<ClCompile Include="cpp_server_header.cpp" />
|
|
<ClCompile Include="cpp_server_source.cpp" />
|
|
<ClCompile Include="c_client_header.cpp" />
|
|
<ClCompile Include="c_client_source.cpp" />
|
|
<ClCompile Include="c_server_header.cpp" />
|
|
<ClCompile Include="c_server_source.cpp" />
|
|
<ClCompile Include="cpp_common_functions.cpp" />
|
|
<ClCompile Include="erpcgen_lexer.flex.cpp">
|
|
<DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">4005;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
|
</ClCompile>
|
|
<ClCompile Include="erpcgen_parser.tab.cpp" />
|
|
<ClCompile Include="java_client.cpp" />
|
|
<ClCompile Include="java_coders.cpp" />
|
|
<ClCompile Include="java_const.cpp" />
|
|
<ClCompile Include="java_enum.cpp" />
|
|
<ClCompile Include="java_interface.cpp" />
|
|
<ClCompile Include="java_server.cpp" />
|
|
<ClCompile Include="java_struct.cpp" />
|
|
<ClCompile Include="py_client.cpp" />
|
|
<ClCompile Include="py_coders.cpp" />
|
|
<ClCompile Include="py_common.cpp" />
|
|
<ClCompile Include="py_global_init.cpp" />
|
|
<ClCompile Include="py_init.cpp" />
|
|
<ClCompile Include="py_interface.cpp" />
|
|
<ClCompile Include="py_server.cpp" />
|
|
<ClCompile Include="stdafx.cpp">
|
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
|
|
</ClCompile>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Flex Include="..\src\erpcgen_lexer.l" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Bison Include="..\src\erpcgen_parser.y" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Text Include="readme_erpcgen.txt" />
|
|
</ItemGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets">
|
|
<Import Project="custom_build_rules\win_flex_bison\win_flex_bison_custom_build.targets" />
|
|
</ImportGroup>
|
|
<Target Name="GenerateTemplates">
|
|
<Message Text="Generating templates" />
|
|
<Exec Command="gen_templates.bat" />
|
|
</Target>
|
|
</Project> |