Visual Studio 2019 project added

pull/189/head
Marcin Kondej 2023-05-10 02:38:33 +02:00
rodzic 26776f577c
commit d1dc1fed84
5 zmienionych plików z 271 dodań i 2 usunięć

Wyświetl plik

@ -0,0 +1,265 @@
<?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|ARM">
<Configuration>Debug</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|ARM">
<Configuration>Release</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|ARM64">
<Configuration>Debug</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|ARM64">
<Configuration>Release</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x86">
<Configuration>Debug</Configuration>
<Platform>x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x86">
<Configuration>Release</Configuration>
<Platform>x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{f1c523ba-9fe5-413c-8a54-8c7563f63eb6}</ProjectGuid>
<Keyword>Linux</Keyword>
<RootNamespace>fm_transmitter</RootNamespace>
<MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion>
<ApplicationType>Linux</ApplicationType>
<ApplicationTypeRevision>1.0</ApplicationTypeRevision>
<TargetLinuxPlatform>Generic</TargetLinuxPlatform>
<LinuxProjectType>{D51BCBC9-82E9-4017-911E-C93873C4EA2B}</LinuxProjectType>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings" />
<ImportGroup Label="Shared" />
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
<RemoteLdCommmandTimeout>0</RemoteLdCommmandTimeout>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
<RemoteLdCommmandTimeout>0</RemoteLdCommmandTimeout>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
<RemoteLdCommmandTimeout>0</RemoteLdCommmandTimeout>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
<RemoteLdCommmandTimeout>0</RemoteLdCommmandTimeout>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<RemoteLdCommmandTimeout>0</RemoteLdCommmandTimeout>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<RemoteLdCommmandTimeout>0</RemoteLdCommmandTimeout>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
<RemoteLdCommmandTimeout>0</RemoteLdCommmandTimeout>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
<RemoteLdCommmandTimeout>0</RemoteLdCommmandTimeout>
</PropertyGroup>
<ItemGroup>
<ClCompile Include="fm_transmitter.cpp" />
<ClCompile Include="mailbox.cpp" />
<ClCompile Include="transmitter.cpp" />
<ClCompile Include="wave_reader.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="mailbox.hpp" />
<ClInclude Include="transmitter.hpp" />
<ClInclude Include="wave_reader.hpp" />
</ItemGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
<ClCompile>
<PreprocessorDefinitions>EXECUTABLE="fm_transmitter";VERSION="0.9.6";</PreprocessorDefinitions>
<AdditionalIncludeDirectories>/opt/vc/include;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<CAdditionalWarning>
</CAdditionalWarning>
<CppAdditionalWarning>
</CppAdditionalWarning>
</ClCompile>
<Link>
<AdditionalLibraryDirectories>/opt/vc/lib;%(Link.AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
<Link>
<LibraryDependencies>pthread;bcm_host;%(LibraryDependencies)</LibraryDependencies>
<UnresolvedSymbolReferences>false</UnresolvedSymbolReferences>
<NoExecStackRequired>false</NoExecStackRequired>
<FunctionBinding>false</FunctionBinding>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
<ClCompile>
<PreprocessorDefinitions>EXECUTABLE="fm_transmitter";VERSION="0.9.6";NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>/opt/vc/include;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<CAdditionalWarning>
</CAdditionalWarning>
<CppAdditionalWarning>
</CppAdditionalWarning>
<DebugInformationFormat>None</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalLibraryDirectories>/opt/vc/lib;%(Link.AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
<Link>
<LibraryDependencies>pthread;bcm_host;%(LibraryDependencies)</LibraryDependencies>
<UnresolvedSymbolReferences>false</UnresolvedSymbolReferences>
<FunctionBinding>false</FunctionBinding>
<NoExecStackRequired>false</NoExecStackRequired>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
<ClCompile>
<PreprocessorDefinitions>EXECUTABLE="fm_transmitter";VERSION="0.9.6";</PreprocessorDefinitions>
<AdditionalIncludeDirectories>/opt/vc/include;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<CAdditionalWarning>
</CAdditionalWarning>
<CppAdditionalWarning>
</CppAdditionalWarning>
</ClCompile>
<Link>
<AdditionalLibraryDirectories>/opt/vc/lib;%(Link.AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
<Link>
<LibraryDependencies>pthread;bcm_host;%(LibraryDependencies)</LibraryDependencies>
<UnresolvedSymbolReferences>false</UnresolvedSymbolReferences>
<NoExecStackRequired>false</NoExecStackRequired>
<FunctionBinding>false</FunctionBinding>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
<ClCompile>
<PreprocessorDefinitions>EXECUTABLE="fm_transmitter";VERSION="0.9.6";NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>/opt/vc/include;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<CAdditionalWarning>
</CAdditionalWarning>
<CppAdditionalWarning>
</CppAdditionalWarning>
</ClCompile>
<Link>
<AdditionalLibraryDirectories>/opt/vc/lib;%(Link.AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
<Link>
<LibraryDependencies>pthread;bcm_host;%(LibraryDependencies)</LibraryDependencies>
<UnresolvedSymbolReferences>false</UnresolvedSymbolReferences>
<FunctionBinding>false</FunctionBinding>
<NoExecStackRequired>false</NoExecStackRequired>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PreprocessorDefinitions>EXECUTABLE="fm_transmitter";VERSION="0.9.6";</PreprocessorDefinitions>
<AdditionalIncludeDirectories>/opt/vc/include;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<CAdditionalWarning>
</CAdditionalWarning>
<CppAdditionalWarning>
</CppAdditionalWarning>
</ClCompile>
<Link>
<AdditionalLibraryDirectories>/opt/vc/lib;%(Link.AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
<Link>
<LibraryDependencies>pthread;bcm_host;%(LibraryDependencies)</LibraryDependencies>
<UnresolvedSymbolReferences>false</UnresolvedSymbolReferences>
<NoExecStackRequired>false</NoExecStackRequired>
<FunctionBinding>false</FunctionBinding>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<PreprocessorDefinitions>EXECUTABLE="fm_transmitter";VERSION="0.9.6";NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>/opt/vc/include;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<CAdditionalWarning>
</CAdditionalWarning>
<CppAdditionalWarning>
</CppAdditionalWarning>
</ClCompile>
<Link>
<AdditionalLibraryDirectories>/opt/vc/lib;%(Link.AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
<Link>
<LibraryDependencies>pthread;bcm_host;%(LibraryDependencies)</LibraryDependencies>
<UnresolvedSymbolReferences>false</UnresolvedSymbolReferences>
<FunctionBinding>false</FunctionBinding>
<NoExecStackRequired>false</NoExecStackRequired>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
<ClCompile>
<PreprocessorDefinitions>EXECUTABLE="fm_transmitter";VERSION="0.9.6";</PreprocessorDefinitions>
<AdditionalIncludeDirectories>/opt/vc/include;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<CAdditionalWarning>
</CAdditionalWarning>
<CppAdditionalWarning>
</CppAdditionalWarning>
</ClCompile>
<Link>
<AdditionalLibraryDirectories>/opt/vc/lib;%(Link.AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
<Link>
<LibraryDependencies>pthread;bcm_host;%(LibraryDependencies)</LibraryDependencies>
<UnresolvedSymbolReferences>false</UnresolvedSymbolReferences>
<NoExecStackRequired>false</NoExecStackRequired>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
<ClCompile>
<PreprocessorDefinitions>EXECUTABLE="fm_transmitter";VERSION="0.9.6";NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>/opt/vc/include;%(ClCompile.AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<CAdditionalWarning>
</CAdditionalWarning>
<CppAdditionalWarning>
</CppAdditionalWarning>
</ClCompile>
<Link>
<AdditionalLibraryDirectories>/opt/vc/lib;%(Link.AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
<Link>
<LibraryDependencies>pthread;bcm_host;%(LibraryDependencies)</LibraryDependencies>
<UnresolvedSymbolReferences>false</UnresolvedSymbolReferences>
<NoExecStackRequired>false</NoExecStackRequired>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets" />
</Project>

Wyświetl plik

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>

Wyświetl plik

@ -9,8 +9,8 @@ endif
all: fm_transmitter.o mailbox.o wave_reader.o transmitter.o
g++ -o $(EXECUTABLE) fm_transmitter.o mailbox.o wave_reader.o transmitter.o -L/opt/vc/lib -lm -lpthread -lbcm_host
mailbox.o: mailbox.c mailbox.h
g++ $(FLAGS) -c mailbox.c
mailbox.o: mailbox.cpp mailbox.hpp
g++ $(FLAGS) -c mailbox.cpp
wave_reader.o: wave_reader.cpp wave_reader.hpp
g++ $(FLAGS) -c wave_reader.cpp