add support for building with VC++ 2005

This commit is contained in:
Josh Coalson 2007-02-22 02:56:16 +00:00
parent cb6dc724f4
commit 32821c08ff
2 changed files with 101 additions and 6 deletions

25
README
View File

@ -167,8 +167,10 @@ not an x86, change -DFLAC__CPU_IA32 to -DFLAC__CPU_UNKNOWN.
Building with MSVC
===============================================================================
There are now .dsp projects and a master FLAC.dsw workspace to build
all the libraries and executables.
There are .dsp projects and a master FLAC.dsw workspace to build all
the libraries and executables with MSVC6. There are also .vcproj
projects and a master FLAC.sln solution to build all the libraries and
executables with VC++ 2005.
Prerequisite: you must have the Ogg libraries installed as described
later.
@ -177,13 +179,21 @@ Prerequisite: you must have nasm installed, and nasmw.exe must be in
your PATH, or the path to nasmw.exe must be added to the list of
directories for executable files in the MSVC global options.
MSVC6:
To build everything, run Developer Studio, do File|Open Workspace,
and open FLAC.dsw. Select "Build | Set active configuration..."
from the menu, then in the dialog, select "All - Win32 Release" (or
Debug if you prefer). Click "Ok" then hit F7 to build. This will build
all libraries both statically (e.g. obj\release\lib\libFLAC_static.lib)
and as DLLs (e.g. obj\release\bin\libFLAC.dll), and it will build all
binaries, statically linked (e.g. obj\release\bin\flac.exe).
Debug if you prefer). Click "Ok" then hit F7 to build.
VC++ 2005:
To build everything, run Visual Studio, do File|Open and open FLAC.sln.
From the dropdown in the toolbar, select "Release" instead of "Debug",
then hit F7 to build.
Either way, this will build all libraries both statically (e.g.
obj\release\lib\libFLAC_static.lib) and as DLLs (e.g.
obj\release\lib\libFLAC.dll), and it will build all binaries, statically
linked (e.g. obj\release\bin\flac.exe).
Everything will end up in the "obj" directory. DLLs and .exe files
are all that are needed and can be copied to an installation area and
@ -198,6 +208,9 @@ build win32\ogg_static.dsp), copy ogg_static.lib into FLAC's
FLAC's 'include' directory (so that there is an 'ogg' directory in FLAC's
'include' directory with the files ogg.h, os_types.h and config_types.h).
If you want to build without Ogg support, instead edit all .dsp or
.vcproj files and remove any occurrences of "/D FLAC__HAS_OGG".
===============================================================================
Building on Mac OS X

View File

@ -53,6 +53,88 @@
<br />
<!-- @@@@@@
<a name="flac_1_1_5"><b>FLAC 1.1.5</b></a>
<br />
<ul>
<li>
General:
<ul>
<li>(none)</li>
</ul>
</li>
<li>
FLAC format:
<ul>
<li>(none)</li>
</ul>
</li>
<li>
Ogg FLAC format:
<ul>
<li>(none)</li>
</ul>
</li>
<li>
flac:
<ul>
<li>(none)</li>
</ul>
</li>
<li>
metaflac:
<ul>
<li>(none)</li>
</ul>
</li>
<li>
plugins:
<ul>
<li>(none)</li>
</ul>
</li>
<li>
build system:
<ul>
<li>Added solution and project files for building with VC++ 2005</li>
</ul>
</li>
<li>
libraries:
<ul>
<li>(none)</li>
</ul>
</li>
<li>
Interface changes (see also the <a href="http://flac.sourceforge.net/api/group__porting__1__1__4__to__1__1__5.html">porting guide</a> for specific instructions on porting to FLAC 1.1.5):
<ul>
<li>
all libraries;
<ul>
<li>(none)</li>
</ul>
</li>
<li>
libFLAC:
<ul>
<li>(none)</li>
</ul>
</li>
<li>
libFLAC++:
<ul>
<li>(none)</li>
</ul>
</li>
</ul>
</li>
</ul>
<br />
@@@@@@ -->
<a name="flac_1_1_4"><b>FLAC 1.1.4</b></a>
<br />