diff --git a/FLAC.dsw b/FLAC.dsw index a3373c95..fe4e8f7e 100644 --- a/FLAC.dsw +++ b/FLAC.dsw @@ -206,6 +206,9 @@ Package=<4> Begin Project Dependency Project_Dep_Name example_c_decode_file End Project Dependency + Begin Project Dependency + Project_Dep_Name example_cpp_decode_file + End Project Dependency }}} ############################################################################### @@ -225,6 +228,24 @@ Package=<4> ############################################################################### +Project: "example_cpp_decode_file"=.\examples\cpp\decode\file\example_cpp_decode_file.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libFLAC++_static + End Project Dependency + Begin Project Dependency + Project_Dep_Name libFLAC_static + End Project Dependency +}}} + +############################################################################### + Project: "flac"=.\src\flac\flac.dsp - Package Owner=<4> Package=<5> diff --git a/FLAC.sln b/FLAC.sln index 880b1ade..a13ae6a5 100644 --- a/FLAC.sln +++ b/FLAC.sln @@ -6,6 +6,12 @@ Project("{4cefbc7c-c215-11db-8314-0800200c9a66}") = "example_c_decode_file", "ex {4cefbc84-c215-11db-8314-0800200c9a66} = {4cefbc84-c215-11db-8314-0800200c9a66} EndProjectSection EndProject +Project("{4cefbc7c-c215-11db-8314-0800200c9a66}") = "example_cpp_decode_file", "example\cpp\decode\file\example_cpp_decode_file.vcproj", "{4cefbe00-c215-11db-8314-0800200c9a66}" + ProjectSection(ProjectDependencies) = postProject + {4cefbc84-c215-11db-8314-0800200c9a66} = {4cefbc84-c215-11db-8314-0800200c9a66} + {4cefbc86-c215-11db-8314-0800200c9a66} = {4cefbc84-c215-11db-8314-0800200c9a66} + EndProjectSection +EndProject Project("{4cefbc7c-c215-11db-8314-0800200c9a66}") = "flac", "src\flac\flac.vcproj", "{4cefbc7d-c215-11db-8314-0800200c9a66}" ProjectSection(ProjectDependencies) = postProject {4cefbc81-c215-11db-8314-0800200c9a66} = {4cefbc81-c215-11db-8314-0800200c9a66} diff --git a/examples/Makefile.lite b/examples/Makefile.lite index 721c3497..48bdd2d9 100644 --- a/examples/Makefile.lite +++ b/examples/Makefile.lite @@ -15,8 +15,8 @@ # restrictive of those mentioned above. See the file COPYING.Xiph in this # distribution. -.PHONY: all example_c_decode_file -all: example_c_decode_file +.PHONY: all example_c_decode_file example_cpp_decode_file +all: example_c_decode_file example_cpp_decode_file DEFAULT_CONFIG = release @@ -33,5 +33,9 @@ release : all example_c_decode_file: (cd c/decode/file && $(MAKE) -f Makefile.lite $(CONFIG)) +example_cpp_decode_file: + (cd cpp/decode/file && $(MAKE) -f Makefile.lite $(CONFIG)) + clean: -(cd c/decode/file && $(MAKE) -f Makefile.lite clean) + -(cd cpp/decode/file && $(MAKE) -f Makefile.lite clean)