File: vs2008_x64_vcproj.sed

package info (click to toggle)
libsmraw 20160424-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 12,252 kB
  • ctags: 5,029
  • sloc: ansic: 177,590; sh: 13,168; makefile: 1,311; python: 814; cpp: 561; sed: 134
file content (25 lines) | stat: -rw-r--r-- 732 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/<\/Platforms>/ {
	i \	\	<Platform\r
	i \	\	\	Name="x64"\r
	i \	\	/>\r
}

/<Configurations>/ {
	n
	h
:loop1
	n
	/<\/Configurations>/ !{
		s/OutputDirectory="\$(SolutionDir)\$(ConfigurationName)"/OutputDirectory="\$(SolutionDir)\$(ConfigurationName)\\\$(PlatformName)"/
		s/IntermediateDirectory="\$(ConfigurationName)"/IntermediateDirectory="\$(ConfigurationName)\\\$(PlatformName)"/
		H
		b loop1
	}
	x
	s/OutputDirectory="\$(SolutionDir)\$(ConfigurationName)"/OutputDirectory="\$(SolutionDir)\$(ConfigurationName)\\\$(PlatformName)"/g
	s/IntermediateDirectory="\$(ConfigurationName)"/IntermediateDirectory="\$(ConfigurationName)\\\$(PlatformName)"/g
	s/TargetMachine=1/TargetMachine=3/g
	s/Win32/x64/g
	a \	</Configurations>\r
}