mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
rplaces
OutputDirectory="..\..\..\..\objs\debug\bin"
with
OutputDirectory="$(SolutionDir)objs\$(ConfigurationName)\bin
and so on.
Rmoves
OutputFile="..\..\objs\debug\lib\$(ProjectName).lib
when possible.
Also, in the current version "Whole program optimization" compiler option
is set, but the corresponding linker option isn't. From MSDN:
"If you do not explicitly specify /LTCG when you pass /GL or MSIL modules
to the linker, the linker eventually detects this and restarts the link
by using /LTCG. Explicitly specify /LTCG when you pass /GL and MSIL modules
to the linker for the fastest possible build performance."
So /LTCG option was added too.
Debug build now uses libogg_static.lib from .\objs\debug\lib folder.
(the dependency for both release and debug is
objs\$(ConfigurationName)\lib\libogg_static.lib)
Patch-from: lvqcl <lvqcl.mail@gmail.com>
Here are several small example programs that use the libraries in different ways. The "c" directory has programs that are all in C and use libFLAC. The "cpp" directory has analogous programs that are all in C++ and use libFLAC++. The programs are: c/decode/file/ - example_c_decode_file - Simple FLAC file decoder using libFLAC c/encode/file/ - example_c_encode_file - Simple FLAC file encoder using libFLAC cpp/decode/file/ - example_cpp_decode_file - Simple FLAC file decoder using libFLAC++ cpp/encode/file/ - example_cpp_encode_file - Simple FLAC file encoder using libFLAC++