[sword-cvs] icu-sword/source/samples/cal .cvsignore,1.2,1.3 Makefile.in,1.3,1.4 cal.c,1.3,1.4 cal.dsp,1.3,1.4 cal.dsw,1.2,1.3 cal.sln,NONE,1.1 cal.vcproj,NONE,1.1 readme.txt,NONE,1.1 uprint.c,1.2,1.3 uprint.h,1.2,1.3
sword@www.crosswire.org
sword@www.crosswire.org
Tue, 9 Sep 2003 19:43:30 -0700
- Previous message: [sword-cvs] icu-sword/source/tools/gencmn .cvsignore,1.3,1.4 Makefile.in,1.3,1.4 decmn.8.in,1.2,1.3 decmn.c,1.3,1.4 decmn.dsp,1.3,1.4 decmn.vcproj,NONE,1.1 gencmn.8.in,1.3,1.4 gencmn.c,1.3,1.4 gencmn.dsp,1.2,1.3 gencmn.vcproj,NONE,1.1
- Next message: [sword-cvs] icu-sword/source/tools/genprops .cvsignore,1.2,1.3 Makefile.in,1.3,1.4 genprops.8.in,NONE,1.1 genprops.c,1.3,1.4 genprops.dsp,1.2,1.3 genprops.h,1.2,1.3 genprops.vcproj,NONE,1.1 props2.c,NONE,1.1 propsvec.c,NONE,1.1 propsvec.h,NONE,1.1 store.c,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/local/cvsroot/icu-sword/source/samples/cal
In directory www:/tmp/cvs-serv19862/source/samples/cal
Added Files:
.cvsignore Makefile.in cal.c cal.dsp cal.dsw cal.sln
cal.vcproj readme.txt uprint.c uprint.h
Log Message:
ICU 2.6 commit
--- NEW FILE: cal.sln ---
Microsoft Visual Studio Solution File, Format Version 7.00
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cal", "cal.vcproj", "{F7659D77-09CF-4FE9-ACEE-927287AA9509}"
EndProject
Global
GlobalSection(SolutionConfiguration) = preSolution
ConfigName.0 = Debug
ConfigName.1 = Release
EndGlobalSection
GlobalSection(ProjectDependencies) = postSolution
EndGlobalSection
GlobalSection(ProjectConfiguration) = postSolution
{F7659D77-09CF-4FE9-ACEE-927287AA9509}.Debug.ActiveCfg = Debug|Win32
{F7659D77-09CF-4FE9-ACEE-927287AA9509}.Debug.Build.0 = Debug|Win32
{F7659D77-09CF-4FE9-ACEE-927287AA9509}.Release.ActiveCfg = Release|Win32
{F7659D77-09CF-4FE9-ACEE-927287AA9509}.Release.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
EndGlobalSection
GlobalSection(ExtensibilityAddIns) = postSolution
EndGlobalSection
EndGlobal
--- NEW FILE: cal.vcproj ---
<?xml version="1.0" encoding = "Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="7.00"
Name="cal"
SccProjectName=""
SccLocalPath="">
<Platforms>
<Platform
Name="Win32"/>
</Platforms>
<Configurations>
<Configuration
Name="Release|Win32"
OutputDirectory=".\Release"
IntermediateDirectory=".\Release"
ConfigurationType="1"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="FALSE"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
InlineFunctionExpansion="1"
OptimizeForProcessor="2"
AdditionalIncludeDirectories="..\..\..\include"
PreprocessorDefinitions="WIN32,NDEBUG,_CONSOLE"
StringPooling="TRUE"
RuntimeLibrary="2"
EnableFunctionLevelLinking="TRUE"
UsePrecompiledHeader="2"
PrecompiledHeaderFile=".\Release/cal.pch"
AssemblerListingLocation=".\Release/"
ObjectFile=".\Release/"
ProgramDataBaseFileName=".\Release/"
WarningLevel="3"
SuppressStartupBanner="TRUE"
CompileAs="0"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalOptions="/MACHINE:I386"
AdditionalDependencies="icuuc.lib icuin.lib"
OutputFile=".\Release/cal.exe"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
AdditionalLibraryDirectories="../../../lib"
ProgramDatabaseFile=".\Release/cal.pdb"
SubSystem="1"/>
<Tool
Name="VCMIDLTool"
TypeLibraryName=".\Release/cal.tlb"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
</Configuration>
<Configuration
Name="Debug|Win32"
OutputDirectory=".\Debug"
IntermediateDirectory=".\Debug"
ConfigurationType="1"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="FALSE"
CharacterSet="2">
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\include"
PreprocessorDefinitions="WIN32,_DEBUG,_CONSOLE"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="2"
PrecompiledHeaderFile=".\Debug/cal.pch"
AssemblerListingLocation=".\Debug/"
ObjectFile=".\Debug/"
ProgramDataBaseFileName=".\Debug/"
BrowseInformation="1"
WarningLevel="3"
SuppressStartupBanner="TRUE"
DebugInformationFormat="4"
CompileAs="0"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalOptions="/MACHINE:I386"
AdditionalDependencies="icuucd.lib icuind.lib"
OutputFile=".\Debug/cal.exe"
LinkIncremental="2"
SuppressStartupBanner="TRUE"
AdditionalLibraryDirectories="../../../lib"
GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\Debug/cal.pdb"
SubSystem="1"/>
<Tool
Name="VCMIDLTool"
TypeLibraryName=".\Debug/cal.tlb"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
</Configuration>
</Configurations>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
<File
RelativePath=".\cal.c">
</File>
<File
RelativePath=".\uprint.c">
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl">
<File
RelativePath=".\uprint.h">
</File>
</Filter>
<Filter
Name="Resource Files"
Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
--- NEW FILE: readme.txt ---
Copyright (c) 2002, International Business Machines Corporation and others. All Rights Reserved.
icucal: a sample program which displays the calendar.
This sample demonstrates
Formatting a calendar
Outputting text in the default codepage to the console
Files:
cal.c Main source file
uprint.h codepage output convenience header
uprint.h codepage output convenience implementation
cal.dsw Windows MSVC workspace. Double-click this to get started.
cal.dsp Windows MSVC project file
To Build icucal on Windows
1. Install and build ICU
2. In MSVC, open the workspace file icu\samples\cal\cal.dsw
3. Choose a Debug or Release build.
4. Build.
To Run on Windows
1. Start a command shell window
2. Add ICU's bin directory to the path, e.g.
set PATH=c:\icu\bin;%PATH%
(Use the path to where ever ICU is on your system.)
3. cd into the cal directory, e.g.
cd c:\icu\source\samples\cal\debug
4. Run it
cal
To Build on Unixes
1. Build ICU. icucal is built automatically by default unless samples are turned off.
Specify an ICU install directory when running configure,
using the --prefix option. The steps to build ICU will look something
like this:
cd <icu directory>/source
runConfigureICU <platform-name> --prefix <icu install directory> [other options]
gmake all
2. Install ICU,
gmake install
To Run on Unixes
cd <icu directory>/source/samples/cal
gmake check
-or-
export LD_LIBRARY_PATH=<icu install directory>/lib:.:$LD_LIBRARY_PATH
cal
Note: The name of the LD_LIBRARY_PATH variable is different on some systems.
If in doubt, run the sample using "gmake check", and note the name of
the variable that is used there. LD_LIBRARY_PATH is the correct name
for Linux and Solaris.
- Previous message: [sword-cvs] icu-sword/source/tools/gencmn .cvsignore,1.3,1.4 Makefile.in,1.3,1.4 decmn.8.in,1.2,1.3 decmn.c,1.3,1.4 decmn.dsp,1.3,1.4 decmn.vcproj,NONE,1.1 gencmn.8.in,1.3,1.4 gencmn.c,1.3,1.4 gencmn.dsp,1.2,1.3 gencmn.vcproj,NONE,1.1
- Next message: [sword-cvs] icu-sword/source/tools/genprops .cvsignore,1.2,1.3 Makefile.in,1.3,1.4 genprops.8.in,NONE,1.1 genprops.c,1.3,1.4 genprops.dsp,1.2,1.3 genprops.h,1.2,1.3 genprops.vcproj,NONE,1.1 props2.c,NONE,1.1 propsvec.c,NONE,1.1 propsvec.h,NONE,1.1 store.c,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]