00001-msvc-upgrade-solution-up-to-vc11.patch 46 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018
  1. diff --git a/vc_solution/arch_nasm.props b/vc_solution/arch_nasm.props
  2. new file mode 100644
  3. index 0000000..13174c9
  4. --- /dev/null
  5. +++ b/vc_solution/arch_nasm.props
  6. @@ -0,0 +1,15 @@
  7. +<?xml version="1.0" encoding="utf-8"?>
  8. +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  9. + <ImportGroup Label="PropertySheets">
  10. + </ImportGroup>
  11. + <PropertyGroup Label="UserMacros" />
  12. + <PropertyGroup>
  13. + <_ProjectFileVersion>11.0.61030.0</_ProjectFileVersion>
  14. + </PropertyGroup>
  15. + <ItemDefinitionGroup>
  16. + <ClCompile>
  17. + <PreprocessorDefinitions>TAKEHIRO_IEEE754_HACK;HAVE_NASM;MMX_choose_table;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18. + </ClCompile>
  19. + </ItemDefinitionGroup>
  20. + <ItemGroup />
  21. +</Project>
  22. \ No newline at end of file
  23. diff --git a/vc_solution/arch_sse2.props b/vc_solution/arch_sse2.props
  24. new file mode 100644
  25. index 0000000..1f97d57
  26. --- /dev/null
  27. +++ b/vc_solution/arch_sse2.props
  28. @@ -0,0 +1,17 @@
  29. +<?xml version="1.0" encoding="utf-8"?>
  30. +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  31. + <ImportGroup Label="PropertySheets">
  32. + </ImportGroup>
  33. + <PropertyGroup Label="UserMacros" />
  34. + <PropertyGroup>
  35. + <_ProjectFileVersion>11.0.61030.0</_ProjectFileVersion>
  36. + </PropertyGroup>
  37. + <ItemDefinitionGroup>
  38. + <ClCompile>
  39. + <PreprocessorDefinitions>HAVE_XMMINTRIN_H;MIN_ARCH_SSE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  40. + <EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
  41. + <FloatingPointModel>Fast</FloatingPointModel>
  42. + </ClCompile>
  43. + </ItemDefinitionGroup>
  44. + <ItemGroup />
  45. +</Project>
  46. \ No newline at end of file
  47. diff --git a/vc_solution/arch_x87.props b/vc_solution/arch_x87.props
  48. new file mode 100644
  49. index 0000000..3268c6b
  50. --- /dev/null
  51. +++ b/vc_solution/arch_x87.props
  52. @@ -0,0 +1,15 @@
  53. +<?xml version="1.0" encoding="utf-8"?>
  54. +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  55. + <ImportGroup Label="PropertySheets">
  56. + </ImportGroup>
  57. + <PropertyGroup Label="UserMacros" />
  58. + <PropertyGroup>
  59. + <_ProjectFileVersion>11.0.61030.0</_ProjectFileVersion>
  60. + </PropertyGroup>
  61. + <ItemDefinitionGroup>
  62. + <ClCompile>
  63. + <PreprocessorDefinitions>TAKEHIRO_IEEE754_HACK;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  64. + </ClCompile>
  65. + </ItemDefinitionGroup>
  66. + <ItemGroup />
  67. +</Project>
  68. \ No newline at end of file
  69. diff --git a/vc_solution/vc11_lame.sln b/vc_solution/vc11_lame.sln
  70. new file mode 100644
  71. index 0000000..9453bb0
  72. --- /dev/null
  73. +++ b/vc_solution/vc11_lame.sln
  74. @@ -0,0 +1,41 @@
  75. +
  76. +Microsoft Visual Studio Solution File, Format Version 12.00
  77. +# Visual Studio 2012
  78. +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lame", "vc11_lame_lame.vcxproj", "{EEF5B49E-DBD1-4E1B-8B86-C5D64FCBAD38}"
  79. + ProjectSection(ProjectDependencies) = postProject
  80. + {92BD50AA-04D6-4FBF-ACE1-468FAF6778F2} = {92BD50AA-04D6-4FBF-ACE1-468FAF6778F2}
  81. + EndProjectSection
  82. +EndProject
  83. +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libmp3lame-static", "vc11_libmp3lame.vcxproj", "{20536101-3B0E-43EF-94F9-080D595DAC57}"
  84. +EndProject
  85. +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libmp3lame", "vc11_libmp3lame_dll.vcxproj", "{92BD50AA-04D6-4FBF-ACE1-468FAF6778F2}"
  86. +EndProject
  87. +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libmpghip-static", "vc11_mpglib.vcxproj", "{E2DAB91A-8248-4625-8A85-2C2C2A390DD8}"
  88. +EndProject
  89. +Global
  90. + GlobalSection(SolutionConfigurationPlatforms) = preSolution
  91. + Debug|Win32 = Debug|Win32
  92. + Release|Win32 = Release|Win32
  93. + EndGlobalSection
  94. + GlobalSection(ProjectConfigurationPlatforms) = postSolution
  95. + {EEF5B49E-DBD1-4E1B-8B86-C5D64FCBAD38}.Debug|Win32.ActiveCfg = Debug|Win32
  96. + {EEF5B49E-DBD1-4E1B-8B86-C5D64FCBAD38}.Debug|Win32.Build.0 = Debug|Win32
  97. + {EEF5B49E-DBD1-4E1B-8B86-C5D64FCBAD38}.Release|Win32.ActiveCfg = Release|Win32
  98. + {EEF5B49E-DBD1-4E1B-8B86-C5D64FCBAD38}.Release|Win32.Build.0 = Release|Win32
  99. + {20536101-3B0E-43EF-94F9-080D595DAC57}.Debug|Win32.ActiveCfg = Debug|Win32
  100. + {20536101-3B0E-43EF-94F9-080D595DAC57}.Debug|Win32.Build.0 = Debug|Win32
  101. + {20536101-3B0E-43EF-94F9-080D595DAC57}.Release|Win32.ActiveCfg = Release|Win32
  102. + {20536101-3B0E-43EF-94F9-080D595DAC57}.Release|Win32.Build.0 = Release|Win32
  103. + {92BD50AA-04D6-4FBF-ACE1-468FAF6778F2}.Debug|Win32.ActiveCfg = Debug|Win32
  104. + {92BD50AA-04D6-4FBF-ACE1-468FAF6778F2}.Debug|Win32.Build.0 = Debug|Win32
  105. + {92BD50AA-04D6-4FBF-ACE1-468FAF6778F2}.Release|Win32.ActiveCfg = Release|Win32
  106. + {92BD50AA-04D6-4FBF-ACE1-468FAF6778F2}.Release|Win32.Build.0 = Release|Win32
  107. + {E2DAB91A-8248-4625-8A85-2C2C2A390DD8}.Debug|Win32.ActiveCfg = Debug|Win32
  108. + {E2DAB91A-8248-4625-8A85-2C2C2A390DD8}.Debug|Win32.Build.0 = Debug|Win32
  109. + {E2DAB91A-8248-4625-8A85-2C2C2A390DD8}.Release|Win32.ActiveCfg = Release|Win32
  110. + {E2DAB91A-8248-4625-8A85-2C2C2A390DD8}.Release|Win32.Build.0 = Release|Win32
  111. + EndGlobalSection
  112. + GlobalSection(SolutionProperties) = preSolution
  113. + HideSolutionNode = FALSE
  114. + EndGlobalSection
  115. +EndGlobal
  116. diff --git a/vc_solution/vc11_lame_config.props b/vc_solution/vc11_lame_config.props
  117. new file mode 100644
  118. index 0000000..fd60017
  119. --- /dev/null
  120. +++ b/vc_solution/vc11_lame_config.props
  121. @@ -0,0 +1,32 @@
  122. +<?xml version="1.0" encoding="utf-8"?>
  123. +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  124. + <ImportGroup Label="PropertySheets">
  125. + </ImportGroup>
  126. + <PropertyGroup Label="UserMacros" />
  127. + <PropertyGroup>
  128. + <_ProjectFileVersion>11.0.61030.0</_ProjectFileVersion>
  129. + <OutDir>$(SolutionDir)..\output\$(Configuration)\</OutDir>
  130. + <IntDir>$(SolutionDir)..\obj\$(Configuration)\$(ProjectName)\</IntDir>
  131. + <LinkIncremental>false</LinkIncremental>
  132. + </PropertyGroup>
  133. + <ItemDefinitionGroup>
  134. + <Bscmake>
  135. + <OutputFile>$(IntDir)$(ProjectName).bsc</OutputFile>
  136. + </Bscmake>
  137. + <ClCompile>
  138. + <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATED;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  139. + <StringPooling>true</StringPooling>
  140. + <FunctionLevelLinking>true</FunctionLevelLinking>
  141. + <AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
  142. + <BrowseInformation>true</BrowseInformation>
  143. + <WarningLevel>Level4</WarningLevel>
  144. + <DisableSpecificWarnings>4995;4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
  145. + </ClCompile>
  146. + <Link>
  147. + <AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
  148. + <ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>
  149. + <OptimizeReferences>true</OptimizeReferences>
  150. + </Link>
  151. + </ItemDefinitionGroup>
  152. + <ItemGroup />
  153. +</Project>
  154. \ No newline at end of file
  155. diff --git a/vc_solution/vc11_lame_lame.vcxproj b/vc_solution/vc11_lame_lame.vcxproj
  156. new file mode 100644
  157. index 0000000..faf101a
  158. --- /dev/null
  159. +++ b/vc_solution/vc11_lame_lame.vcxproj
  160. @@ -0,0 +1,128 @@
  161. +<?xml version="1.0" encoding="utf-8"?>
  162. +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  163. + <ItemGroup Label="ProjectConfigurations">
  164. + <ProjectConfiguration Include="Debug|Win32">
  165. + <Configuration>Debug</Configuration>
  166. + <Platform>Win32</Platform>
  167. + </ProjectConfiguration>
  168. + <ProjectConfiguration Include="Release|Win32">
  169. + <Configuration>Release</Configuration>
  170. + <Platform>Win32</Platform>
  171. + </ProjectConfiguration>
  172. + </ItemGroup>
  173. + <PropertyGroup Label="Globals">
  174. + <ProjectName>lame</ProjectName>
  175. + <ProjectGuid>{EEF5B49E-DBD1-4E1B-8B86-C5D64FCBAD38}</ProjectGuid>
  176. + <RootNamespace>lame</RootNamespace>
  177. + </PropertyGroup>
  178. + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  179. + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
  180. + <ConfigurationType>Application</ConfigurationType>
  181. + <PlatformToolset>v110</PlatformToolset>
  182. + <UseOfMfc>false</UseOfMfc>
  183. + </PropertyGroup>
  184. + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
  185. + <ConfigurationType>Application</ConfigurationType>
  186. + <PlatformToolset>v110</PlatformToolset>
  187. + <UseOfMfc>false</UseOfMfc>
  188. + </PropertyGroup>
  189. + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  190. + <ImportGroup Label="ExtensionSettings">
  191. + </ImportGroup>
  192. + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
  193. + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  194. + <Import Project="vc11_lame_config.props" />
  195. + <Import Project="arch_x87.props" />
  196. + </ImportGroup>
  197. + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
  198. + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  199. + <Import Project="vc11_lame_config.props" />
  200. + <Import Project="arch_x87.props" />
  201. + </ImportGroup>
  202. + <PropertyGroup Label="UserMacros" />
  203. + <PropertyGroup>
  204. + <_ProjectFileVersion>11.0.61030.0</_ProjectFileVersion>
  205. + </PropertyGroup>
  206. + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  207. + <Midl>
  208. + <TypeLibraryName>..\output\Debug/lame.tlb</TypeLibraryName>
  209. + <HeaderFileName />
  210. + </Midl>
  211. + <ClCompile>
  212. + <Optimization>Disabled</Optimization>
  213. + <AdditionalIncludeDirectories>../;../mpglib;../libmp3lame;../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  214. + <PreprocessorDefinitions>_DEBUG;WIN32;_WIN32;_CONSOLE;_WINDOWS;HAVE_MPGLIB;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  215. + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
  216. + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
  217. + </ClCompile>
  218. + <ResourceCompile>
  219. + <PreprocessorDefinitions>_DEBUG;_APP=$(TargetFileName);%(PreprocessorDefinitions)</PreprocessorDefinitions>
  220. + <Culture>0x0409</Culture>
  221. + </ResourceCompile>
  222. + <Link>
  223. + <OutputFile>$(OutDir)lame.exe</OutputFile>
  224. + <GenerateDebugInformation>true</GenerateDebugInformation>
  225. + <SubSystem>Console</SubSystem>
  226. + <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
  227. + <AdditionalOptions>/APPCONTAINER /machine:x86 %(AdditionalOptions)</AdditionalOptions>
  228. + <TargetMachine>NotSet</TargetMachine>
  229. + </Link>
  230. + </ItemDefinitionGroup>
  231. + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  232. + <Midl>
  233. + <TypeLibraryName>..\output\Release/lame.tlb</TypeLibraryName>
  234. + <HeaderFileName />
  235. + </Midl>
  236. + <ClCompile>
  237. + <Optimization>Full</Optimization>
  238. + <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
  239. + <IntrinsicFunctions>true</IntrinsicFunctions>
  240. + <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
  241. + <AdditionalIncludeDirectories>..;../mpglib;../libmp3lame;../include;../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  242. + <PreprocessorDefinitions>NDEBUG;WIN32;_WIN32;_CONSOLE;_WINDOWS;HAVE_MPGLIB;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  243. + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  244. + </ClCompile>
  245. + <ResourceCompile>
  246. + <PreprocessorDefinitions>NDEBUG;_APP=$(TargetFileName);%(PreprocessorDefinitions)</PreprocessorDefinitions>
  247. + <Culture>0x0409</Culture>
  248. + </ResourceCompile>
  249. + <Link>
  250. + <OutputFile>$(OutDir)lame.exe</OutputFile>
  251. + <SubSystem>Console</SubSystem>
  252. + <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
  253. + <AdditionalOptions>/APPCONTAINER /machine:x86 %(AdditionalOptions)</AdditionalOptions>
  254. + <TargetMachine>NotSet</TargetMachine>
  255. + </Link>
  256. + </ItemDefinitionGroup>
  257. + <ItemGroup>
  258. + <ClCompile Include="..\frontend\brhist.c" />
  259. + <ClCompile Include="..\frontend\console.c" />
  260. + <ClCompile Include="..\frontend\get_audio.c" />
  261. + <ClCompile Include="..\frontend\lame_main.c" />
  262. + <ClCompile Include="..\frontend\lametime.c" />
  263. + <ClCompile Include="..\frontend\main.c" />
  264. + <ClCompile Include="..\frontend\parse.c" />
  265. + <ClCompile Include="..\frontend\timestatus.c" />
  266. + </ItemGroup>
  267. + <ItemGroup>
  268. + <ClInclude Include="..\frontend\brhist.h" />
  269. + <ClInclude Include="..\frontend\console.h" />
  270. + <ClInclude Include="..\frontend\get_audio.h" />
  271. + <ClInclude Include="..\frontend\lametime.h" />
  272. + <ClInclude Include="..\frontend\main.h" />
  273. + <ClInclude Include="..\frontend\parse.h" />
  274. + <ClInclude Include="..\frontend\timestatus.h" />
  275. + </ItemGroup>
  276. + <ItemGroup>
  277. + <ResourceCompile Include="..\libmp3lame\lame.rc" />
  278. + </ItemGroup>
  279. + <ItemGroup>
  280. + <ProjectReference Include="vc11_libmp3lame.vcxproj">
  281. + <Project>{20536101-3b0e-43ef-94f9-080d595dac57}</Project>
  282. + <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
  283. + </ProjectReference>
  284. + </ItemGroup>
  285. + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  286. + <ImportGroup Label="ExtensionTargets">
  287. + </ImportGroup>
  288. +</Project>
  289. \ No newline at end of file
  290. diff --git a/vc_solution/vc11_libmp3lame.vcxproj b/vc_solution/vc11_libmp3lame.vcxproj
  291. new file mode 100644
  292. index 0000000..d4636b0
  293. --- /dev/null
  294. +++ b/vc_solution/vc11_libmp3lame.vcxproj
  295. @@ -0,0 +1,188 @@
  296. +<?xml version="1.0" encoding="utf-8"?>
  297. +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  298. + <ItemGroup Label="ProjectConfigurations">
  299. + <ProjectConfiguration Include="Debug|Win32">
  300. + <Configuration>Debug</Configuration>
  301. + <Platform>Win32</Platform>
  302. + </ProjectConfiguration>
  303. + <ProjectConfiguration Include="Release|Win32">
  304. + <Configuration>Release</Configuration>
  305. + <Platform>Win32</Platform>
  306. + </ProjectConfiguration>
  307. + </ItemGroup>
  308. + <PropertyGroup Label="Globals">
  309. + <ProjectName>libmp3lame-static</ProjectName>
  310. + <ProjectGuid>{20536101-3B0E-43EF-94F9-080D595DAC57}</ProjectGuid>
  311. + <RootNamespace>libmp3lame</RootNamespace>
  312. + </PropertyGroup>
  313. + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  314. + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
  315. + <ConfigurationType>StaticLibrary</ConfigurationType>
  316. + <PlatformToolset>v110</PlatformToolset>
  317. + <UseOfMfc>false</UseOfMfc>
  318. + </PropertyGroup>
  319. + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
  320. + <ConfigurationType>StaticLibrary</ConfigurationType>
  321. + <PlatformToolset>v110</PlatformToolset>
  322. + <UseOfMfc>false</UseOfMfc>
  323. + </PropertyGroup>
  324. + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  325. + <ImportGroup Label="ExtensionSettings">
  326. + <Import Project="vc11_nasm.props" />
  327. + </ImportGroup>
  328. + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
  329. + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  330. + <Import Project="vc11_lame_config.props" />
  331. + <Import Project="arch_x87.props" />
  332. + </ImportGroup>
  333. + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
  334. + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  335. + <Import Project="vc11_lame_config.props" />
  336. + <Import Project="arch_x87.props" />
  337. + </ImportGroup>
  338. + <PropertyGroup Label="UserMacros" />
  339. + <PropertyGroup>
  340. + <_ProjectFileVersion>11.0.61030.0</_ProjectFileVersion>
  341. + </PropertyGroup>
  342. + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  343. + <ClCompile>
  344. + <Optimization>Full</Optimization>
  345. + <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
  346. + <IntrinsicFunctions>true</IntrinsicFunctions>
  347. + <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
  348. + <AdditionalIncludeDirectories>../mpglib;../include;..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  349. + <PreprocessorDefinitions>NDEBUG;_WINDOWS;HAVE_MPGLIB;WIN32;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  350. + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  351. + </ClCompile>
  352. + <ResourceCompile>
  353. + <Culture>0x0409</Culture>
  354. + </ResourceCompile>
  355. + <Lib>
  356. + <OutputFile>$(OutDir)libmp3lame-static.lib</OutputFile>
  357. + </Lib>
  358. + </ItemDefinitionGroup>
  359. + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  360. + <ClCompile>
  361. + <Optimization>Disabled</Optimization>
  362. + <AdditionalIncludeDirectories>../mpglib;../include;..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  363. + <PreprocessorDefinitions>_DEBUG;_WINDOWS;HAVE_MPGLIB;WIN32;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  364. + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
  365. + <ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
  366. + <DebugInformationFormat>OldStyle</DebugInformationFormat>
  367. + </ClCompile>
  368. + <ResourceCompile>
  369. + <Culture>0x0409</Culture>
  370. + </ResourceCompile>
  371. + <Lib>
  372. + <OutputFile>$(OutDir)libmp3lame-static.lib</OutputFile>
  373. + </Lib>
  374. + </ItemDefinitionGroup>
  375. + <ItemGroup>
  376. + <ClCompile Include="..\libmp3lame\bitstream.c" />
  377. + <ClCompile Include="..\libmp3lame\encoder.c" />
  378. + <ClCompile Include="..\libmp3lame\fft.c" />
  379. + <ClCompile Include="..\libmp3lame\gain_analysis.c" />
  380. + <ClCompile Include="..\libmp3lame\id3tag.c" />
  381. + <ClCompile Include="..\libmp3lame\lame.c" />
  382. + <ClCompile Include="..\libmp3lame\mpglib_interface.c" />
  383. + <ClCompile Include="..\libmp3lame\newmdct.c" />
  384. + <ClCompile Include="..\libmp3lame\presets.c" />
  385. + <ClCompile Include="..\libmp3lame\psymodel.c" />
  386. + <ClCompile Include="..\libmp3lame\quantize.c" />
  387. + <ClCompile Include="..\libmp3lame\quantize_pvt.c" />
  388. + <ClCompile Include="..\libmp3lame\reservoir.c" />
  389. + <ClCompile Include="..\libmp3lame\set_get.c" />
  390. + <ClCompile Include="..\libmp3lame\tables.c">
  391. + <WarningLevel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Level1</WarningLevel>
  392. + <WarningLevel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Level1</WarningLevel>
  393. + </ClCompile>
  394. + <ClCompile Include="..\libmp3lame\takehiro.c" />
  395. + <ClCompile Include="..\libmp3lame\util.c" />
  396. + <ClCompile Include="..\libmp3lame\vbrquantize.c" />
  397. + <ClCompile Include="..\libmp3lame\VbrTag.c" />
  398. + <ClCompile Include="..\libmp3lame\version.c" />
  399. + <ClCompile Include="..\libmp3lame\vector\xmm_quantize_sub.c">
  400. + <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">../libmp3lame;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  401. + <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">../libmp3lame;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  402. + </ClCompile>
  403. + </ItemGroup>
  404. + <ItemGroup>
  405. + <ClInclude Include="..\libmp3lame\bitstream.h" />
  406. + <CustomBuild Include="..\configMS.h">
  407. + <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Performing Custom Build Step on %(Filename)</Message>
  408. + <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">copy ..\configMS.h ..\config.h
  409. +</Command>
  410. + <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\config.h;%(Outputs)</Outputs>
  411. + <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Performing Custom Build Step on %(Filename)</Message>
  412. + <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">copy ..\configMS.h ..\config.h
  413. +</Command>
  414. + <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\config.h;%(Outputs)</Outputs>
  415. + </CustomBuild>
  416. + <ClInclude Include="..\libmp3lame\encoder.h" />
  417. + <ClInclude Include="..\libmp3lame\fft.h" />
  418. + <ClInclude Include="..\libmp3lame\gain_analysis.h" />
  419. + <ClInclude Include="..\libmp3lame\id3tag.h" />
  420. + <ClInclude Include="..\libmp3lame\l3side.h" />
  421. + <ClInclude Include="..\libmp3lame\lame-analysis.h" />
  422. + <ClInclude Include="..\libmp3lame\lame_global_flags.h" />
  423. + <ClInclude Include="..\libmp3lame\vector\lame_intrin.h" />
  424. + <ClInclude Include="..\libmp3lame\lameerror.h" />
  425. + <ClInclude Include="..\libmp3lame\machine.h" />
  426. + <ClInclude Include="..\libmp3lame\newmdct.h" />
  427. + <ClInclude Include="..\libmp3lame\psymodel.h" />
  428. + <ClInclude Include="..\libmp3lame\quantize.h" />
  429. + <ClInclude Include="..\libmp3lame\quantize_pvt.h" />
  430. + <ClInclude Include="..\libmp3lame\reservoir.h" />
  431. + <ClInclude Include="..\libmp3lame\set_get.h" />
  432. + <ClInclude Include="..\libmp3lame\tables.h" />
  433. + <ClInclude Include="..\libmp3lame\util.h" />
  434. + <ClInclude Include="..\libmp3lame\vbrquantize.h" />
  435. + <ClInclude Include="..\libmp3lame\VbrTag.h" />
  436. + <ClInclude Include="..\libmp3lame\version.h" />
  437. + <ClInclude Include="..\include\lame.h" />
  438. + </ItemGroup>
  439. + <ItemGroup>
  440. + <NASM Include="..\libmp3lame\i386\choose_table.nas">
  441. + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
  442. + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
  443. + </NASM>
  444. + <NASM Include="..\libmp3lame\i386\cpu_feat.nas">
  445. + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
  446. + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
  447. + </NASM>
  448. + <NASM Include="..\libmp3lame\i386\fft.nas">
  449. + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
  450. + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
  451. + </NASM>
  452. + <NASM Include="..\libmp3lame\i386\fft3dn.nas">
  453. + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
  454. + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
  455. + </NASM>
  456. + <NASM Include="..\libmp3lame\i386\fftfpu.nas">
  457. + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
  458. + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
  459. + </NASM>
  460. + <NASM Include="..\libmp3lame\i386\fftsse.nas">
  461. + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
  462. + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
  463. + </NASM>
  464. + <NASM Include="..\libmp3lame\i386\ffttbl.nas">
  465. + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
  466. + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
  467. + </NASM>
  468. + <NASM Include="..\libmp3lame\i386\scalar.nas">
  469. + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
  470. + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
  471. + </NASM>
  472. + </ItemGroup>
  473. + <ItemGroup>
  474. + <ProjectReference Include="vc11_mpglib.vcxproj">
  475. + <Project>{e2dab91a-8248-4625-8a85-2c2c2a390dd8}</Project>
  476. + <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
  477. + </ProjectReference>
  478. + </ItemGroup>
  479. + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  480. + <ImportGroup Label="ExtensionTargets">
  481. + <Import Project="vc11_nasm.targets" />
  482. + </ImportGroup>
  483. +</Project>
  484. \ No newline at end of file
  485. diff --git a/vc_solution/vc11_libmp3lame_dll.vcxproj b/vc_solution/vc11_libmp3lame_dll.vcxproj
  486. new file mode 100644
  487. index 0000000..9dad9d5
  488. --- /dev/null
  489. +++ b/vc_solution/vc11_libmp3lame_dll.vcxproj
  490. @@ -0,0 +1,125 @@
  491. +<?xml version="1.0" encoding="utf-8"?>
  492. +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  493. + <ItemGroup Label="ProjectConfigurations">
  494. + <ProjectConfiguration Include="Debug|Win32">
  495. + <Configuration>Debug</Configuration>
  496. + <Platform>Win32</Platform>
  497. + </ProjectConfiguration>
  498. + <ProjectConfiguration Include="Release|Win32">
  499. + <Configuration>Release</Configuration>
  500. + <Platform>Win32</Platform>
  501. + </ProjectConfiguration>
  502. + </ItemGroup>
  503. + <PropertyGroup Label="Globals">
  504. + <ProjectName>libmp3lame</ProjectName>
  505. + <ProjectGuid>{92BD50AA-04D6-4FBF-ACE1-468FAF6778F2}</ProjectGuid>
  506. + <RootNamespace>libmp3lameDLL</RootNamespace>
  507. + </PropertyGroup>
  508. + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  509. + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
  510. + <ConfigurationType>DynamicLibrary</ConfigurationType>
  511. + <PlatformToolset>v110</PlatformToolset>
  512. + <UseOfMfc>false</UseOfMfc>
  513. + </PropertyGroup>
  514. + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
  515. + <ConfigurationType>DynamicLibrary</ConfigurationType>
  516. + <PlatformToolset>v110</PlatformToolset>
  517. + <UseOfMfc>false</UseOfMfc>
  518. + </PropertyGroup>
  519. + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  520. + <ImportGroup Label="ExtensionSettings">
  521. + <Import Project="vc11_nasm.props" />
  522. + </ImportGroup>
  523. + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
  524. + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  525. + <Import Project="vc11_lame_config.props" />
  526. + <Import Project="arch_x87.props" />
  527. + </ImportGroup>
  528. + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
  529. + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  530. + <Import Project="vc11_lame_config.props" />
  531. + <Import Project="arch_x87.props" />
  532. + </ImportGroup>
  533. + <PropertyGroup Label="UserMacros" />
  534. + <PropertyGroup>
  535. + <_ProjectFileVersion>11.0.61030.0</_ProjectFileVersion>
  536. + </PropertyGroup>
  537. + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  538. + <Midl>
  539. + <TypeLibraryName>..\output\Release/libmp3lame_dll.tlb</TypeLibraryName>
  540. + <HeaderFileName />
  541. + </Midl>
  542. + <ClCompile>
  543. + <Optimization>Full</Optimization>
  544. + <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
  545. + <IntrinsicFunctions>true</IntrinsicFunctions>
  546. + <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
  547. + <AdditionalIncludeDirectories>../libmp3lame;../;../mpglib;../include;..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  548. + <PreprocessorDefinitions>NDEBUG;_WINDOWS;HAVE_MPGLIB;WIN32;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  549. + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  550. + </ClCompile>
  551. + <ResourceCompile>
  552. + <PreprocessorDefinitions>_VC80_UPGRADE=0x0600;_DLL=$(TargetFileName);%(PreprocessorDefinitions)</PreprocessorDefinitions>
  553. + <Culture>0x0409</Culture>
  554. + </ResourceCompile>
  555. + <ProjectReference>
  556. + <UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
  557. + </ProjectReference>
  558. + <Link>
  559. + <OutputFile>$(OutDir)libmp3lame.dll</OutputFile>
  560. + <ModuleDefinitionFile>..\include\lame.def</ModuleDefinitionFile>
  561. + <ImportLibrary>$(OutDir)libmp3lame.lib</ImportLibrary>
  562. + <AdditionalOptions>/APPCONTAINER /machine:x86 %(AdditionalOptions)</AdditionalOptions>
  563. + <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
  564. + <TargetMachine>NotSet</TargetMachine>
  565. + </Link>
  566. + </ItemDefinitionGroup>
  567. + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  568. + <Midl>
  569. + <TypeLibraryName>..\output\Debug/libmp3lame_dll.tlb</TypeLibraryName>
  570. + <HeaderFileName />
  571. + </Midl>
  572. + <ClCompile>
  573. + <Optimization>Disabled</Optimization>
  574. + <AdditionalIncludeDirectories>../libmp3lame;../;../mpglib;../include;..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  575. + <PreprocessorDefinitions>_DEBUG;_WINDOWS;HAVE_MPGLIB;WIN32;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  576. + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
  577. + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
  578. + </ClCompile>
  579. + <ResourceCompile>
  580. + <PreprocessorDefinitions>_VC80_UPGRADE=0x0600;_DLL=$(TargetFileName);_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  581. + <Culture>0x0409</Culture>
  582. + </ResourceCompile>
  583. + <ProjectReference>
  584. + <UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
  585. + </ProjectReference>
  586. + <Link>
  587. + <OutputFile>$(OutDir)libmp3lame.dll</OutputFile>
  588. + <ModuleDefinitionFile>..\include\lame.def</ModuleDefinitionFile>
  589. + <GenerateDebugInformation>true</GenerateDebugInformation>
  590. + <ImportLibrary>$(OutDir)libmp3lame.lib</ImportLibrary>
  591. + <AdditionalOptions>/APPCONTAINER /machine:x86 %(AdditionalOptions)</AdditionalOptions>
  592. + <ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
  593. + <TargetMachine>NotSet</TargetMachine>
  594. + </Link>
  595. + </ItemDefinitionGroup>
  596. + <ItemGroup>
  597. + <CustomBuild Include="..\include\lame.def">
  598. + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
  599. + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
  600. + </CustomBuild>
  601. + </ItemGroup>
  602. + <ItemGroup>
  603. + <ResourceCompile Include="..\libmp3lame\lame.rc" />
  604. + </ItemGroup>
  605. + <ItemGroup>
  606. + <ProjectReference Include="vc11_libmp3lame.vcxproj">
  607. + <Project>{20536101-3b0e-43ef-94f9-080d595dac57}</Project>
  608. + <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
  609. + </ProjectReference>
  610. + </ItemGroup>
  611. + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  612. + <ImportGroup Label="ExtensionTargets">
  613. + <Import Project="vc11_nasm.targets" />
  614. + </ImportGroup>
  615. +</Project>
  616. \ No newline at end of file
  617. diff --git a/vc_solution/vc11_mpglib.vcxproj b/vc_solution/vc11_mpglib.vcxproj
  618. new file mode 100644
  619. index 0000000..a455bca
  620. --- /dev/null
  621. +++ b/vc_solution/vc11_mpglib.vcxproj
  622. @@ -0,0 +1,116 @@
  623. +<?xml version="1.0" encoding="utf-8"?>
  624. +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  625. + <ItemGroup Label="ProjectConfigurations">
  626. + <ProjectConfiguration Include="Debug|Win32">
  627. + <Configuration>Debug</Configuration>
  628. + <Platform>Win32</Platform>
  629. + </ProjectConfiguration>
  630. + <ProjectConfiguration Include="Release|Win32">
  631. + <Configuration>Release</Configuration>
  632. + <Platform>Win32</Platform>
  633. + </ProjectConfiguration>
  634. + </ItemGroup>
  635. + <PropertyGroup Label="Globals">
  636. + <ProjectName>libmpghip-static</ProjectName>
  637. + <ProjectGuid>{E2DAB91A-8248-4625-8A85-2C2C2A390DD8}</ProjectGuid>
  638. + <RootNamespace>libmpghip</RootNamespace>
  639. + </PropertyGroup>
  640. + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  641. + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
  642. + <ConfigurationType>StaticLibrary</ConfigurationType>
  643. + <PlatformToolset>v110</PlatformToolset>
  644. + <UseOfMfc>false</UseOfMfc>
  645. + </PropertyGroup>
  646. + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
  647. + <ConfigurationType>StaticLibrary</ConfigurationType>
  648. + <PlatformToolset>v110</PlatformToolset>
  649. + <UseOfMfc>false</UseOfMfc>
  650. + </PropertyGroup>
  651. + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  652. + <ImportGroup Label="ExtensionSettings">
  653. + </ImportGroup>
  654. + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
  655. + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  656. + <Import Project="vc11_lame_config.props" />
  657. + <Import Project="arch_x87.props" />
  658. + </ImportGroup>
  659. + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
  660. + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  661. + <Import Project="vc11_lame_config.props" />
  662. + <Import Project="arch_x87.props" />
  663. + </ImportGroup>
  664. + <PropertyGroup Label="UserMacros" />
  665. + <PropertyGroup>
  666. + <_ProjectFileVersion>11.0.61030.0</_ProjectFileVersion>
  667. + </PropertyGroup>
  668. + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  669. + <ClCompile>
  670. + <Optimization>Full</Optimization>
  671. + <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
  672. + <IntrinsicFunctions>true</IntrinsicFunctions>
  673. + <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
  674. + <AdditionalIncludeDirectories>../libmp3lame;../include;..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  675. + <PreprocessorDefinitions>NDEBUG;HAVE_MPGLIB;_WINDOWS;USE_LAYER_2;WIN32;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  676. + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  677. + </ClCompile>
  678. + <ResourceCompile>
  679. + <Culture>0x0409</Culture>
  680. + </ResourceCompile>
  681. + <Lib>
  682. + <OutputFile>$(OutDir)libmpghip-static.lib</OutputFile>
  683. + </Lib>
  684. + </ItemDefinitionGroup>
  685. + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  686. + <ClCompile>
  687. + <Optimization>Disabled</Optimization>
  688. + <AdditionalIncludeDirectories>../libmp3lame;../include;..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  689. + <PreprocessorDefinitions>_DEBUG;_WINDOWS;USE_LAYER_2;HAVE_MPGLIB;WIN32;HAVE_CONFIG_H;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  690. + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
  691. + <ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
  692. + <DebugInformationFormat>OldStyle</DebugInformationFormat>
  693. + </ClCompile>
  694. + <ResourceCompile>
  695. + <Culture>0x0409</Culture>
  696. + </ResourceCompile>
  697. + <Lib>
  698. + <OutputFile>$(OutDir)libmpghip-static.lib</OutputFile>
  699. + </Lib>
  700. + </ItemDefinitionGroup>
  701. + <ItemGroup>
  702. + <ClCompile Include="..\mpglib\common.c" />
  703. + <ClCompile Include="..\mpglib\dct64_i386.c" />
  704. + <ClCompile Include="..\mpglib\decode_i386.c" />
  705. + <ClCompile Include="..\mpglib\interface.c" />
  706. + <ClCompile Include="..\mpglib\layer1.c" />
  707. + <ClCompile Include="..\mpglib\layer2.c" />
  708. + <ClCompile Include="..\mpglib\layer3.c" />
  709. + <ClCompile Include="..\mpglib\tabinit.c" />
  710. + </ItemGroup>
  711. + <ItemGroup>
  712. + <ClInclude Include="..\mpglib\common.h" />
  713. + <CustomBuild Include="..\configMS.h">
  714. + <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Performing Custom Build Step on %(Filename)</Message>
  715. + <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">copy ..\configMS.h ..\config.h
  716. +</Command>
  717. + <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\config.h;%(Outputs)</Outputs>
  718. + <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Performing Custom Build Step on %(Filename)</Message>
  719. + <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">copy ..\configMS.h ..\config.h
  720. +</Command>
  721. + <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\config.h;%(Outputs)</Outputs>
  722. + </CustomBuild>
  723. + <ClInclude Include="..\mpglib\dct64_i386.h" />
  724. + <ClInclude Include="..\mpglib\decode_i386.h" />
  725. + <ClInclude Include="..\mpglib\huffman.h" />
  726. + <ClInclude Include="..\mpglib\interface.h" />
  727. + <ClInclude Include="..\mpglib\l2tables.h" />
  728. + <ClInclude Include="..\mpglib\layer1.h" />
  729. + <ClInclude Include="..\mpglib\layer2.h" />
  730. + <ClInclude Include="..\mpglib\layer3.h" />
  731. + <ClInclude Include="..\mpglib\mpg123.h" />
  732. + <ClInclude Include="..\mpglib\mpglib.h" />
  733. + <ClInclude Include="..\mpglib\tabinit.h" />
  734. + </ItemGroup>
  735. + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  736. + <ImportGroup Label="ExtensionTargets">
  737. + </ImportGroup>
  738. +</Project>
  739. \ No newline at end of file
  740. diff --git a/vc_solution/vc11_nasm.props b/vc_solution/vc11_nasm.props
  741. new file mode 100644
  742. index 0000000..0f8542f
  743. --- /dev/null
  744. +++ b/vc_solution/vc11_nasm.props
  745. @@ -0,0 +1,24 @@
  746. +<?xml version="1.0" encoding="utf-8"?>
  747. +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  748. + <PropertyGroup
  749. + Condition="'$(NASMBeforeTargets)' == '' and '$(NASMAfterTargets)' == '' and '$(ConfigurationType)' != 'Makefile'">
  750. + <NASMBeforeTargets>Midl</NASMBeforeTargets>
  751. + <NASMAfterTargets>CustomBuild</NASMAfterTargets>
  752. + </PropertyGroup>
  753. + <PropertyGroup>
  754. + <NASMDependsOn
  755. + Condition="'$(ConfigurationType)' != 'Makefile'">_SelectedFiles;$(NASMDependsOn)</NASMDependsOn>
  756. + </PropertyGroup>
  757. + <ItemDefinitionGroup>
  758. + <NASM>
  759. + <OutFile>$(IntDir)%(Filename).obj</OutFile>
  760. + <BinFormat>win32</BinFormat>
  761. + <IncludeDir>%(RootDir)%(Directory)</IncludeDir>
  762. + <Defines>WIN32</Defines>
  763. + <CommandLineTemplate>nasmw [BinFormat] [IncludeDir] [Defines] -o [OutFile] %(FullPath)</CommandLineTemplate>
  764. + <Outputs>[OutFile]</Outputs>
  765. + <ExecutionDescription>Assembling %(Filename)...</ExecutionDescription>
  766. + <ShowOnlyRuleProperties>false</ShowOnlyRuleProperties>
  767. + </NASM>
  768. + </ItemDefinitionGroup>
  769. +</Project>
  770. \ No newline at end of file
  771. diff --git a/vc_solution/vc11_nasm.targets b/vc_solution/vc11_nasm.targets
  772. new file mode 100644
  773. index 0000000..3158d8d
  774. --- /dev/null
  775. +++ b/vc_solution/vc11_nasm.targets
  776. @@ -0,0 +1,85 @@
  777. +<?xml version="1.0" encoding="utf-8"?>
  778. +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  779. + <ItemGroup>
  780. + <PropertyPageSchema
  781. + Include="$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml" />
  782. + <AvailableItemName
  783. + Include="NASM">
  784. + <Targets>_NASM</Targets>
  785. + </AvailableItemName>
  786. + </ItemGroup>
  787. + <UsingTask
  788. + TaskName="NASM"
  789. + TaskFactory="XamlTaskFactory"
  790. + AssemblyName="Microsoft.Build.Tasks.v4.0">
  791. + <Task>$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml</Task>
  792. + </UsingTask>
  793. + <Target
  794. + Name="_NASM"
  795. + BeforeTargets="$(NASMBeforeTargets)"
  796. + AfterTargets="$(NASMAfterTargets)"
  797. + Condition="'@(NASM)' != ''"
  798. + DependsOnTargets="$(NASMDependsOn);ComputeNASMOutput"
  799. + Outputs="@(NASM-&gt;Metadata('Outputs')-&gt;Distinct())"
  800. + Inputs="@(NASM);%(NASM.AdditionalDependencies);$(MSBuildProjectFile)">
  801. + <ItemGroup
  802. + Condition="'@(SelectedFiles)' != ''">
  803. + <NASM
  804. + Remove="@(NASM)"
  805. + Condition="'%(Identity)' != '@(SelectedFiles)'" />
  806. + </ItemGroup>
  807. + <ItemGroup>
  808. + <NASM_tlog
  809. + Include="%(NASM.Outputs)"
  810. + Condition="'%(NASM.Outputs)' != '' and '%(NASM.ExcludedFromBuild)' != 'true'">
  811. + <Source>@(NASM, '|')</Source>
  812. + </NASM_tlog>
  813. + </ItemGroup>
  814. + <Message
  815. + Importance="High"
  816. + Text="%(NASM.ExecutionDescription)" />
  817. + <WriteLinesToFile
  818. + Condition="'@(NASM_tlog)' != '' and '%(NASM_tlog.ExcludedFromBuild)' != 'true'"
  819. + File="$(TLogLocation)$(ProjectName).write.1.tlog"
  820. + Lines="^%(NASM_tlog.Source);@(NASM_tlog-&gt;'%(Fullpath)')" />
  821. + <NASM
  822. + Condition="'@(NASM)' != '' and '%(NASM.ExcludedFromBuild)' != 'true'"
  823. + CommandLineTemplate="%(NASM.CommandLineTemplate)"
  824. + OutFile="%(NASM.OutFile)"
  825. + BinFormat="%(NASM.BinFormat)"
  826. + IncludeDir="%(NASM.IncludeDir)"
  827. + Defines="%(NASM.Defines)"
  828. + AdditionalOptions="%(NASM.AdditionalOptions)"
  829. + Inputs="@(NASM)" />
  830. + </Target>
  831. + <PropertyGroup>
  832. + <ComputeLinkInputsTargets>
  833. + $(ComputeLinkInputsTargets);
  834. + ComputeNASMOutput;
  835. + </ComputeLinkInputsTargets>
  836. + <ComputeLibInputsTargets>
  837. + $(ComputeLibInputsTargets);
  838. + ComputeNASMOutput;
  839. + </ComputeLibInputsTargets>
  840. + </PropertyGroup>
  841. + <Target
  842. + Name="ComputeNASMOutput"
  843. + Condition="'@(NASM)' != ''">
  844. + <ItemGroup>
  845. + <NASMDirsToMake
  846. + Condition="'@(NASM)' != '' and '%(NASM.ExcludedFromBuild)' != 'true'"
  847. + Include="%(NASM.Outputs)" />
  848. + <Link
  849. + Include="%(NASMDirsToMake.Identity)"
  850. + Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
  851. + <Lib
  852. + Include="%(NASMDirsToMake.Identity)"
  853. + Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
  854. + <ImpLib
  855. + Include="%(NASMDirsToMake.Identity)"
  856. + Condition="'%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib'" />
  857. + </ItemGroup>
  858. + <MakeDir
  859. + Directories="@(NASMDirsToMake-&gt;'%(RootDir)%(Directory)')" />
  860. + </Target>
  861. +</Project>
  862. \ No newline at end of file
  863. diff --git a/vc_solution/vc11_nasm.xml b/vc_solution/vc11_nasm.xml
  864. new file mode 100644
  865. index 0000000..390d570
  866. --- /dev/null
  867. +++ b/vc_solution/vc11_nasm.xml
  868. @@ -0,0 +1,149 @@
  869. +<?xml version="1.0" encoding="utf-8"?>
  870. +<ProjectSchemaDefinitions xmlns="clr-namespace:Microsoft.Build.Framework.XamlTypes;assembly=Microsoft.Build.Framework" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:transformCallback="Microsoft.Cpp.Dev10.ConvertPropertyCallback">
  871. + <Rule
  872. + Name="NASM"
  873. + PageTemplate="tool"
  874. + DisplayName="NASM"
  875. + Order="200">
  876. + <Rule.DataSource>
  877. + <DataSource
  878. + Persistence="ProjectFile"
  879. + ItemType="NASM" />
  880. + </Rule.DataSource>
  881. + <Rule.Categories>
  882. + <Category
  883. + Name="General">
  884. + <Category.DisplayName>
  885. + <sys:String>General</sys:String>
  886. + </Category.DisplayName>
  887. + </Category>
  888. + <Category
  889. + Name="Command Line"
  890. + Subtype="CommandLine">
  891. + <Category.DisplayName>
  892. + <sys:String>Command Line</sys:String>
  893. + </Category.DisplayName>
  894. + </Category>
  895. + </Rule.Categories>
  896. + <StringListProperty
  897. + Name="Inputs"
  898. + Category="Command Line"
  899. + IsRequired="true"
  900. + Switch=" ">
  901. + <StringListProperty.DataSource>
  902. + <DataSource
  903. + Persistence="ProjectFile"
  904. + ItemType="NASM"
  905. + SourceType="Item" />
  906. + </StringListProperty.DataSource>
  907. + </StringListProperty>
  908. + <StringProperty
  909. + Name="OutFile"
  910. + HelpContext="0"
  911. + DisplayName="output file path"
  912. + Switch="[value]" />
  913. + <StringProperty
  914. + Name="BinFormat"
  915. + HelpContext="0"
  916. + DisplayName="Binary format"
  917. + Switch="-f [value]" />
  918. + <StringListProperty
  919. + Name="IncludeDir"
  920. + HelpContext="0"
  921. + DisplayName="Additional include directories"
  922. + Separator=";"
  923. + Switch="-i [value]" />
  924. + <StringListProperty
  925. + Name="Defines"
  926. + HelpContext="0"
  927. + DisplayName="Defines"
  928. + Separator=" ;,"
  929. + Switch="-D[value]" />
  930. + <StringProperty
  931. + Name="CommandLineTemplate"
  932. + DisplayName="Command Line"
  933. + Visible="False"
  934. + IncludeInCommandLine="False" />
  935. + <DynamicEnumProperty
  936. + Name="NASMBeforeTargets"
  937. + Category="General"
  938. + EnumProvider="Targets"
  939. + IncludeInCommandLine="False">
  940. + <DynamicEnumProperty.DisplayName>
  941. + <sys:String>Execute Before</sys:String>
  942. + </DynamicEnumProperty.DisplayName>
  943. + <DynamicEnumProperty.Description>
  944. + <sys:String>Specifies the targets for the build customization to run before.</sys:String>
  945. + </DynamicEnumProperty.Description>
  946. + <DynamicEnumProperty.ProviderSettings>
  947. + <NameValuePair
  948. + Name="Exclude"
  949. + Value="^NASMBeforeTargets|^Compute" />
  950. + </DynamicEnumProperty.ProviderSettings>
  951. + <DynamicEnumProperty.DataSource>
  952. + <DataSource
  953. + Persistence="ProjectFile"
  954. + HasConfigurationCondition="true" />
  955. + </DynamicEnumProperty.DataSource>
  956. + </DynamicEnumProperty>
  957. + <DynamicEnumProperty
  958. + Name="NASMAfterTargets"
  959. + Category="General"
  960. + EnumProvider="Targets"
  961. + IncludeInCommandLine="False">
  962. + <DynamicEnumProperty.DisplayName>
  963. + <sys:String>Execute After</sys:String>
  964. + </DynamicEnumProperty.DisplayName>
  965. + <DynamicEnumProperty.Description>
  966. + <sys:String>Specifies the targets for the build customization to run after.</sys:String>
  967. + </DynamicEnumProperty.Description>
  968. + <DynamicEnumProperty.ProviderSettings>
  969. + <NameValuePair
  970. + Name="Exclude"
  971. + Value="^NASMAfterTargets|^Compute" />
  972. + </DynamicEnumProperty.ProviderSettings>
  973. + <DynamicEnumProperty.DataSource>
  974. + <DataSource
  975. + Persistence="ProjectFile"
  976. + ItemType=""
  977. + HasConfigurationCondition="true" />
  978. + </DynamicEnumProperty.DataSource>
  979. + </DynamicEnumProperty>
  980. + <StringListProperty
  981. + Name="Outputs"
  982. + DisplayName="Outputs"
  983. + Visible="False"
  984. + IncludeInCommandLine="False" />
  985. + <StringProperty
  986. + Name="ExecutionDescription"
  987. + DisplayName="Execution Description"
  988. + Visible="False"
  989. + IncludeInCommandLine="False" />
  990. + <StringListProperty
  991. + Name="AdditionalDependencies"
  992. + DisplayName="Additional Dependencies"
  993. + IncludeInCommandLine="False"
  994. + Visible="true" />
  995. + <StringProperty
  996. + Subtype="AdditionalOptions"
  997. + Name="AdditionalOptions"
  998. + Category="Command Line">
  999. + <StringProperty.DisplayName>
  1000. + <sys:String>Additional Options</sys:String>
  1001. + </StringProperty.DisplayName>
  1002. + <StringProperty.Description>
  1003. + <sys:String>Additional Options</sys:String>
  1004. + </StringProperty.Description>
  1005. + </StringProperty>
  1006. + </Rule>
  1007. + <ItemType
  1008. + Name="NASM"
  1009. + DisplayName="NASM" />
  1010. + <FileExtension
  1011. + Name="*.nas"
  1012. + ContentType="NASM" />
  1013. + <ContentType
  1014. + Name="NASM"
  1015. + DisplayName="NASM"
  1016. + ItemType="NASM" />
  1017. +</ProjectSchemaDefinitions>
  1018. \ No newline at end of file