Skip to content

Commit

Permalink
[C++] 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Konard committed Jul 12, 2021
1 parent 44259f6 commit 0919dc2
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,18 @@ jobs:
export REPOSITORY_NAME=$(basename ${{ github.repository }})
wget "$SCRIPTS_BASE_URL/push-csharp-nuget.sh"
bash ./push-csharp-nuget.sh
- name: Read Cpp package information
if: github.event_name == 'push'
run: |
export REPOSITORY_NAME=$(basename ${{ github.repository }})
wget "$SCRIPTS_BASE_URL/read_cpp_package_info.sh"
bash ./read_cpp_package_info.sh
- name: Publish Cpp NuGet package
if: github.event_name == 'push'
run: |
export REPOSITORY_NAME=$(basename ${{ github.repository }})
wget "$SCRIPTS_BASE_URL/push-cpp-nuget.sh"
bash ./push-cpp-nuget.sh
- name: Publish release
if: github.event_name == 'push'
run: |
Expand Down
33 changes: 33 additions & 0 deletions cpp/Platform.Setters/Platform.Setters.TemplateLibrary.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Platform.Setters.TemplateLibrary</id>
<title>LinksPlatform's Platform.Setters Template Library</title>
<summary>LinksPlatform's Platform.Setters is a Template Library what contains class templates.</summary>
<description>LinksPlatform's Platform.Setters is a Template Library what contains set of C++ class templates. Each setter provides a set of callback methods to set the result value. Use Platform.Setters.h file to include the library.</description>
<releaseNotes>Initial release.</releaseNotes>
<version>0.0.1</version>
<authors>konard,Mitron57</authors>
<owners>konard,Mitron57</owners>
<copyright>konard,Mitron57</copyright>
<projectUrl>https://linksplatform.github.io/Setters</projectUrl>
<repository type="git" url="https://github.com/linksplatform/Setters" />
<icon>images/icon.png</icon>
<tags>C++ Native Setters</tags>
<license type="expression">MIT</license>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<dependencies>
<group targetFramework="native">
<dependency id="Platform.Interfaces.TemplateLibrary" version="0.1.3" />
</group>
</dependencies>
</metadata>
<files>
<file src="icon.png" target="images/icon.png" />
<file src="Platform.Setters.TemplateLibrary.targets" target="build\native\Platform.Setters.TemplateLibrary.targets" />
<file src="Platform.Setters.h" target="lib\native\include\Platform.Setters.h" />
<file src="Setter[TResult, TDecision].h" target="lib\native\include\Setter[TResult, TDecision].h" />
<file src="Setter[TResult].h" target="lib\native\include\Setter[TResult].h" />
<file src="SetterBase.h" target="lib\native\include\SetterBase.h" />
</files>
</package>
13 changes: 13 additions & 0 deletions cpp/Platform.Setters/Platform.Setters.TemplateLibrary.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(MSBuildThisFileDirectory)..\..\lib\native\include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<ResourceCompile>
<AdditionalIncludeDirectories>$(MSBuildThisFileDirectory)..\..\lib\native\include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemGroup />
</Project>

0 comments on commit 0919dc2

Please sign in to comment.