From 9d0fa6a75f0ee8c13d64b3887bcc832003d387c6 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Tue, 3 Sep 2019 00:04:25 +0200 Subject: [PATCH] Creating the static library for the transcoder. --- Kyoo-Transcoder/Kyoo-Transcoder.cpp | 10 ++ Kyoo-Transcoder/Kyoo-Transcoder.vcxproj | 169 ++++++++++++++++++ .../Kyoo-Transcoder.vcxproj.filters | 33 ++++ Kyoo-Transcoder/framework.h | 3 + Kyoo-Transcoder/pch.cpp | 5 + Kyoo-Transcoder/pch.h | 13 ++ Kyoo.sln | 26 ++- 7 files changed, 258 insertions(+), 1 deletion(-) create mode 100644 Kyoo-Transcoder/Kyoo-Transcoder.cpp create mode 100644 Kyoo-Transcoder/Kyoo-Transcoder.vcxproj create mode 100644 Kyoo-Transcoder/Kyoo-Transcoder.vcxproj.filters create mode 100644 Kyoo-Transcoder/framework.h create mode 100644 Kyoo-Transcoder/pch.cpp create mode 100644 Kyoo-Transcoder/pch.h diff --git a/Kyoo-Transcoder/Kyoo-Transcoder.cpp b/Kyoo-Transcoder/Kyoo-Transcoder.cpp new file mode 100644 index 00000000..eefa48b7 --- /dev/null +++ b/Kyoo-Transcoder/Kyoo-Transcoder.cpp @@ -0,0 +1,10 @@ +// Kyoo-Transcoder.cpp : Defines the functions for the static library. +// + +#include "pch.h" +#include "framework.h" + +// TODO: This is an example of a library function +void fnKyooTranscoder() +{ +} diff --git a/Kyoo-Transcoder/Kyoo-Transcoder.vcxproj b/Kyoo-Transcoder/Kyoo-Transcoder.vcxproj new file mode 100644 index 00000000..a6301ba8 --- /dev/null +++ b/Kyoo-Transcoder/Kyoo-Transcoder.vcxproj @@ -0,0 +1,169 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 16.0 + {3540621E-178D-4A57-9B07-0C99E06B1546} + Win32Proj + KyooTranscoder + 10.0 + + + + StaticLibrary + true + v142 + Unicode + + + StaticLibrary + false + v142 + true + Unicode + + + StaticLibrary + true + v142 + Unicode + + + StaticLibrary + false + v142 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + + + true + + + false + + + false + + + + Use + Level3 + Disabled + true + WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions) + true + pch.h + + + Windows + true + + + + + Use + Level3 + Disabled + true + _DEBUG;_LIB;%(PreprocessorDefinitions) + true + pch.h + + + Windows + true + + + + + Use + Level3 + MaxSpeed + true + true + true + WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions) + true + pch.h + + + Windows + true + true + true + + + + + Use + Level3 + MaxSpeed + true + true + true + NDEBUG;_LIB;%(PreprocessorDefinitions) + true + pch.h + + + Windows + true + true + true + + + + + + + + + + Create + Create + Create + Create + + + + + + \ No newline at end of file diff --git a/Kyoo-Transcoder/Kyoo-Transcoder.vcxproj.filters b/Kyoo-Transcoder/Kyoo-Transcoder.vcxproj.filters new file mode 100644 index 00000000..ea60f4e2 --- /dev/null +++ b/Kyoo-Transcoder/Kyoo-Transcoder.vcxproj.filters @@ -0,0 +1,33 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;ipp;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 + + + + + Header Files + + + Header Files + + + + + Source Files + + + Source Files + + + \ No newline at end of file diff --git a/Kyoo-Transcoder/framework.h b/Kyoo-Transcoder/framework.h new file mode 100644 index 00000000..3209b4ab --- /dev/null +++ b/Kyoo-Transcoder/framework.h @@ -0,0 +1,3 @@ +#pragma once + +#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers diff --git a/Kyoo-Transcoder/pch.cpp b/Kyoo-Transcoder/pch.cpp new file mode 100644 index 00000000..64b7eef6 --- /dev/null +++ b/Kyoo-Transcoder/pch.cpp @@ -0,0 +1,5 @@ +// pch.cpp: source file corresponding to the pre-compiled header + +#include "pch.h" + +// When you are using pre-compiled headers, this source file is necessary for compilation to succeed. diff --git a/Kyoo-Transcoder/pch.h b/Kyoo-Transcoder/pch.h new file mode 100644 index 00000000..885d5d62 --- /dev/null +++ b/Kyoo-Transcoder/pch.h @@ -0,0 +1,13 @@ +// pch.h: This is a precompiled header file. +// Files listed below are compiled only once, improving build performance for future builds. +// This also affects IntelliSense performance, including code completion and many code browsing features. +// However, files listed here are ALL re-compiled if any one of them is updated between builds. +// Do not add files here that you will be updating frequently as this negates the performance advantage. + +#ifndef PCH_H +#define PCH_H + +// add headers that you want to pre-compile here +#include "framework.h" + +#endif //PCH_H diff --git a/Kyoo.sln b/Kyoo.sln index 6fe0b6da..a0d9b6f1 100644 --- a/Kyoo.sln +++ b/Kyoo.sln @@ -3,18 +3,42 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.29123.88 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Kyoo", "Kyoo\Kyoo.csproj", "{0F8275B6-C7DD-42DF-A168-755C81B1C329}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kyoo", "Kyoo\Kyoo.csproj", "{0F8275B6-C7DD-42DF-A168-755C81B1C329}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Kyoo-Transcoder", "Kyoo-Transcoder\Kyoo-Transcoder.vcxproj", "{3540621E-178D-4A57-9B07-0C99E06B1546}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU + Release|x64 = Release|x64 + Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {0F8275B6-C7DD-42DF-A168-755C81B1C329}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {0F8275B6-C7DD-42DF-A168-755C81B1C329}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0F8275B6-C7DD-42DF-A168-755C81B1C329}.Debug|x64.ActiveCfg = Debug|Any CPU + {0F8275B6-C7DD-42DF-A168-755C81B1C329}.Debug|x64.Build.0 = Debug|Any CPU + {0F8275B6-C7DD-42DF-A168-755C81B1C329}.Debug|x86.ActiveCfg = Debug|Any CPU + {0F8275B6-C7DD-42DF-A168-755C81B1C329}.Debug|x86.Build.0 = Debug|Any CPU {0F8275B6-C7DD-42DF-A168-755C81B1C329}.Release|Any CPU.ActiveCfg = Release|Any CPU {0F8275B6-C7DD-42DF-A168-755C81B1C329}.Release|Any CPU.Build.0 = Release|Any CPU + {0F8275B6-C7DD-42DF-A168-755C81B1C329}.Release|x64.ActiveCfg = Release|Any CPU + {0F8275B6-C7DD-42DF-A168-755C81B1C329}.Release|x64.Build.0 = Release|Any CPU + {0F8275B6-C7DD-42DF-A168-755C81B1C329}.Release|x86.ActiveCfg = Release|Any CPU + {0F8275B6-C7DD-42DF-A168-755C81B1C329}.Release|x86.Build.0 = Release|Any CPU + {3540621E-178D-4A57-9B07-0C99E06B1546}.Debug|Any CPU.ActiveCfg = Debug|Win32 + {3540621E-178D-4A57-9B07-0C99E06B1546}.Debug|x64.ActiveCfg = Debug|x64 + {3540621E-178D-4A57-9B07-0C99E06B1546}.Debug|x64.Build.0 = Debug|x64 + {3540621E-178D-4A57-9B07-0C99E06B1546}.Debug|x86.ActiveCfg = Debug|Win32 + {3540621E-178D-4A57-9B07-0C99E06B1546}.Debug|x86.Build.0 = Debug|Win32 + {3540621E-178D-4A57-9B07-0C99E06B1546}.Release|Any CPU.ActiveCfg = Release|Win32 + {3540621E-178D-4A57-9B07-0C99E06B1546}.Release|x64.ActiveCfg = Release|x64 + {3540621E-178D-4A57-9B07-0C99E06B1546}.Release|x64.Build.0 = Release|x64 + {3540621E-178D-4A57-9B07-0C99E06B1546}.Release|x86.ActiveCfg = Release|Win32 + {3540621E-178D-4A57-9B07-0C99E06B1546}.Release|x86.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE