-
Notifications
You must be signed in to change notification settings - Fork 98
/
Copy pathFSharpPlus.TypeLevel.fsproj
39 lines (38 loc) · 1.83 KB
/
FSharpPlus.TypeLevel.fsproj
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFrameworks>net8.0</TargetFrameworks>
<DefineConstants>$(DefineConstants);TYPELEVEL_DEBUG</DefineConstants>
<Configurations>Debug;Release;Fable</Configurations>
<Platforms>AnyCPU</Platforms>
<LangVersion Condition=" '$(Configuration)' == 'Fable'">5.0</LangVersion>
<DefineConstants Condition=" '$(Configuration)' == 'Fable'">$(DefineConstants);FABLE_COMPILER</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Compile Include="../../external/FSharp.TypeProviders.SDK/src/ProvidedTypes.fsi" />
<Compile Include="../../external/FSharp.TypeProviders.SDK/src/ProvidedTypes.fs" />
<Compile Include="TypeLevelOperators.fs" />
<Compile Include="TypeBool.fs" />
<Compile Include="TypeNat.fs" />
<Compile Include="Internals.fs" />
<!--<Compile Include="Providers/TypeNat.Provider.fs" />-->
<Compile Include="Control/Tuple.fs" />
<Compile Include="Data/Matrix.fs" />
<!--<Compile Include="Providers/Matrix.Provider.fs" />
<Compile Include="Providers/TypeProviderAssembly.fs" />-->
</ItemGroup>
<ItemGroup>
<ProjectReference Include="../FSharpPlus/FSharpPlus.fsproj" />
</ItemGroup>
<!-- Add the provider dll to Nuget package -->
<PropertyGroup>
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);AddProviderToPackage</TargetsForTfmSpecificBuildOutput>
</PropertyGroup>
<Target Name="AddProviderToPackage">
<Error Condition="!Exists('$(OutputPath)FSharpPlus.Providers.dll')" Text="FSharpPlus.Providers must be built before packaging." />
<ItemGroup>
<BuildOutputInPackage Include="$(OutputPath)FSharpPlus.Providers.dll" />
<BuildOutputInPackage Include="$(OutputPath)FSharpPlus.Providers.xml" />
</ItemGroup>
</Target>
</Project>