From 2fc6696536c7ff1e1154387202db22638e14d1b4 Mon Sep 17 00:00:00 2001 From: Ari Koivula Date: Fri, 20 Sep 2013 16:21:11 +0300 Subject: [PATCH] Add Visual Studio project for unit tests. --- build/HEVC_encoder_VS2010.sln | 14 ++++ .../HEVC_encoder_tests.vcxproj | 83 +++++++++++++++++++ .../HEVC_encoder_tests.vcxproj.filters | 17 ++++ tests/main.c | 6 ++ 4 files changed, 120 insertions(+) create mode 100644 build/HEVC_encoder_tests/HEVC_encoder_tests.vcxproj create mode 100644 build/HEVC_encoder_tests/HEVC_encoder_tests.vcxproj.filters create mode 100644 tests/main.c diff --git a/build/HEVC_encoder_VS2010.sln b/build/HEVC_encoder_VS2010.sln index 573db34b..0d32569a 100644 --- a/build/HEVC_encoder_VS2010.sln +++ b/build/HEVC_encoder_VS2010.sln @@ -6,14 +6,22 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{50AB7A17-4885-4D20-BF01-376DE4417FCD}" ProjectSection(SolutionItems) = preProject HEVC_encoder_VS2010.vsd = HEVC_encoder_VS2010.vsd + HEVC_encoder_VS2010.vsmdi = HEVC_encoder_VS2010.vsmdi + Local.testsettings = Local.testsettings + TraceAndTestImpact.testsettings = TraceAndTestImpact.testsettings EndProjectSection EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HEVC_encoder_tests", "HEVC_encoder_tests\HEVC_encoder_tests.vcxproj", "{3CD1C68B-542C-46D8-9B8A-6C91C5A3F312}" +EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HEVC_interface", "HEVC_interface\HEVC_interface.vcxproj", "{C755308D-9B3E-4712-99AB-7F6F4E2DA567}" ProjectSection(ProjectDependencies) = postProject {EEA3BDD1-8A08-41C1-BA57-E05D5C2CD8FF} = {EEA3BDD1-8A08-41C1-BA57-E05D5C2CD8FF} EndProjectSection EndProject Global + GlobalSection(TestCaseManagementSettings) = postSolution + CategoryFile = HEVC_encoder_VS2010.vsmdi + EndGlobalSection GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 Debug|x64 = Debug|x64 @@ -29,6 +37,12 @@ Global {EEA3BDD1-8A08-41C1-BA57-E05D5C2CD8FF}.Release|Win32.Build.0 = Release|Win32 {EEA3BDD1-8A08-41C1-BA57-E05D5C2CD8FF}.Release|x64.ActiveCfg = Release|x64 {EEA3BDD1-8A08-41C1-BA57-E05D5C2CD8FF}.Release|x64.Build.0 = Release|x64 + {3CD1C68B-542C-46D8-9B8A-6C91C5A3F312}.Debug|Win32.ActiveCfg = Debug|Win32 + {3CD1C68B-542C-46D8-9B8A-6C91C5A3F312}.Debug|Win32.Build.0 = Debug|Win32 + {3CD1C68B-542C-46D8-9B8A-6C91C5A3F312}.Debug|x64.ActiveCfg = Debug|Win32 + {3CD1C68B-542C-46D8-9B8A-6C91C5A3F312}.Release|Win32.ActiveCfg = Release|Win32 + {3CD1C68B-542C-46D8-9B8A-6C91C5A3F312}.Release|Win32.Build.0 = Release|Win32 + {3CD1C68B-542C-46D8-9B8A-6C91C5A3F312}.Release|x64.ActiveCfg = Release|Win32 {C755308D-9B3E-4712-99AB-7F6F4E2DA567}.Debug|Win32.ActiveCfg = Debug|Win32 {C755308D-9B3E-4712-99AB-7F6F4E2DA567}.Debug|Win32.Build.0 = Debug|Win32 {C755308D-9B3E-4712-99AB-7F6F4E2DA567}.Debug|x64.ActiveCfg = Debug|x64 diff --git a/build/HEVC_encoder_tests/HEVC_encoder_tests.vcxproj b/build/HEVC_encoder_tests/HEVC_encoder_tests.vcxproj new file mode 100644 index 00000000..9a03e320 --- /dev/null +++ b/build/HEVC_encoder_tests/HEVC_encoder_tests.vcxproj @@ -0,0 +1,83 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {3CD1C68B-542C-46D8-9B8A-6C91C5A3F312} + HEVC_encoder_tests + + + + Application + true + MultiByte + + + Application + false + true + MultiByte + + + + + + + + + + + + + + + + + + + + + $(SolutionDir)$(Platform)\$(Configuration)\ + + + + Level3 + Disabled + + + true + + + + + Level3 + MaxSpeed + true + true + + + true + true + true + + + + + + \ No newline at end of file diff --git a/build/HEVC_encoder_tests/HEVC_encoder_tests.vcxproj.filters b/build/HEVC_encoder_tests/HEVC_encoder_tests.vcxproj.filters new file mode 100644 index 00000000..d7ef6a1a --- /dev/null +++ b/build/HEVC_encoder_tests/HEVC_encoder_tests.vcxproj.filters @@ -0,0 +1,17 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {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 + + + \ No newline at end of file diff --git a/tests/main.c b/tests/main.c new file mode 100644 index 00000000..9df4210f --- /dev/null +++ b/tests/main.c @@ -0,0 +1,6 @@ +#include + +int main() +{ + +}