[sword-cvs] icu-sword/source/samples/uresb Makefile,1.3,1.4 en.txt,1.2,1.3 readme.txt,NONE,1.1 resources.dsp,1.2,1.3 resources.mak,1.3,1.4 resources.vcproj,NONE,1.1 root.txt,1.2,1.3 sr.txt,1.2,1.3 uresb.c,1.2,1.3 uresb.dsp,1.2,1.3 uresb.dsw,1.2,1.3 uresb.sln,NONE,1.1 uresb.vcproj,NONE,1.1
sword@www.crosswire.org
sword@www.crosswire.org
Tue, 9 Sep 2003 19:43:07 -0700
- Previous message: [sword-cvs] icu-sword/source/samples/ufortune/resources Makefile,1.2,1.3 es.txt,1.2,1.3 fortune_resources.mak,1.2,1.3 res-file-list.txt,1.2,1.3 root.txt,1.2,1.3
- Next message: [sword-cvs] icu-sword/as_is/os400 configure,1.2,1.3 unpax-icu.sh,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/local/cvsroot/icu-sword/source/samples/uresb
In directory www:/tmp/cvs-serv19862/source/samples/uresb
Added Files:
Makefile en.txt readme.txt resources.dsp resources.mak
resources.vcproj root.txt sr.txt uresb.c uresb.dsp uresb.dsw
uresb.sln uresb.vcproj
Log Message:
ICU 2.6 commit
--- NEW FILE: readme.txt ---
Copyright (c) 2001-2003 International Business Machines
Corporation and others. All Rights Reserved.
uresb: Resource Bundle
This sample demonstrates
Building a resource bundle
Using ICU to print data from a resource bundle
Files:
uresb.c Main source file in C
uresb.dsw Windows MSVC workspace. Double-click this to get started.
uresb.dsp Windows MSVC project file
resources.dsp Windows project file for resources
resources.mak Windows makefile for resources
root.txt Root resource bundle
en.txt English translation
sr.txt Serbian translation (cp1251)
To Build uresb on Windows
1. Install and build ICU
2. In MSVC, open the workspace file icu\samples\uresb\uresb.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 uresb directory, e.g.
cd c:\icu\source\samples\uresb\debug
4. Run it (with a locale name, ex. english)
uresb en
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/uresb
gmake ICU_PREFIX=<icu install directory) ICU_PATH=<icu source directory>
To Run on Unixes
cd <icu directory>/source/samples/uresb
gmake ICU_PREFIX=<icu install directory> check
-or-
export LD_LIBRARY_PATH=<icu install directory>/lib:.:$LD_LIBRARY_PATH
uresb
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: resources.vcproj ---
<?xml version="1.0" encoding = "Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="7.00"
Name="resources"
SccProjectName=""
SccLocalPath=""
Keyword="MakeFileProj">
<Platforms>
<Platform
Name="Win32"/>
</Platforms>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory=".\resources___Win32_Debug"
IntermediateDirectory=".\resources___Win32_Debug"
ConfigurationType="0"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="FALSE">
<Tool
Name="VCNMakeTool"
BuildCommandLine="nmake /f "resources.mak""
ReBuildCommandLine="nmake /f "resources.mak" /a"
Output="resources.exe"/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory=".\Release"
IntermediateDirectory=".\Release"
ConfigurationType="0"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="FALSE">
<Tool
Name="VCNMakeTool"
BuildCommandLine="nmake /f "resources.mak""
ReBuildCommandLine="nmake /f "resources.mak" /a"
Output="resources.exe"/>
</Configuration>
</Configurations>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
</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>
--- NEW FILE: uresb.sln ---
Microsoft Visual Studio Solution File, Format Version 7.00
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "resources", "resources.vcproj", "{69437707-2FEF-4E2C-8C3F-6E6B3D241366}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "uresb", "uresb.vcproj", "{92580BF4-F4DA-4024-B3F8-444F982BC72F}"
EndProject
Global
GlobalSection(SolutionConfiguration) = preSolution
ConfigName.0 = Debug
ConfigName.1 = Release
EndGlobalSection
GlobalSection(ProjectDependencies) = postSolution
{92580BF4-F4DA-4024-B3F8-444F982BC72F}.0 = {69437707-2FEF-4E2C-8C3F-6E6B3D241366}
EndGlobalSection
GlobalSection(ProjectConfiguration) = postSolution
{69437707-2FEF-4E2C-8C3F-6E6B3D241366}.Debug.ActiveCfg = Debug|Win32
{69437707-2FEF-4E2C-8C3F-6E6B3D241366}.Debug.Build.0 = Debug|Win32
{69437707-2FEF-4E2C-8C3F-6E6B3D241366}.Release.ActiveCfg = Release|Win32
{69437707-2FEF-4E2C-8C3F-6E6B3D241366}.Release.Build.0 = Release|Win32
{92580BF4-F4DA-4024-B3F8-444F982BC72F}.Debug.ActiveCfg = Debug|Win32
{92580BF4-F4DA-4024-B3F8-444F982BC72F}.Debug.Build.0 = Debug|Win32
{92580BF4-F4DA-4024-B3F8-444F982BC72F}.Release.ActiveCfg = Release|Win32
{92580BF4-F4DA-4024-B3F8-444F982BC72F}.Release.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
EndGlobalSection
GlobalSection(ExtensibilityAddIns) = postSolution
EndGlobalSection
EndGlobal
--- NEW FILE: uresb.vcproj ---
<?xml version="1.0" encoding = "Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="7.00"
Name="uresb"
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"
AdditionalIncludeDirectories="../../../include,../../tools/toolutil"
PreprocessorDefinitions="WIN32,NDEBUG,_CONSOLE"
StringPooling="TRUE"
RuntimeLibrary="2"
EnableFunctionLevelLinking="TRUE"
UsePrecompiledHeader="2"
PrecompiledHeaderFile=".\Release/uresb.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 icuio.lib icutu.lib"
OutputFile=".\Release/uresb.exe"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
AdditionalLibraryDirectories="../../../lib/,../../tools/toolutil/"
ProgramDatabaseFile=".\Release/uresb.pdb"
SubSystem="1"/>
<Tool
Name="VCMIDLTool"
TypeLibraryName=".\Release/uresb.tlb"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="3098"/>
<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,../../tools/toolutil"
PreprocessorDefinitions="WIN32,_DEBUG,_CONSOLE"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="2"
PrecompiledHeaderFile=".\Debug/uresb.pch"
AssemblerListingLocation=".\Debug/"
ObjectFile=".\Debug/"
ProgramDataBaseFileName=".\Debug/"
WarningLevel="3"
SuppressStartupBanner="TRUE"
DebugInformationFormat="4"
CompileAs="0"/>
<Tool
Name="VCCustomBuildTool"
CommandLine="copy $(InputPath) ..\..\..\bin
"
Outputs="..\..\..\bin\$(InputName).exe"/>
<Tool
Name="VCLinkerTool"
AdditionalOptions="/MACHINE:I386"
AdditionalDependencies="icuucd.lib icuiod.lib icutud.lib"
OutputFile=".\Debug/uresb.exe"
LinkIncremental="2"
SuppressStartupBanner="TRUE"
AdditionalLibraryDirectories="../../../lib/,../../tools/toolutil/"
GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\Debug/uresb.pdb"
SubSystem="1"/>
<Tool
Name="VCMIDLTool"
TypeLibraryName=".\Debug/uresb.tlb"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="3098"/>
<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=".\uresb.c">
</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/ufortune/resources Makefile,1.2,1.3 es.txt,1.2,1.3 fortune_resources.mak,1.2,1.3 res-file-list.txt,1.2,1.3 root.txt,1.2,1.3
- Next message: [sword-cvs] icu-sword/as_is/os400 configure,1.2,1.3 unpax-icu.sh,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]