diff options
-rw-r--r-- | .gitignore | 9 | ||||
-rw-r--r-- | dist/win/installer/Calculator.png | bin | 0 -> 1194 bytes | |||
-rw-r--r-- | dist/win/installer/Calculator_16x16.ico | bin | 0 -> 1150 bytes | |||
-rw-r--r-- | dist/win/installer/build.bat | 28 | ||||
-rw-r--r-- | dist/win/installer/ledger.wxs | 63 | ||||
-rw-r--r-- | dist/win/vc9/extract_version_numbers.bat | 7 | ||||
-rw-r--r-- | dist/win/vc9/ledger.sln | 93 | ||||
-rwxr-xr-x | dist/win/vc9/ledger.vcproj | 619 | ||||
-rw-r--r-- | dist/win/vc9/windows_build_instructions.txt | 50 | ||||
-rw-r--r-- | doc/LICENSE.rtf | bin | 0 -> 1718 bytes |
10 files changed, 869 insertions, 0 deletions
@@ -73,3 +73,12 @@ /tmpcvs*/ /tmpwrk*/ /util_tests +/dist/win/vc9/Debug/ +/dist/win/vc9/gen-mpir.exe +/dist/win/vc9/gen-mpir.ilk +/dist/win/vc9/gen-mpir.pdb +/dist/win/vc9/ledger.ncb +/dist/win/vc9/ledger.vcproj.*.user +/dist/win/vc9/ledger.suo +/dist/win/vc9/lib/Win32/Debug/ +/dist/win/vc9/system.hh diff --git a/dist/win/installer/Calculator.png b/dist/win/installer/Calculator.png Binary files differnew file mode 100644 index 00000000..cf9c87c7 --- /dev/null +++ b/dist/win/installer/Calculator.png diff --git a/dist/win/installer/Calculator_16x16.ico b/dist/win/installer/Calculator_16x16.ico Binary files differnew file mode 100644 index 00000000..59a6ba8a --- /dev/null +++ b/dist/win/installer/Calculator_16x16.ico diff --git a/dist/win/installer/build.bat b/dist/win/installer/build.bat new file mode 100644 index 00000000..1f3b69ff --- /dev/null +++ b/dist/win/installer/build.bat @@ -0,0 +1,28 @@ +@echo off + +rem Call the script that will read and parse version.m4, and store the version +rem number in the ledger_version_nr environment variable. +call ..\vc9\extract_version_numbers.bat +del config.h +rem Ledgers uses x.y.z-date format, but MSI needs x.y.z.b numbering. Can be +rem solved with simple string replace. +set ledger_version_nr=%ledger_version_nr:-=.% + +rmdir /S /Q content +mkdir content +rem Now, gather all the files we need in a directory +copy ..\vc9\Release\ledger.exe content +copy ..\..\..\doc\ledger.pdf content +copy ..\..\..\doc\LICENSE.rtf content +copy Calculator_16x16.ico content +copy ledger.wxs content + +cd content +rem Finally, call the WiX compiler & linker +"%WIX%\bin\candle.exe" ledger.wxs +"%WIX%\bin\light.exe" -ext WixUIExtension ledger.wixobj + +rem Hopefully everything went well, copy the result back +copy ledger.msi ..\ledger-%ledger_version_nr%.msi + +cd .. diff --git a/dist/win/installer/ledger.wxs b/dist/win/installer/ledger.wxs new file mode 100644 index 00000000..711c9477 --- /dev/null +++ b/dist/win/installer/ledger.wxs @@ -0,0 +1,63 @@ +<?xml version='1.0' encoding='windows-1252'?> +<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'> + <Product Name='Ledger' Id='7976E26F-7353-4838-A524-2465619E8AE0' UpgradeCode='F9E282EC-EC89-482c-9214-8F03661414A2' + Language='1033' Codepage='1252' Version='$(env.ledger_version_nr)' Manufacturer='John Wiegley'> + <Package Id='*' Keywords='Installer' Description="Ledger $(env.ledger_version_nr) Installer" + Comments='Double-entry accounting system with a command-line reporting interface.' Manufacturer='John Wiegley' + InstallerVersion='100' Languages='1033' Compressed='yes' SummaryCodepage='1252' /> + + <Media Id='1' Cabinet='ledger.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1' /> + <Property Id='DiskPrompt' Value="Ledger $(env.ledger_version_nr) Installation [1]" /> + <Directory Id='TARGETDIR' Name='SourceDir'> + <Directory Id='ProgramFilesFolder' Name='PFiles'> + <Directory Id='INSTALLDIR' Name='Ledger 3'> + <Component Id='MainExecutable' Guid='53D87CDD-FD2F-414f-BB84-807F5E31BC4B'> + <File Id='LedgerEXE' Name='ledger.exe' DiskId='1' Source='ledger.exe' KeyPath='yes'> + <!--Shortcut Id="startmenuFoobar10" Directory="ProgramMenuDir" Name="Foobar 1.0" + WorkingDirectory='INSTALLDIR' Icon="Foobar10.exe" IconIndex="0" Advertise="yes" /--> + <!--Shortcut Id="desktopFoobar10" Directory="DesktopFolder" Name="Foobar 1.0" + WorkingDirectory='INSTALLDIR' Icon="Foobar10.exe" IconIndex="0" Advertise="yes" /--> + </File> + </Component> + <!--Component Id='HelperLibrary' Guid='YOURGUID-6BE3-460D-A14F-75658D16550B'> + <File Id='HelperDLL' Name='Helper.dll' DiskId='1' Source='Helper.dll' KeyPath='yes' /> + </Component--> + <Component Id='Manual' Guid='86878FFD-860A-44d1-9FEB-B1CB2B551E38'> + <File Id='Manual' Name='ledger.pdf' DiskId='1' Source='ledger.pdf' KeyPath='yes'> + <Shortcut Id='startmenuManual' Directory='ProgramMenuDir' Name='Ledger manual' Advertise='yes' /> + </File> + </Component> + </Directory> + </Directory> + + <Directory Id="ProgramMenuFolder" Name="Programs"> + <Directory Id="ProgramMenuDir" Name="Ledger 3"> + <Component Id="ProgramMenuDir" Guid="E9BBD4AA-A0CB-41db-9870-795728956198"> + <RemoveFolder Id='ProgramMenuDir' On='uninstall' /> + <RegistryValue Root='HKCU' Key='Software\Ledger' Type='string' Value='' KeyPath='yes' /> + </Component> + </Directory> + </Directory> + </Directory> + <Feature Id='Complete' Level='1' Title='Ledger $(env.ledger_version_nr)' Description='The complete package.' Display='expand' ConfigurableDirectory='INSTALLDIR'> + <ComponentRef Id='MainExecutable' /> + <ComponentRef Id='Manual' /> + <ComponentRef Id='ProgramMenuDir' /> + </Feature> + <!-- http://techupcoming.com/userinterfaceiconscom-download-high-quality-icons-for-free/ --> + <Icon Id="Ledger.exe" SourceFile="Calculator_16x16.ico" /> + <Property Id="ARPPRODUCTICON" Value="Ledger.exe" /> + <Property Id="ALLUSERS" Value="1"/> + + <UIRef Id='WixUI_Minimal' /> + <UIRef Id='WixUI_ErrorProgressText' /> + + <WixVariable Id="WixUILicenseRtf" Value="LICENSE.rtf" /> + <!--WixVariable Id="WixUIBannerBmp" Value="path\banner.bmp" /> + <WixVariable Id="WixUIDialogBmp" Value="path\dialog.bmp" /> + <WixVariable Id="WixUIExclamationIco" Value="path\exclamation.ico" /> + <WixVariable Id="WixUIInfoIco" Value="path\information.ico" /> + <WixVariable Id="WixUINewIco" Value="path\new.ico" /> + <WixVariable Id="WixUIUpIco" Value="path\up.ico" /--> + </Product> +</Wix> diff --git a/dist/win/vc9/extract_version_numbers.bat b/dist/win/vc9/extract_version_numbers.bat new file mode 100644 index 00000000..71a339cd --- /dev/null +++ b/dist/win/vc9/extract_version_numbers.bat @@ -0,0 +1,7 @@ +set target_file=config.h +set /p version_file_contents=<..\..\..\version.m4 +set ledger_version_nr=%version_file_contents:m4_define([VERSION_NUMBER], [=% +set ledger_version_nr=%ledger_version_nr:])=% +echo #pragma once> %target_file% +echo #define PACKAGE_VERSION "%ledger_version_nr%">> %target_file% +echo #define VERSION "%ledger_version_nr%">> %target_file% diff --git a/dist/win/vc9/ledger.sln b/dist/win/vc9/ledger.sln new file mode 100644 index 00000000..a713475c --- /dev/null +++ b/dist/win/vc9/ledger.sln @@ -0,0 +1,93 @@ + +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ledger", "ledger.vcproj", "{33A6F094-A973-4FB6-9DED-F4F0568359E1}" + ProjectSection(ProjectDependencies) = postProject + {4AF4FD03-C169-456A-966A-081DE6BB71C7} = {4AF4FD03-C169-456A-966A-081DE6BB71C7} + {96DA1C71-3895-49FA-A4F1-2775C650AF3D} = {96DA1C71-3895-49FA-A4F1-2775C650AF3D} + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{36984A95-E409-4254-9018-F65C78A32000}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gen-bases", "..\..\..\lib\win\mpir\build.vc9\gen-bases\gen-bases.vcproj", "{2297FA81-6D9D-4DC3-BA42-04E93F397047}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gen-fac_ui", "..\..\..\lib\win\mpir\build.vc9\gen-fac_ui\gen-fac_ui.vcproj", "{001E0D42-4AF4-44B8-A8B2-3CD46D537DBE}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gen-fib", "..\..\..\lib\win\mpir\build.vc9\gen-fib\gen-fib.vcproj", "{D3C6D6B7-CD38-4D49-9BA7-1FBB35F77223}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gen-mpir", "..\..\..\lib\win\mpir\build.vc9\gen-mpir\gen-mpir.vcproj", "{EAFA3E0D-5B34-43A3-A08A-B5E3839BF66A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lib_mpfr", "..\..\..\lib\win\mpfr\build.vc9\lib_mpfr\lib_mpfr.vcproj", "{96DA1C71-3895-49FA-A4F1-2775C650AF3D}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lib_mpir_cxx", "..\..\..\lib\win\mpir\build.vc9\lib_mpir_cxx\lib_mpir_cxx.vcproj", "{C82A62DB-DDB4-4072-832F-6DD841C6D80E}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lib_mpir_gc", "..\..\..\lib\win\mpir\build.vc9\lib_mpir_gc\lib_mpir_gc.vcproj", "{4AF4FD03-C169-456A-966A-081DE6BB71C7}" + ProjectSection(ProjectDependencies) = postProject + {EAFA3E0D-5B34-43A3-A08A-B5E3839BF66A} = {EAFA3E0D-5B34-43A3-A08A-B5E3839BF66A} + {001E0D42-4AF4-44B8-A8B2-3CD46D537DBE} = {001E0D42-4AF4-44B8-A8B2-3CD46D537DBE} + {2297FA81-6D9D-4DC3-BA42-04E93F397047} = {2297FA81-6D9D-4DC3-BA42-04E93F397047} + {D3C6D6B7-CD38-4D49-9BA7-1FBB35F77223} = {D3C6D6B7-CD38-4D49-9BA7-1FBB35F77223} + {C82A62DB-DDB4-4072-832F-6DD841C6D80E} = {C82A62DB-DDB4-4072-832F-6DD841C6D80E} + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {33A6F094-A973-4FB6-9DED-F4F0568359E1}.Debug|Win32.ActiveCfg = Debug|Win32 + {33A6F094-A973-4FB6-9DED-F4F0568359E1}.Debug|Win32.Build.0 = Debug|Win32 + {33A6F094-A973-4FB6-9DED-F4F0568359E1}.Debug|x64.ActiveCfg = Debug|Win32 + {33A6F094-A973-4FB6-9DED-F4F0568359E1}.Release|Win32.ActiveCfg = Release|Win32 + {33A6F094-A973-4FB6-9DED-F4F0568359E1}.Release|Win32.Build.0 = Release|Win32 + {33A6F094-A973-4FB6-9DED-F4F0568359E1}.Release|x64.ActiveCfg = Release|Win32 + {2297FA81-6D9D-4DC3-BA42-04E93F397047}.Debug|Win32.ActiveCfg = Debug|Win32 + {2297FA81-6D9D-4DC3-BA42-04E93F397047}.Debug|Win32.Build.0 = Debug|Win32 + {2297FA81-6D9D-4DC3-BA42-04E93F397047}.Debug|x64.ActiveCfg = Debug|Win32 + {2297FA81-6D9D-4DC3-BA42-04E93F397047}.Release|Win32.ActiveCfg = Release|Win32 + {2297FA81-6D9D-4DC3-BA42-04E93F397047}.Release|Win32.Build.0 = Release|Win32 + {2297FA81-6D9D-4DC3-BA42-04E93F397047}.Release|x64.ActiveCfg = Release|Win32 + {001E0D42-4AF4-44B8-A8B2-3CD46D537DBE}.Debug|Win32.ActiveCfg = Debug|Win32 + {001E0D42-4AF4-44B8-A8B2-3CD46D537DBE}.Debug|Win32.Build.0 = Debug|Win32 + {001E0D42-4AF4-44B8-A8B2-3CD46D537DBE}.Debug|x64.ActiveCfg = Debug|Win32 + {001E0D42-4AF4-44B8-A8B2-3CD46D537DBE}.Release|Win32.ActiveCfg = Release|Win32 + {001E0D42-4AF4-44B8-A8B2-3CD46D537DBE}.Release|Win32.Build.0 = Release|Win32 + {001E0D42-4AF4-44B8-A8B2-3CD46D537DBE}.Release|x64.ActiveCfg = Release|Win32 + {D3C6D6B7-CD38-4D49-9BA7-1FBB35F77223}.Debug|Win32.ActiveCfg = Debug|Win32 + {D3C6D6B7-CD38-4D49-9BA7-1FBB35F77223}.Debug|Win32.Build.0 = Debug|Win32 + {D3C6D6B7-CD38-4D49-9BA7-1FBB35F77223}.Debug|x64.ActiveCfg = Debug|Win32 + {D3C6D6B7-CD38-4D49-9BA7-1FBB35F77223}.Release|Win32.ActiveCfg = Release|Win32 + {D3C6D6B7-CD38-4D49-9BA7-1FBB35F77223}.Release|Win32.Build.0 = Release|Win32 + {D3C6D6B7-CD38-4D49-9BA7-1FBB35F77223}.Release|x64.ActiveCfg = Release|Win32 + {EAFA3E0D-5B34-43A3-A08A-B5E3839BF66A}.Debug|Win32.ActiveCfg = Debug|Win32 + {EAFA3E0D-5B34-43A3-A08A-B5E3839BF66A}.Debug|Win32.Build.0 = Debug|Win32 + {EAFA3E0D-5B34-43A3-A08A-B5E3839BF66A}.Debug|x64.ActiveCfg = Debug|Win32 + {EAFA3E0D-5B34-43A3-A08A-B5E3839BF66A}.Release|Win32.ActiveCfg = Release|Win32 + {EAFA3E0D-5B34-43A3-A08A-B5E3839BF66A}.Release|Win32.Build.0 = Release|Win32 + {EAFA3E0D-5B34-43A3-A08A-B5E3839BF66A}.Release|x64.ActiveCfg = Release|Win32 + {96DA1C71-3895-49FA-A4F1-2775C650AF3D}.Debug|Win32.ActiveCfg = Debug|Win32 + {96DA1C71-3895-49FA-A4F1-2775C650AF3D}.Debug|Win32.Build.0 = Debug|Win32 + {96DA1C71-3895-49FA-A4F1-2775C650AF3D}.Debug|x64.ActiveCfg = Debug|Win32 + {96DA1C71-3895-49FA-A4F1-2775C650AF3D}.Release|Win32.ActiveCfg = Release|Win32 + {96DA1C71-3895-49FA-A4F1-2775C650AF3D}.Release|Win32.Build.0 = Release|Win32 + {96DA1C71-3895-49FA-A4F1-2775C650AF3D}.Release|x64.ActiveCfg = Release|Win32 + {C82A62DB-DDB4-4072-832F-6DD841C6D80E}.Debug|Win32.ActiveCfg = Debug|Win32 + {C82A62DB-DDB4-4072-832F-6DD841C6D80E}.Debug|Win32.Build.0 = Debug|Win32 + {C82A62DB-DDB4-4072-832F-6DD841C6D80E}.Debug|x64.ActiveCfg = Debug|Win32 + {C82A62DB-DDB4-4072-832F-6DD841C6D80E}.Release|Win32.ActiveCfg = Release|Win32 + {C82A62DB-DDB4-4072-832F-6DD841C6D80E}.Release|Win32.Build.0 = Release|Win32 + {C82A62DB-DDB4-4072-832F-6DD841C6D80E}.Release|x64.ActiveCfg = Release|Win32 + {4AF4FD03-C169-456A-966A-081DE6BB71C7}.Debug|Win32.ActiveCfg = Debug|Win32 + {4AF4FD03-C169-456A-966A-081DE6BB71C7}.Debug|Win32.Build.0 = Debug|Win32 + {4AF4FD03-C169-456A-966A-081DE6BB71C7}.Debug|x64.ActiveCfg = Debug|Win32 + {4AF4FD03-C169-456A-966A-081DE6BB71C7}.Release|Win32.ActiveCfg = Release|Win32 + {4AF4FD03-C169-456A-966A-081DE6BB71C7}.Release|Win32.Build.0 = Release|Win32 + {4AF4FD03-C169-456A-966A-081DE6BB71C7}.Release|x64.ActiveCfg = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/win/vc9/ledger.vcproj b/dist/win/vc9/ledger.vcproj new file mode 100755 index 00000000..628150a6 --- /dev/null +++ b/dist/win/vc9/ledger.vcproj @@ -0,0 +1,619 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="9.00" + Name="ledger" + ProjectGUID="{33A6F094-A973-4FB6-9DED-F4F0568359E1}" + RootNamespace="ledger" + Keyword="Win32Proj" + TargetFrameworkVersion="196613" + > + <Platforms> + <Platform + Name="Win32" + /> + </Platforms> + <ToolFiles> + </ToolFiles> + <Configurations> + <Configuration + Name="Debug|Win32" + OutputDirectory="$(SolutionDir)$(ConfigurationName)" + IntermediateDirectory="$(ConfigurationName)" + ConfigurationType="1" + CharacterSet="2" + > + <Tool + Name="VCPreBuildEventTool" + CommandLine="$(ProjectDir)extract_version_numbers.bat
copy "$(ProjectDir)..\..\..\src\system.hh.in" "$(ProjectDir)system.hh"
" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + Optimization="0" + AdditionalIncludeDirectories=""$(ProjectDir)";"$(ProjectDir)\..\..\..\lib\utfcpp\source";"$(ProjectDir)\..\..\..\lib";"$(ProjectDir)\..\..\..\lib\win\mpir";"$(ProjectDir)\..\..\..\lib\win\mpfr"" + PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;USE_BOOST_FACETS" + MinimalRebuild="true" + BasicRuntimeChecks="3" + RuntimeLibrary="1" + UsePrecompiledHeader="0" + WarningLevel="3" + DebugInformationFormat="4" + DisableSpecificWarnings="4800" + ShowIncludes="false" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + LinkIncremental="2" + GenerateDebugInformation="true" + SubSystem="1" + TargetMachine="1" + /> + <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|Win32" + OutputDirectory="$(SolutionDir)$(ConfigurationName)" + IntermediateDirectory="$(ConfigurationName)" + ConfigurationType="1" + CharacterSet="1" + WholeProgramOptimization="1" + > + <Tool + Name="VCPreBuildEventTool" + CommandLine="$(ProjectDir)extract_version_numbers.bat
copy "$(ProjectDir)..\..\..\src\system.hh.in" "$(ProjectDir)system.hh"
" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + Optimization="2" + EnableIntrinsicFunctions="true" + AdditionalIncludeDirectories=""$(ProjectDir)";"$(ProjectDir)\..\..\..\lib\utfcpp";"$(ProjectDir)\..\..\..\lib";"$(ProjectDir)\..\..\..\lib\win\mpir";"$(ProjectDir)\..\..\..\lib\win\mpfr"" + PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;USE_BOOST_FACETS" + RuntimeLibrary="1" + EnableFunctionLevelLinking="true" + UsePrecompiledHeader="0" + WarningLevel="3" + DebugInformationFormat="3" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + LinkIncremental="1" + GenerateDebugInformation="false" + SubSystem="1" + OptimizeReferences="2" + EnableCOMDATFolding="2" + TargetMachine="1" + /> + <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="..\..\..\src\account.cc" + > + </File> + <File + RelativePath="..\..\..\src\accum.cc" + > + </File> + <File + RelativePath="..\..\..\src\amount.cc" + > + </File> + <File + RelativePath="..\..\..\src\annotate.cc" + > + </File> + <File + RelativePath="..\..\..\src\archive.cc" + > + </File> + <File + RelativePath="..\..\..\src\balance.cc" + > + </File> + <File + RelativePath="..\..\..\src\chain.cc" + > + </File> + <File + RelativePath="..\..\..\src\commodity.cc" + > + </File> + <File + RelativePath="..\..\..\src\compare.cc" + > + </File> + <File + RelativePath="..\..\..\src\convert.cc" + > + </File> + <File + RelativePath="..\..\..\src\csv.cc" + > + </File> + <File + RelativePath="..\..\..\src\draft.cc" + > + </File> + <File + RelativePath="..\..\..\src\emacs.cc" + > + </File> + <File + RelativePath="..\..\..\src\error.cc" + > + </File> + <File + RelativePath="..\..\..\src\expr.cc" + > + </File> + <File + RelativePath="..\..\..\src\filters.cc" + > + </File> + <File + RelativePath="..\..\..\src\format.cc" + > + </File> + <File + RelativePath="..\..\..\src\generate.cc" + > + </File> + <File + RelativePath="..\..\..\src\global.cc" + > + </File> + <File + RelativePath="..\..\..\src\item.cc" + > + </File> + <File + RelativePath="..\..\..\src\iterators.cc" + > + </File> + <File + RelativePath="..\..\..\src\journal.cc" + > + </File> + <File + RelativePath="..\..\..\src\lookup.cc" + > + </File> + <File + RelativePath="..\..\..\src\main.cc" + > + </File> + <File + RelativePath="..\..\..\src\mask.cc" + > + </File> + <File + RelativePath="..\..\..\src\op.cc" + > + </File> + <File + RelativePath="..\..\..\src\option.cc" + > + </File> + <File + RelativePath="..\..\..\src\output.cc" + > + </File> + <File + RelativePath="..\..\..\src\parser.cc" + > + </File> + <File + RelativePath="..\..\..\src\pool.cc" + > + </File> + <File + RelativePath="..\..\..\src\post.cc" + > + </File> + <File + RelativePath="..\..\..\src\precmd.cc" + > + </File> + <File + RelativePath="..\..\..\src\predicate.cc" + > + </File> + <File + RelativePath="..\..\..\src\print.cc" + > + </File> + <File + RelativePath="..\..\..\src\query.cc" + > + </File> + <File + RelativePath="..\..\..\src\quotes.cc" + > + </File> + <File + RelativePath="..\..\..\src\report.cc" + > + </File> + <File + RelativePath="..\..\..\src\scope.cc" + > + </File> + <File + RelativePath="..\..\..\src\session.cc" + > + </File> + <File + RelativePath="..\..\..\lib\sha1.cpp" + > + </File> + <File + RelativePath="..\..\..\src\stats.cc" + > + </File> + <File + RelativePath="..\..\..\src\stream.cc" + > + </File> + <File + RelativePath="..\..\..\src\temps.cc" + > + </File> + <File + RelativePath="..\..\..\src\textual.cc" + > + </File> + <File + RelativePath="..\..\..\src\timelog.cc" + > + </File> + <File + RelativePath="..\..\..\src\times.cc" + > + </File> + <File + RelativePath="..\..\..\src\token.cc" + > + </File> + <File + RelativePath="..\..\..\src\utils.cc" + > + </File> + <File + RelativePath="..\..\..\src\value.cc" + > + </File> + <File + RelativePath="..\..\..\src\xact.cc" + > + </File> + <File + RelativePath="..\..\..\src\xml.cc" + > + </File> + </Filter> + <Filter + Name="Header Files" + Filter="h;hpp;hxx;hm;inl;inc;xsd" + UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" + > + <File + RelativePath="..\..\..\src\account.h" + > + </File> + <File + RelativePath="..\..\..\src\accum.h" + > + </File> + <File + RelativePath="..\..\..\src\amount.h" + > + </File> + <File + RelativePath="..\..\..\src\annotate.h" + > + </File> + <File + RelativePath="..\..\..\src\archive.h" + > + </File> + <File + RelativePath="..\..\..\src\balance.h" + > + </File> + <File + RelativePath="..\..\..\src\chain.h" + > + </File> + <File + RelativePath="..\..\..\src\commodity.h" + > + </File> + <File + RelativePath="..\..\..\src\compare.h" + > + </File> + <File + RelativePath="..\..\..\src\convert.h" + > + </File> + <File + RelativePath="..\..\..\src\csv.h" + > + </File> + <File + RelativePath="..\..\..\src\draft.h" + > + </File> + <File + RelativePath="..\..\..\src\emacs.h" + > + </File> + <File + RelativePath="..\..\..\src\error.h" + > + </File> + <File + RelativePath="..\..\..\src\expr.h" + > + </File> + <File + RelativePath="..\..\..\src\exprbase.h" + > + </File> + <File + RelativePath="..\..\..\src\filters.h" + > + </File> + <File + RelativePath="..\..\..\src\flags.h" + > + </File> + <File + RelativePath="..\..\..\src\format.h" + > + </File> + <File + RelativePath="..\..\..\src\generate.h" + > + </File> + <File + RelativePath="..\..\..\src\global.h" + > + </File> + <File + RelativePath="..\..\..\src\item.h" + > + </File> + <File + RelativePath="..\..\..\src\iterators.h" + > + </File> + <File + RelativePath="..\..\..\src\journal.h" + > + </File> + <File + RelativePath="..\..\..\src\lookup.h" + > + </File> + <File + RelativePath="..\..\..\src\mask.h" + > + </File> + <File + RelativePath="..\..\..\src\op.h" + > + </File> + <File + RelativePath="..\..\..\src\option.h" + > + </File> + <File + RelativePath="..\..\..\src\output.h" + > + </File> + <File + RelativePath="..\..\..\src\parser.h" + > + </File> + <File + RelativePath="..\..\..\src\pool.h" + > + </File> + <File + RelativePath="..\..\..\src\post.h" + > + </File> + <File + RelativePath="..\..\..\src\precmd.h" + > + </File> + <File + RelativePath="..\..\..\src\predicate.h" + > + </File> + <File + RelativePath="..\..\..\src\print.h" + > + </File> + <File + RelativePath="..\..\..\src\pstream.h" + > + </File> + <File + RelativePath="..\..\..\src\pyfstream.h" + > + </File> + <File + RelativePath="..\..\..\src\pyinterp.h" + > + </File> + <File + RelativePath="..\..\..\src\pyutils.h" + > + </File> + <File + RelativePath="..\..\..\src\query.h" + > + </File> + <File + RelativePath="..\..\..\src\quotes.h" + > + </File> + <File + RelativePath="..\..\..\src\report.h" + > + </File> + <File + RelativePath="..\..\..\src\scope.h" + > + </File> + <File + RelativePath="..\..\..\src\session.h" + > + </File> + <File + RelativePath="..\..\..\src\stats.h" + > + </File> + <File + RelativePath="..\..\..\src\stream.h" + > + </File> + <File + RelativePath="..\..\..\src\temps.h" + > + </File> + <File + RelativePath="..\..\..\src\timelog.h" + > + </File> + <File + RelativePath="..\..\..\src\times.h" + > + </File> + <File + RelativePath="..\..\..\src\token.h" + > + </File> + <File + RelativePath="..\..\..\src\unistring.h" + > + </File> + <File + RelativePath="..\..\..\src\utils.h" + > + </File> + <File + RelativePath="..\..\..\src\value.h" + > + </File> + <File + RelativePath="..\..\..\src\xact.h" + > + </File> + <File + RelativePath="..\..\..\src\xml.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}" + > + </Filter> + </Files> + <Globals> + </Globals> +</VisualStudioProject> diff --git a/dist/win/vc9/windows_build_instructions.txt b/dist/win/vc9/windows_build_instructions.txt new file mode 100644 index 00000000..48561d21 --- /dev/null +++ b/dist/win/vc9/windows_build_instructions.txt @@ -0,0 +1,50 @@ + + How to build ledger with Visual Studio 2008 + +Let me start by saying that this is probably not suitable for someone with +little C++ and/or Visual Studio experience. This document does assume some +basic knowledger about configuring VS, building C++ projects in general etc. + +1. To start, get git from http://code.google.com/p/msysgit/ and install + it. Checkout ledger from the git repository using the instructions on + http://github.com/jwiegley/ledger. + +2. Next, Download the libraries you need: + + - mpir: http://www.mpir.org/ + (mpir is a source-level alternative for GMP, which supports Windows) + - mpfr: http://www.mpfr.org/ + - boost: http://www.boost.org/ + + Extract mpir & mpfr to lib/win/mpfr & lib/win/mpir. + +3. Download the mpfr Visual Studio project files from + + http://gladman.plushost.co.uk/oldsite/computing/gmp4win.php + +4. If you didn't download the binary distribution of boost, build it yourself. + These libraries are linked statically so you need to the static versions. + + Use the following command to build boost (bjam is a separate tool to be + downloaded from the boost website): + + bjam toolset=msvc-9.0 --build-type=complete + define=_BIND_TO_CURRENT_MFC_VERSION=1 + define=_BIND_TO_CURRENT_CRT_VERSION=1 + stage + +5. Add the boost directory to your VS include directories, and the stage/lib + directory to the library directories. + +6. Checkout utfcpp by updating Ledger's Git submodules: + + git submodule update --init + +7. Finally, open the ledger.sln solution and hit build. + + +If you also want to build the installer, you will first need to somehow +generate the documentation pdf in the doc/ directory. You can either do this +using a TeX distribution for Windows, or copy it from a Linux machine. Next +run the build.bat command in the dist/win/installer directory. The resulting +installer package will be copied to this directory, too. diff --git a/doc/LICENSE.rtf b/doc/LICENSE.rtf Binary files differnew file mode 100644 index 00000000..8da96b65 --- /dev/null +++ b/doc/LICENSE.rtf |