Ver Fonte

update vs2005.vcproj in simulator to support lwip

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2392 bbd45198-f89e-11dd-88c7-29a3b14d5316
goprife@gmail.com há 12 anos atrás
pai
commit
0eb29ecc3b
1 ficheiros alterados com 175 adições e 2 exclusões
  1. 175 2
      bsp/simulator/vs2005.vcproj

+ 175 - 2
bsp/simulator/vs2005.vcproj

@@ -40,7 +40,7 @@
 			<Tool
 			<Tool
 				Name="VCCLCompilerTool"
 				Name="VCCLCompilerTool"
 				Optimization="0"
 				Optimization="0"
-				AdditionalIncludeDirectories=".\;..\..\include;..\..\bsp\vs2008;..\..\components\finsh;..\..\components\dfs\include;..\..\components\dfs\filesystems\uffs\src\inc\;..\..\components\dfs\filesystems\uffs;..\..\components\drivers\include;..\..\components\dfs\filesystems\jffs2\src;..\..\components\dfs\filesystems\jffs2\kernel;..\..\components\dfs\filesystems\jffs2\include;..\..\components\dfs\filesystems\jffs2\;..\..\components\dfs\filesystems\jffs2\cyg\compress;..\..\components\init;.\drivers"
+				AdditionalIncludeDirectories=".\;..\..\include;..\..\bsp\vs2008;..\..\components\finsh;..\..\components\dfs\include;..\..\components\dfs\filesystems\uffs\src\inc\;..\..\components\dfs\filesystems\uffs;..\..\components\drivers\include;..\..\components\dfs\filesystems\jffs2\src;..\..\components\dfs\filesystems\jffs2\kernel;..\..\components\dfs\filesystems\jffs2\include;..\..\components\dfs\filesystems\jffs2\;..\..\components\dfs\filesystems\jffs2\cyg\compress;..\..\components\init;.\drivers;..\..\components\net\lwip\src\include\;..\..\components\net\lwip\src;..\..\components\net\lwip\src\arch\include;..\..\components\net\lwip\src\include\ipv4;.\pcap\Include"
 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;MSVC;_TIME_T_DEFINED"
 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;MSVC;_TIME_T_DEFINED"
 				MinimalRebuild="true"
 				MinimalRebuild="true"
 				BasicRuntimeChecks="3"
 				BasicRuntimeChecks="3"
@@ -61,8 +61,9 @@
 			/>
 			/>
 			<Tool
 			<Tool
 				Name="VCLinkerTool"
 				Name="VCLinkerTool"
-				AdditionalDependencies="winmm.lib"
+				AdditionalDependencies="winmm.lib Packet.lib wpcap.lib"
 				LinkIncremental="2"
 				LinkIncremental="2"
+				AdditionalLibraryDirectories=".\pcap\Lib"
 				GenerateDebugInformation="true"
 				GenerateDebugInformation="true"
 				SubSystem="1"
 				SubSystem="1"
 				TargetMachine="1"
 				TargetMachine="1"
@@ -732,6 +733,178 @@
 					>
 					>
 				</File>
 				</File>
 			</Filter>
 			</Filter>
+			<Filter
+				Name="lwip"
+				>
+				<Filter
+					Name="api"
+					>
+					<File
+						RelativePath="..\..\components\net\lwip\src\api\api_lib.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\api\api_msg.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\api\err.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\api\netbuf.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\api\netdb.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\api\netifapi.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\api\sockets.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\api\tcpip.c"
+						>
+					</File>
+				</Filter>
+				<Filter
+					Name="arch"
+					>
+					<File
+						RelativePath="..\..\components\net\lwip\src\arch\sys_arch.c"
+						>
+					</File>
+				</Filter>
+				<Filter
+					Name="core"
+					>
+					<File
+						RelativePath="..\..\components\net\lwip\src\core\def.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\core\dhcp.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\core\dns.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\core\init.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\core\memp.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\core\netif.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\core\pbuf.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\core\raw.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\core\stats.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\core\sys.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\core\tcp.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\core\tcp_in.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\core\tcp_out.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\core\timers.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\core\udp.c"
+						>
+					</File>
+					<Filter
+						Name="ipv4"
+						>
+						<File
+							RelativePath="..\..\components\net\lwip\src\core\ipv4\autoip.c"
+							>
+						</File>
+						<File
+							RelativePath="..\..\components\net\lwip\src\core\ipv4\icmp.c"
+							>
+						</File>
+						<File
+							RelativePath="..\..\components\net\lwip\src\core\ipv4\igmp.c"
+							>
+						</File>
+						<File
+							RelativePath="..\..\components\net\lwip\src\core\ipv4\inet.c"
+							>
+						</File>
+						<File
+							RelativePath="..\..\components\net\lwip\src\core\ipv4\inet_chksum.c"
+							>
+						</File>
+						<File
+							RelativePath="..\..\components\net\lwip\src\core\ipv4\ip.c"
+							>
+						</File>
+						<File
+							RelativePath="..\..\components\net\lwip\src\core\ipv4\ip_addr.c"
+							>
+						</File>
+						<File
+							RelativePath="..\..\components\net\lwip\src\core\ipv4\ip_frag.c"
+							>
+						</File>
+					</Filter>
+				</Filter>
+				<Filter
+					Name="netif"
+					>
+					<File
+						RelativePath="..\..\components\net\lwip\src\netif\etharp.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\netif\ethernetif.c"
+						>
+					</File>
+					<File
+						RelativePath="..\..\components\net\lwip\src\netif\slipif.c"
+						>
+					</File>
+				</Filter>
+			</Filter>
+			<Filter
+				Name="pcap"
+				>
+				<File
+					RelativePath=".\pcap\pcap_netif.c"
+					>
+				</File>
+			</Filter>
 		</Filter>
 		</Filter>
 		<Filter
 		<Filter
 			Name="Header Files"
 			Name="Header Files"