From 9f9566bdb6b18a031bb962a5af6d3a23283fe769 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Thu, 5 Jan 2012 17:35:45 +0000 Subject: [PATCH] lolremez: distribute Visual Studio files with LolRemez. --- Makefile.am | 6 +- test/math/lolremez.sln | 31 +++++++ test/math/remez.vcxproj | 151 ++++++++++++++++++++++++++++++++ test/math/remez.vcxproj.filters | 28 ++++++ 4 files changed, 215 insertions(+), 1 deletion(-) create mode 100644 test/math/lolremez.sln create mode 100644 test/math/remez.vcxproj create mode 100644 test/math/remez.vcxproj.filters diff --git a/Makefile.am b/Makefile.am index 0eaa05f7..8e8bb827 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,10 +32,14 @@ lolremez-$(LOLREMEZ_VERSION).tar.gz: lolremez-$(LOLREMEZ_VERSION)/remez.cpp cat $(top_srcdir)/src/real.cpp | sed 's@core.h@lol/math/real.h@' | sed '/#if/,/^$$/d' > \ lolremez-$(LOLREMEZ_VERSION)/real.cpp + cp $(top_srcdir)/test/math/lolremez.sln \ + $(top_srcdir)/test/math/remez.vcxproj \ + $(top_srcdir)/test/math/remez.vcxproj.filters \ + lolremez-$(LOLREMEZ_VERSION)/ cp $(top_srcdir)/src/lol/math/real.h \ $(top_srcdir)/src/lol/math/matrix.h \ $(top_srcdir)/src/lol/math/remez.h \ - lolremez-$(LOLREMEZ_VERSION)/lol/math + lolremez-$(LOLREMEZ_VERSION)/lol/math/ printf 'remez: real.cpp remez.cpp\n' > lolremez-$(LOLREMEZ_VERSION)/Makefile printf '\t$$(CXX) -I. -O2 -g -ggdb $$^ -o $$@\n' >> lolremez-$(LOLREMEZ_VERSION)/Makefile printf 'clean:\n' >> lolremez-$(LOLREMEZ_VERSION)/Makefile diff --git a/test/math/lolremez.sln b/test/math/lolremez.sln new file mode 100644 index 00000000..599add26 --- /dev/null +++ b/test/math/lolremez.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "remez", "remez.vcxproj", "{A2767731-6FBF-442C-900F-301D095516E7}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{663F5D32-D212-4A88-A681-84B54D3188A3}" + ProjectSection(SolutionItems) = preProject + Performance1.psess = Performance1.psess + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {A2767731-6FBF-442C-900F-301D095516E7}.Debug|Win32.ActiveCfg = Debug|Win32 + {A2767731-6FBF-442C-900F-301D095516E7}.Debug|Win32.Build.0 = Debug|Win32 + {A2767731-6FBF-442C-900F-301D095516E7}.Debug|x64.ActiveCfg = Debug|x64 + {A2767731-6FBF-442C-900F-301D095516E7}.Debug|x64.Build.0 = Debug|x64 + {A2767731-6FBF-442C-900F-301D095516E7}.Release|Win32.ActiveCfg = Release|Win32 + {A2767731-6FBF-442C-900F-301D095516E7}.Release|Win32.Build.0 = Release|Win32 + {A2767731-6FBF-442C-900F-301D095516E7}.Release|x64.ActiveCfg = Release|x64 + {A2767731-6FBF-442C-900F-301D095516E7}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/test/math/remez.vcxproj b/test/math/remez.vcxproj new file mode 100644 index 00000000..c80de071 --- /dev/null +++ b/test/math/remez.vcxproj @@ -0,0 +1,151 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {A2767731-6FBF-442C-900F-301D095516E7} + Win32Proj + remez + + + + Application + true + Unicode + + + Application + true + Unicode + + + Application + false + true + Unicode + + + Application + false + true + Unicode + + + + + + + + + + + + + + + + + + + true + + + true + + + false + + + false + + + + + + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + + + Console + true + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + + + Console + true + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + + + Console + true + true + true + true + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + + + Console + true + true + true + true + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test/math/remez.vcxproj.filters b/test/math/remez.vcxproj.filters new file mode 100644 index 00000000..1af97461 --- /dev/null +++ b/test/math/remez.vcxproj.filters @@ -0,0 +1,28 @@ + + + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + + + + + + + lol\math + + + lol\math + + + lol\math + + + \ No newline at end of file