基于C++ Coroutines提案 ‘Stackless Resumable Functions’编写的协程库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

librf.vcxproj 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <ItemGroup Label="ProjectConfigurations">
  4. <ProjectConfiguration Include="Debug|Win32">
  5. <Configuration>Debug</Configuration>
  6. <Platform>Win32</Platform>
  7. </ProjectConfiguration>
  8. <ProjectConfiguration Include="Release|Win32">
  9. <Configuration>Release</Configuration>
  10. <Platform>Win32</Platform>
  11. </ProjectConfiguration>
  12. <ProjectConfiguration Include="Debug|x64">
  13. <Configuration>Debug</Configuration>
  14. <Platform>x64</Platform>
  15. </ProjectConfiguration>
  16. <ProjectConfiguration Include="Release|x64">
  17. <Configuration>Release</Configuration>
  18. <Platform>x64</Platform>
  19. </ProjectConfiguration>
  20. </ItemGroup>
  21. <PropertyGroup Label="Globals">
  22. <VCProjectVersion>15.0</VCProjectVersion>
  23. <ProjectGuid>{C1D4A6BD-592F-4E48-8178-7C87219BF80E}</ProjectGuid>
  24. <Keyword>Win32Proj</Keyword>
  25. <RootNamespace>librf</RootNamespace>
  26. <WindowsTargetPlatformVersion>10.0.15063.0</WindowsTargetPlatformVersion>
  27. </PropertyGroup>
  28. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  29. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
  30. <ConfigurationType>Application</ConfigurationType>
  31. <UseDebugLibraries>true</UseDebugLibraries>
  32. <PlatformToolset>v141</PlatformToolset>
  33. <CharacterSet>NotSet</CharacterSet>
  34. </PropertyGroup>
  35. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
  36. <ConfigurationType>Application</ConfigurationType>
  37. <UseDebugLibraries>false</UseDebugLibraries>
  38. <PlatformToolset>v141</PlatformToolset>
  39. <WholeProgramOptimization>true</WholeProgramOptimization>
  40. <CharacterSet>NotSet</CharacterSet>
  41. </PropertyGroup>
  42. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
  43. <ConfigurationType>Application</ConfigurationType>
  44. <UseDebugLibraries>true</UseDebugLibraries>
  45. <PlatformToolset>v141</PlatformToolset>
  46. <CharacterSet>NotSet</CharacterSet>
  47. </PropertyGroup>
  48. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
  49. <ConfigurationType>Application</ConfigurationType>
  50. <UseDebugLibraries>false</UseDebugLibraries>
  51. <PlatformToolset>v141</PlatformToolset>
  52. <WholeProgramOptimization>true</WholeProgramOptimization>
  53. <CharacterSet>NotSet</CharacterSet>
  54. </PropertyGroup>
  55. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  56. <ImportGroup Label="ExtensionSettings">
  57. </ImportGroup>
  58. <ImportGroup Label="Shared">
  59. </ImportGroup>
  60. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  61. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  62. </ImportGroup>
  63. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  64. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  65. </ImportGroup>
  66. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  67. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  68. </ImportGroup>
  69. <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  70. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  71. </ImportGroup>
  72. <PropertyGroup Label="UserMacros" />
  73. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  74. <LinkIncremental>true</LinkIncremental>
  75. </PropertyGroup>
  76. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  77. <LinkIncremental>true</LinkIncremental>
  78. </PropertyGroup>
  79. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  80. <LinkIncremental>false</LinkIncremental>
  81. </PropertyGroup>
  82. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  83. <LinkIncremental>false</LinkIncremental>
  84. </PropertyGroup>
  85. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  86. <ClCompile>
  87. <WarningLevel>Level3</WarningLevel>
  88. <Optimization>Disabled</Optimization>
  89. <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  90. <SDLCheck>true</SDLCheck>
  91. <AdditionalIncludeDirectories>..\librf;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  92. <AdditionalOptions>/await /std:c++latest </AdditionalOptions>
  93. </ClCompile>
  94. <Link>
  95. <SubSystem>Console</SubSystem>
  96. <GenerateDebugInformation>true</GenerateDebugInformation>
  97. </Link>
  98. </ItemDefinitionGroup>
  99. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  100. <ClCompile>
  101. <WarningLevel>Level3</WarningLevel>
  102. <Optimization>Disabled</Optimization>
  103. <PreprocessorDefinitions>_DEBUG;_CONSOLE;RESUMEF_DEBUG_COUNTER=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  104. <SDLCheck>true</SDLCheck>
  105. <AdditionalIncludeDirectories>..\librf;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  106. <AdditionalOptions>/await /std:c++latest </AdditionalOptions>
  107. </ClCompile>
  108. <Link>
  109. <SubSystem>Console</SubSystem>
  110. <GenerateDebugInformation>true</GenerateDebugInformation>
  111. </Link>
  112. </ItemDefinitionGroup>
  113. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  114. <ClCompile>
  115. <WarningLevel>Level3</WarningLevel>
  116. <Optimization>MaxSpeed</Optimization>
  117. <FunctionLevelLinking>true</FunctionLevelLinking>
  118. <IntrinsicFunctions>true</IntrinsicFunctions>
  119. <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  120. <SDLCheck>true</SDLCheck>
  121. <AdditionalIncludeDirectories>..\librf;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  122. <AdditionalOptions>/await /std:c++latest </AdditionalOptions>
  123. </ClCompile>
  124. <Link>
  125. <SubSystem>Console</SubSystem>
  126. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  127. <OptimizeReferences>true</OptimizeReferences>
  128. <GenerateDebugInformation>true</GenerateDebugInformation>
  129. </Link>
  130. </ItemDefinitionGroup>
  131. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  132. <ClCompile>
  133. <WarningLevel>Level3</WarningLevel>
  134. <Optimization>MaxSpeed</Optimization>
  135. <FunctionLevelLinking>true</FunctionLevelLinking>
  136. <IntrinsicFunctions>true</IntrinsicFunctions>
  137. <PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  138. <SDLCheck>true</SDLCheck>
  139. <AdditionalIncludeDirectories>..\librf;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  140. <AdditionalOptions>/await /std:c++latest </AdditionalOptions>
  141. </ClCompile>
  142. <Link>
  143. <SubSystem>Console</SubSystem>
  144. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  145. <OptimizeReferences>true</OptimizeReferences>
  146. <GenerateDebugInformation>true</GenerateDebugInformation>
  147. </Link>
  148. </ItemDefinitionGroup>
  149. <ItemGroup>
  150. <ClCompile Include="..\benchmark\benchmark_async_mem.cpp" />
  151. <ClCompile Include="..\librf\src\event.cpp" />
  152. <ClCompile Include="..\librf\src\mutex.cpp" />
  153. <ClCompile Include="..\librf\src\rf_task.cpp" />
  154. <ClCompile Include="..\librf\src\scheduler.cpp" />
  155. <ClCompile Include="..\librf\src\sleep.cpp" />
  156. <ClCompile Include="..\librf\src\state.cpp" />
  157. <ClCompile Include="..\librf\src\timer.cpp" />
  158. <ClCompile Include="..\tutorial\test_async_cb.cpp" />
  159. <ClCompile Include="..\tutorial\test_async_channel.cpp" />
  160. <ClCompile Include="..\tutorial\test_async_dynamic_go.cpp" />
  161. <ClCompile Include="..\tutorial\test_async_event.cpp" />
  162. <ClCompile Include="..\tutorial\test_async_event_timeout.cpp" />
  163. <ClCompile Include="..\tutorial\test_async_exception.cpp" />
  164. <ClCompile Include="..\tutorial\test_async_multi_thread.cpp" />
  165. <ClCompile Include="..\tutorial\test_async_mutex.cpp" />
  166. <ClCompile Include="..\tutorial\test_async_resumable.cpp" />
  167. <ClCompile Include="..\tutorial\test_async_routine.cpp" />
  168. <ClCompile Include="..\tutorial\test_async_sleep.cpp" />
  169. <ClCompile Include="..\tutorial\test_async_suspend_always.cpp" />
  170. <ClCompile Include="..\tutorial\test_async_timer.cpp" />
  171. <ClCompile Include="..\tutorial\test_async_yield_return.cpp" />
  172. <ClCompile Include="librf.cpp" />
  173. </ItemGroup>
  174. <ItemGroup>
  175. <ClInclude Include="..\librf\librf.h" />
  176. <ClInclude Include="..\librf\src\asio_task.h" />
  177. <ClInclude Include="..\librf\src\channel.h" />
  178. <ClInclude Include="..\librf\src\counted_ptr.h" />
  179. <ClInclude Include="..\librf\src\def.h" />
  180. <ClInclude Include="..\librf\src\event.h" />
  181. <ClInclude Include="..\librf\src\future.h" />
  182. <ClInclude Include="..\librf\src\generator.h" />
  183. <ClInclude Include="..\librf\src\mutex.h" />
  184. <ClInclude Include="..\librf\src\rf_task.h" />
  185. <ClInclude Include="..\librf\src\scheduler.h" />
  186. <ClInclude Include="..\librf\src\sleep.h" />
  187. <ClInclude Include="..\librf\src\spinlock.h" />
  188. <ClInclude Include="..\librf\src\state.h" />
  189. <ClInclude Include="..\librf\src\timer.h" />
  190. <ClInclude Include="..\librf\src\unix\coroutine.h" />
  191. <ClInclude Include="..\librf\src\utils.h" />
  192. <ClInclude Include="..\librf\src\_awaker.h" />
  193. </ItemGroup>
  194. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  195. <ImportGroup Label="ExtensionTargets">
  196. </ImportGroup>
  197. </Project>