forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInterop.csproj
More file actions
76 lines (70 loc) · 4.37 KB
/
Interop.csproj
File metadata and controls
76 lines (70 loc) · 4.37 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- Tracking issue: https://github.com/dotnet/runtime/issues/90427 -->
<CLRTestTargetUnsupported Condition="'$(RuntimeFlavor)' == 'mono' and '$(RuntimeVariant)' == 'llvmfullaot'">true</CLRTestTargetUnsupported>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Configurations>Debug;Release;Checked</Configurations>
<!-- Tracking issue: https://github.com/dotnet/runtime/issues/90427 -->
<CLRTestTargetUnsupported Condition="'$(RuntimeFlavor)' == 'mono' and '$(RuntimeVariant)' == 'minifullaot'">true</CLRTestTargetUnsupported>
</PropertyGroup>
<ItemGroup>
<SupportProject Include="$(TestLibraryProjectPath)" />
<SupportProject Include="PInvoke/Miscellaneous/CopyCtor/CopyCtorUtil.ilproj" />
<SupportProject Include="PInvoke/Miscellaneous/MultipleAssembliesWithSamePInvoke/ManagedDll*/*.csproj" />
<MergedWrapperProjectReference Include="*/**/*.??proj" Exclude="@(SupportProject)" />
<ProjectReference Include="@(SupportProject)" />
</ItemGroup>
<ItemGroup>
<!-- Directly compile tests into the merged wrapper -->
<Compile Include="WinRT/*.cs" />
<Compile Include="StructPacking/*.cs" />
<Compile Include="SimpleStruct/*.cs" />
<Compile Include="RefCharArray/*.cs" />
<Compile Include="IDynamicInterfaceCastable/*.cs" />
<Compile Include="LayoutClass/*.cs" />
<Compile Include="ArrayMarshalling/**/*.cs" />
<Compile Include="MarshalAPI/**/*.cs" />
<Compile Include="PInvoke/Array/**/*.cs" />
<Compile Include="PInvoke/ArrayWithOffset/**/*.cs" />
<Compile Include="PInvoke/AsAny/**/*.cs" />
<Compile Include="PInvoke/Attributes/**/*.cs" />
<Compile Include="PInvoke/CustomMarshalers/**/*.cs" />
<Compile Include="PInvoke/DateTime/**/*.cs" />
<Compile Include="PInvoke/Decimal/**/*.cs" />
<Compile Include="PInvoke/Delegate/**/*.cs" />
<Compile Include="PInvoke/Generics/**/*.cs" />
<Compile Include="PInvoke/IEnumerator/**/*.cs" />
<Compile Include="PInvoke/Int128/**/*.cs" />
<Compile Include="PInvoke/Miscellaneous/**/*.cs" Exclude="PInvoke/Miscellaneous/MultipleAssembliesWithSamePInvoke/ManagedDll*/*.cs" />
<Compile Include="PInvoke/Primitives/**/*.cs" />
<Compile Include="PInvoke/SafeHandles/**/*.cs" />
<Compile Include="PInvoke/SetLastError/**/*.cs" />
<Compile Include="PInvoke/SizeParamIndex/**/*.cs" />
<Compile Include="PInvoke/Varargs/**/*.cs" />
<Compile Include="PInvoke/Vector2_3_4/**/*.cs" />
<!-- Reference the CMake projects for the directly-compiled-in tests -->
<CMakeProjectReference Include="SimpleStruct/**/CMakeLists.txt" />
<CMakeProjectReference Include="RefCharArray/**/CMakeLists.txt" />
<CMakeProjectReference Include="LayoutClass/**/CMakeLists.txt" />
<CMakeProjectReference Include="ArrayMarshalling/**/CMakeLists.txt" />
<CMakeProjectReference Include="MarshalAPI/**/CMakeLists.txt" />
<CMakeProjectReference Include="PInvoke/**/CMakeLists.txt" />
<WindowsOnlyCMakeProjectReference Include="PInvoke/Attributes/LCID/**/CMakeLists.txt" />
<WindowsOnlyCMakeProjectReference Include="PInvoke/BestFitMapping/**/CMakeLists.txt" />
<WindowsOnlyCMakeProjectReference Include="PInvoke/Variant/**/CMakeLists.txt" />
<WindowsOnlyCMakeProjectReference Include="PInvoke/Varargs/**/CMakeLists.txt" />
<WindowsOnlyCMakeProjectReference Include="PInvoke/NativeCallManagedComVisible/**/CMakeLists.txt" />
<WindowsOnlyCMakeProjectReference Include="PInvoke/IEnumerator/**/CMakeLists.txt" />
<WindowsOnlyCMakeProjectReference Include="PInvoke/CustomMarshalers/**/CMakeLists.txt" />
<WindowsOnlyCMakeProjectReference Include="ArrayMarshalling/SafeArray/**/CMakeLists.txt" />
<!--
Our CMake project reference system validates that we have output artifacts for each referenced directory.
For our Windows-only tests, we only build the native assets on Windows. So, we need to remove the CMake project reference
for these directories to get the build to pass.
-->
<CMakeProjectReference Condition="'$(TargetOS)' != 'windows'" Remove="@(WindowsOnlyCMakeProjectReference)" />
<!-- Reference nested CMake projects from the merged wrapper so we don't need to be process-isolated to run them. -->
<CMakeProjectReference Include="StringMarshalling/**/CMakeLists.txt" />
</ItemGroup>
<Import Project="$(TestSourceDir)MergedTestRunner.targets" />
</Project>