Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c48b8f7

Browse files
author
Barton Cline
committed
I'm now maintaining my own copy of the Python.Runtime.csproj and will update this one when structural changes occur.
Here, the new ConstuctorBinding.cs file is included in the compilation.
1 parent 1161c43 commit c48b8f7

File tree

1 file changed

+163
-0
lines changed

1 file changed

+163
-0
lines changed
Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<PropertyGroup>
3+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
4+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
5+
<ProjectGuid>{097B4AC0-74E9-4C58-BCF8-C69746EC8271}</ProjectGuid>
6+
<OutputType>Library</OutputType>
7+
<NoStandardLibraries>false</NoStandardLibraries>
8+
<AssemblyName>Python.Runtime</AssemblyName>
9+
<RootNamespace>Python.Runtime</RootNamespace>
10+
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
11+
</PropertyGroup>
12+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
13+
<DebugSymbols>true</DebugSymbols>
14+
<DebugType>full</DebugType>
15+
<Optimize>true</Optimize>
16+
<OutputPath>.\bin\Debug\</OutputPath>
17+
<DefineConstants>TRACE;DEBUG;PYTHON26,UCS2</DefineConstants>
18+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
19+
</PropertyGroup>
20+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
21+
<DebugType>pdbonly</DebugType>
22+
<Optimize>true</Optimize>
23+
<OutputPath>.\bin\Release\</OutputPath>
24+
<DefineConstants>TRACE;PYTHON26,UCS2</DefineConstants>
25+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
26+
</PropertyGroup>
27+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'EmbeddingTest|AnyCPU' ">
28+
<DebugSymbols>true</DebugSymbols>
29+
<OutputPath>bin\EmbeddingTest\</OutputPath>
30+
<DefineConstants>TRACE;DEBUG;PYTHON26,UCS2</DefineConstants>
31+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
32+
<Optimize>true</Optimize>
33+
<DebugType>full</DebugType>
34+
<PlatformTarget>AnyCPU</PlatformTarget>
35+
</PropertyGroup>
36+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'UnitTests|AnyCPU' ">
37+
<DebugSymbols>true</DebugSymbols>
38+
<OutputPath>bin\UnitTests\</OutputPath>
39+
<DefineConstants>TRACE;DEBUG;PYTHON26,UCS2</DefineConstants>
40+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
41+
<Optimize>true</Optimize>
42+
<DebugType>full</DebugType>
43+
<PlatformTarget>AnyCPU</PlatformTarget>
44+
</PropertyGroup>
45+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
46+
<DebugSymbols>true</DebugSymbols>
47+
<OutputPath>bin\x64\Debug\</OutputPath>
48+
<DefineConstants>TRACE;DEBUG;PYTHON26,UCS2</DefineConstants>
49+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
50+
<Optimize>true</Optimize>
51+
<DebugType>full</DebugType>
52+
<PlatformTarget>x64</PlatformTarget>
53+
<NoWarn>1607</NoWarn>
54+
</PropertyGroup>
55+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
56+
<OutputPath>bin\x64\Release\</OutputPath>
57+
<DefineConstants>TRACE;PYTHON26,UCS2</DefineConstants>
58+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
59+
<Optimize>true</Optimize>
60+
<DebugType>pdbonly</DebugType>
61+
<PlatformTarget>x64</PlatformTarget>
62+
<NoWarn>1607</NoWarn>
63+
</PropertyGroup>
64+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'EmbeddingTest|x64' ">
65+
<DebugSymbols>true</DebugSymbols>
66+
<OutputPath>bin\x64\EmbeddingTest\</OutputPath>
67+
<DefineConstants>TRACE;DEBUG;PYTHON26,UCS2</DefineConstants>
68+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
69+
<Optimize>true</Optimize>
70+
<DebugType>full</DebugType>
71+
<PlatformTarget>x64</PlatformTarget>
72+
<NoWarn>1607</NoWarn>
73+
</PropertyGroup>
74+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'UnitTests|x64' ">
75+
<DebugSymbols>true</DebugSymbols>
76+
<OutputPath>bin\x64\UnitTests\</OutputPath>
77+
<DefineConstants>TRACE;DEBUG;PYTHON26,UCS2</DefineConstants>
78+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
79+
<Optimize>true</Optimize>
80+
<DebugType>full</DebugType>
81+
<PlatformTarget>x64</PlatformTarget>
82+
<NoWarn>1607</NoWarn>
83+
</PropertyGroup>
84+
<ItemGroup>
85+
<Reference Include="System" />
86+
</ItemGroup>
87+
<ItemGroup>
88+
<Compile Include="arrayobject.cs" />
89+
<Compile Include="assemblyinfo.cs" />
90+
<Compile Include="assemblymanager.cs" />
91+
<Compile Include="classbase.cs" />
92+
<Compile Include="classmanager.cs" />
93+
<Compile Include="classobject.cs" />
94+
<Compile Include="clrobject.cs" />
95+
<Compile Include="codegenerator.cs" />
96+
<Compile Include="constructorbinder.cs" />
97+
<Compile Include="constructorbinding.cs" />
98+
<Compile Include="converter.cs" />
99+
<Compile Include="debughelper.cs" />
100+
<Compile Include="delegatemanager.cs" />
101+
<Compile Include="delegateobject.cs" />
102+
<Compile Include="eventbinding.cs" />
103+
<Compile Include="eventobject.cs" />
104+
<Compile Include="exceptions.cs" />
105+
<Compile Include="extensiontype.cs" />
106+
<Compile Include="fieldobject.cs" />
107+
<Compile Include="generictype.cs" />
108+
<Compile Include="genericutil.cs" />
109+
<Compile Include="importhook.cs" />
110+
<Compile Include="indexer.cs" />
111+
<Compile Include="interfaceobject.cs" />
112+
<Compile Include="interfaces.cs" />
113+
<Compile Include="interop.cs" />
114+
<Compile Include="iterator.cs" />
115+
<Compile Include="managedtype.cs" />
116+
<Compile Include="metatype.cs" />
117+
<Compile Include="methodbinder.cs" />
118+
<Compile Include="methodbinding.cs" />
119+
<Compile Include="methodobject.cs" />
120+
<Compile Include="methodwrapper.cs" />
121+
<Compile Include="modulefunctionobject.cs" />
122+
<Compile Include="moduleobject.cs" />
123+
<Compile Include="modulepropertyobject.cs" />
124+
<Compile Include="monosupport.cs" />
125+
<Compile Include="nativecall.cs" />
126+
<Compile Include="overload.cs" />
127+
<Compile Include="propertyobject.cs" />
128+
<Compile Include="pydict.cs" />
129+
<Compile Include="pyfloat.cs" />
130+
<Compile Include="pyint.cs" />
131+
<Compile Include="pyiter.cs" />
132+
<Compile Include="pylist.cs" />
133+
<Compile Include="pylong.cs" />
134+
<Compile Include="pynumber.cs" />
135+
<Compile Include="pyobject.cs" />
136+
<Compile Include="pysequence.cs" />
137+
<Compile Include="pystring.cs" />
138+
<Compile Include="pythonengine.cs" />
139+
<Compile Include="pythonexception.cs" />
140+
<Compile Include="pytuple.cs" />
141+
<Compile Include="runtime.cs" />
142+
<Compile Include="typemanager.cs" />
143+
<Compile Include="typemethod.cs" />
144+
</ItemGroup>
145+
<ItemGroup>
146+
<None Include="buildclrmodule.bat" />
147+
<None Include="clrmodule.il" />
148+
<None Include="x64\clrmodule-platform.il" />
149+
<None Include="x86\clrmodule-platform.il" />
150+
</ItemGroup>
151+
<Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
152+
<ProjectExtensions>
153+
<VisualStudio AllowExistingFolder="true" />
154+
</ProjectExtensions>
155+
<PropertyGroup>
156+
<PostBuildEvent>call "$(ProjectDir)buildclrmodule.bat" $(Platform) "$(ProjectDir)" "$(TargetDir)clr.pyd"
157+
copy "$(TargetPath)" "$(SolutionDir)"
158+
copy "$(TargetDir)*.pdb" "$(SolutionDir)"
159+
copy "$(TargetDir)clr.pyd" "$(SolutionDir)"
160+
</PostBuildEvent>
161+
<PreBuildEvent>del "$(TargetDir)clr.pyd"</PreBuildEvent>
162+
</PropertyGroup>
163+
</Project>

0 commit comments

Comments
 (0)