Skip to content

Commit

Permalink
Committing.
Browse files Browse the repository at this point in the history
  • Loading branch information
LAPTOP\Stefán Ö Sigmundsson committed Jan 30, 2020
0 parents commit a8e8e46
Show file tree
Hide file tree
Showing 14 changed files with 1,972 additions and 0 deletions.
Binary file added Software build/Linux/32-bit/NumberToWord
Binary file not shown.
Binary file added Software build/Linux/64-bit/NumberToWord
Binary file not shown.
Binary file not shown.
Binary file not shown.
674 changes: 674 additions & 0 deletions Software build/gpl-3.0.txt

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions Source code/Build/Linux/eMI NumberToWord Library.makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright © 2017, 2019 eMedia Intellect.

# This file is part of eMI NumberToWord Library.

# eMI NumberToWord Library is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# eMI NumberToWord Library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with eMI NumberToWord Library. If not, see <http://www.gnu.org/licenses/>.

all:
if [ ! -d ./32-bit/ ]; then mkdir ./32-bit/; fi

g++ -m32 -pedantic -std=c++14 -Wall -Weffc++ -Wextra -Wshadow ../../Library/main.cpp ../../Library/NumberToWord/Converter.cpp -o ./32-bit/NumberToWord

if [ ! -d ./64-bit/ ]; then mkdir ./64-bit/; fi

g++ -m64 -pedantic -std=c++14 -Wall -Weffc++ -Wextra -Wshadow ../../Library/main.cpp ../../Library/NumberToWord/Converter.cpp -o ./64-bit/NumberToWord

clean:
if [ -d ./32-bit/ ]; then rm --recursive ./32-bit/; fi

if [ -d ./64-bit/ ]; then rm --recursive ./64-bit/; fi
20 changes: 20 additions & 0 deletions Source code/Build/Microsoft Windows/Build-project.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
:: Copyright © 2017, 2019 eMedia Intellect.

:: This file is part of eMI NumberToWord Library.

:: eMI NumberToWord Library is free software: you can redistribute it and/or modify
:: it under the terms of the GNU General Public License as published by
:: the Free Software Foundation, either version 3 of the License, or
:: (at your option) any later version.

:: eMI NumberToWord Library is distributed in the hope that it will be useful,
:: but WITHOUT ANY WARRANTY; without even the implied warranty of
:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
:: GNU General Public License for more details.

:: You should have received a copy of the GNU General Public License
:: along with eMI NumberToWord Library. If not, see <http://www.gnu.org/licenses/>.

msbuild ".\eMI NumberToWord Library.msbuild" /p:platform=Win32 /p:configuration=Release

msbuild ".\eMI NumberToWord Library.msbuild" /p:platform=x64 /p:configuration=Release
20 changes: 20 additions & 0 deletions Source code/Build/Microsoft Windows/Clean-project.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright © 2017, 2019 eMedia Intellect.

# This file is part of eMI NumberToWord Library.

# eMI NumberToWord Library is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# eMI NumberToWord Library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with eMI NumberToWord Library. If not, see <http://www.gnu.org/licenses/>.

Remove-Item -ErrorAction 'Ignore' -Force -Path '.\Win32' -Recurse

Remove-Item -ErrorAction 'Ignore' -Force -Path '.\x64' -Recurse
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright © 2017, 2019 eMedia Intellect.
This file is part of eMI NumberToWord Library.
eMI NumberToWord Library is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
eMI NumberToWord Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with eMI NumberToWord Library. If not, see <http://www.gnu.org/licenses/>.
-->
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\Library\main.cpp"/>
<ClCompile Include="..\..\Library\NumberToWord\Converter.cpp"/>
</ItemGroup>
<PropertyGroup>
<AssemblyName>NumberToWord</AssemblyName>
<IntermediateOutputPath>.\$(Platform)\$(Configuration)\</IntermediateOutputPath>
<OutDir>.\$(Platform)\$(Configuration)\</OutDir>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.default.props"/>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props"/>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
</Project>
Loading

0 comments on commit a8e8e46

Please sign in to comment.