1
- <?xml version =" 1.0" encoding =" utf-8" ?>
2
- <Project DefaultTargets =" Build" ToolsVersion =" 4.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
1
+ <Project Sdk =" Microsoft.Build.NoTargets/1.0.110" >
3
2
<PropertyGroup >
4
- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
5
- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
6
- <ItemType >GenericProject</ItemType >
7
- <ProductVersion >8.0.30703</ProductVersion >
8
- <SchemaVersion >2.0</SchemaVersion >
9
- <ProjectGuid >{BB0AB9F7-0979-41A7-B7A9-877260655F94}</ProjectGuid >
10
- </PropertyGroup >
11
- <Import Project =" ..\..\Directory.Build.props" />
12
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
13
- <DebugSymbols >true</DebugSymbols >
3
+ <TargetFramework >net472</TargetFramework >
14
4
<OutputPath >$(ToolOutputFullPath)</OutputPath >
15
5
<JNIEnvGenPath >$(BuildToolOutputFullPath)</JNIEnvGenPath >
16
6
<OutputName >java-interop</OutputName >
17
- <CompileTarget >SharedLibrary</CompileTarget >
18
- <DefineSymbols >DEBUG JI_DLL_EXPORT MONODEVELOP MONO_DLL_EXPORT</DefineSymbols >
7
+ <DefineSymbols >JI_DLL_EXPORT MONODEVELOP MONO_DLL_EXPORT</DefineSymbols >
19
8
<SourceDirectory >.</SourceDirectory >
20
9
</PropertyGroup >
10
+
11
+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
12
+ <DefineConstants >DEBUG $(DefineConstants)</DefineConstants >
13
+ </PropertyGroup >
14
+
21
15
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
22
- <OutputPath >$(ToolOutputFullPath)</OutputPath >
23
- <OutputName >java-interop</OutputName >
24
- <JNIEnvGenPath >$(BuildToolOutputFullPath)</JNIEnvGenPath >
25
- <CompileTarget >SharedLibrary</CompileTarget >
26
16
<OptimizationLevel >3</OptimizationLevel >
27
- <DefineSymbols >JI_DLL_EXPORT MONODEVELOP MONO_DLL_EXPORT</DefineSymbols >
28
- <SourceDirectory >.</SourceDirectory >
29
17
</PropertyGroup >
18
+
30
19
<ItemGroup >
31
20
<ClInclude Include =" java-interop.h" />
32
21
<ClInclude Include =" java-interop-gc-bridge.h" />
33
22
<ClInclude Include =" java-interop-mono.h" />
34
23
</ItemGroup >
24
+
35
25
<PropertyGroup >
36
26
<_MonoIncludePath >@(MonoIncludePath->'%(FullPath)')</_MonoIncludePath >
37
27
<_JdkIncludePath >@(JdkIncludePath->'%(FullPath)')</_JdkIncludePath >
38
28
</PropertyGroup >
29
+
39
30
<ItemDefinitionGroup >
40
31
<ClCompile >
41
32
<PreprocessorDefinitions >$([MSBuild]::Unescape($(DefineSymbols.Replace(' ', ';'))))</PreprocessorDefinitions >
42
33
<AdditionalIncludeDirectories >$([MSBuild]::Unescape($(_MonoIncludePath)));$([MSBuild]::Unescape($(_JdkIncludePath)))</AdditionalIncludeDirectories >
43
34
</ClCompile >
44
35
</ItemDefinitionGroup >
36
+
45
37
<ItemGroup >
46
38
<ClCompile Include =" jni.c" />
47
39
<ClCompile Include =" java-interop.cc" />
50
42
<ClCompile Include =" java-interop-mono.cc" />
51
43
<ClCompile Include =" java-interop-gc-bridge-mono.cc" />
52
44
</ItemGroup >
53
- <PropertyGroup >
54
- <BuildDependsOn >
55
- BuildJni_c;
56
- BuildMac;
57
- BuildUnixLibraries;
58
- $(BuildDependsOn)
59
- </BuildDependsOn >
60
- </PropertyGroup >
45
+
61
46
<Import Project =" java-interop.targets" />
47
+
62
48
<ItemGroup >
63
- <ProjectReference Include =" ..\..\build-tools\jnienv-gen\jnienv-gen.csproj" >
64
- <Project >{6410DA0F-5E14-4FC0-9AEE-F4C542C96C7A}</Project >
65
- <Name >jnienv-gen</Name >
66
- <ReferenceOutputAssembly >False</ReferenceOutputAssembly >
67
- </ProjectReference >
68
- </ItemGroup >
69
- </Project >
49
+ <ProjectReference Include =" ..\..\build-tools\jnienv-gen\jnienv-gen.csproj" ReferenceOutputAssembly =" false" />
50
+ </ItemGroup >
51
+ </Project >
0 commit comments