[sword-cvs] icu-sword/source/samples/ustring Makefile,1.3,1.4 readme.txt,NONE,1.1 ustring.cpp,1.2,1.3 ustring.dsp,1.3,1.4 ustring.dsw,1.2,1.3 ustring.sln,NONE,1.1 ustring.vcproj,NONE,1.1
sword@www.crosswire.org
sword@www.crosswire.org
Tue, 9 Sep 2003 19:43:06 -0700
- Previous message: [sword-cvs] icu-sword/source/samples/ucnv Makefile,1.3,1.4 convsamp.cpp,1.3,1.4 data01.txt,1.2,1.3 data02.bin,1.2,1.3 data06.txt,1.2,1.3 flagcb.c,1.2,1.3 flagcb.h,1.2,1.3 readme.txt,NONE,1.1 ucnv.dsp,1.3,1.4 ucnv.dsw,1.2,1.3 ucnv.sln,NONE,1.1 ucnv.vcproj,NONE,1.1
- Next message: [sword-cvs] icu-sword/source/samples/translit Makefile,1.3,1.4 README.TXT,1.2,1.3 main.cpp,1.2,1.3 translit.dsp,1.3,1.4 translit.dsw,1.2,1.3 translit.sln,NONE,1.1 translit.vcproj,NONE,1.1 unaccent.cpp,NONE,1.1 unaccent.h,NONE,1.1 util.cpp,1.2,1.3 util.h,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/local/cvsroot/icu-sword/source/samples/ustring
In directory www:/tmp/cvs-serv19862/source/samples/ustring
Added Files:
Makefile readme.txt ustring.cpp ustring.dsp ustring.dsw
ustring.sln ustring.vcproj
Log Message:
ICU 2.6 commit
--- NEW FILE: readme.txt ---
Copyright (c) 2002, International Business Machines Corporation and others. All Rights Reserved.
ustring: Unicode String Manipulation
This sample demonstrates
Using ICU to manipulate UnicodeString objects
Files:
ustring.cpp Main source file in C++
ustring.dsw Windows MSVC workspace. Double-click this to get started.
ustring.dsp Windows MSVC project file
To Build ustring on Windows
1. Install and build ICU
2. In MSVC, open the workspace file icu\samples\ustring\ustring.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 ustring directory, e.g.
cd c:\icu\source\samples\ustring\debug
4. Run it
ustring
To Build on Unixes
1. Build ICU.
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
3. Compile
cd <icu directory>/source/samples/ustring
gmake ICU_PREFIX=<icu install directory)
To Run on Unixes
cd <icu directory>/source/samples/ustring
gmake ICU_PREFIX=<icu install directory> check
-or-
export LD_LIBRARY_PATH=<icu install directory>/lib:.:$LD_LIBRARY_PATH
ustring
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.
--- NEW FILE: ustring.sln ---
Microsoft Visual Studio Solution File, Format Version 7.00
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ustring", "ustring.vcproj", "{FF92E6C1-BACA-41AD-BB6D-ECA19C05573E}"
EndProject
Global
GlobalSection(SolutionConfiguration) = preSolution
ConfigName.0 = Debug
ConfigName.1 = Release
EndGlobalSection
GlobalSection(ProjectDependencies) = postSolution
EndGlobalSection
GlobalSection(ProjectConfiguration) = postSolution
{FF92E6C1-BACA-41AD-BB6D-ECA19C05573E}.Debug.ActiveCfg = Debug|Win32
{FF92E6C1-BACA-41AD-BB6D-ECA19C05573E}.Debug.Build.0 = Debug|Win32
{FF92E6C1-BACA-41AD-BB6D-ECA19C05573E}.Release.ActiveCfg = Release|Win32
{FF92E6C1-BACA-41AD-BB6D-ECA19C05573E}.Release.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
EndGlobalSection
GlobalSection(ExtensibilityAddIns) = postSolution
EndGlobalSection
EndGlobal
--- NEW FILE: ustring.vcproj ---
<?xml version="1.0" encoding = "Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="7.00"
Name="ustring"
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/ustring.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"
OutputFile=".\Release/ustring.exe"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
AdditionalLibraryDirectories="..\..\..\lib"
ProgramDatabaseFile=".\Release/ustring.pdb"
SubSystem="1"/>
<Tool
Name="VCMIDLTool"
TypeLibraryName=".\Release/ustring.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"
OptimizeForProcessor="2"
AdditionalIncludeDirectories="..\..\..\include"
PreprocessorDefinitions="WIN32,_DEBUG,_CONSOLE"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="2"
PrecompiledHeaderFile=".\Debug/ustring.pch"
AssemblerListingLocation=".\Debug/"
ObjectFile=".\Debug/"
ProgramDataBaseFileName=".\Debug/"
WarningLevel="3"
SuppressStartupBanner="TRUE"
DebugInformationFormat="4"
CompileAs="0"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalOptions="/MACHINE:I386"
AdditionalDependencies="icuucd.lib"
OutputFile=".\Debug/ustring.exe"
LinkIncremental="2"
SuppressStartupBanner="TRUE"
AdditionalLibraryDirectories="..\..\..\lib"
GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\Debug/ustring.pdb"
SubSystem="1"/>
<Tool
Name="VCMIDLTool"
TypeLibraryName=".\Debug/ustring.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=".\ustring.cpp">
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl">
</Filter>
<Filter
Name="Resource Files"
Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
- Previous message: [sword-cvs] icu-sword/source/samples/ucnv Makefile,1.3,1.4 convsamp.cpp,1.3,1.4 data01.txt,1.2,1.3 data02.bin,1.2,1.3 data06.txt,1.2,1.3 flagcb.c,1.2,1.3 flagcb.h,1.2,1.3 readme.txt,NONE,1.1 ucnv.dsp,1.3,1.4 ucnv.dsw,1.2,1.3 ucnv.sln,NONE,1.1 ucnv.vcproj,NONE,1.1
- Next message: [sword-cvs] icu-sword/source/samples/translit Makefile,1.3,1.4 README.TXT,1.2,1.3 main.cpp,1.2,1.3 translit.dsp,1.3,1.4 translit.dsw,1.2,1.3 translit.sln,NONE,1.1 translit.vcproj,NONE,1.1 unaccent.cpp,NONE,1.1 unaccent.h,NONE,1.1 util.cpp,1.2,1.3 util.h,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]