-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
CMakeLists.txt
38 lines (31 loc) · 959 Bytes
/
CMakeLists.txt
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
include(CSharpUtilities)
include(NetFxNuget)
include(NetFxStrongName)
# TODO: Make AssemblyInfo a configure()ed file
add_library(VowpalWabbit.Parallel SHARED
Properties/AssemblyInfo.cs
VowpalWabbitAsync.cs
VowpalWabbitThreadedLearning.cs
)
CSHARP_SET_DESIGNER_CS_PROPERTIES(
"Properties/AssemblyInfo.cs"
)
strongname_sign_target(VowpalWabbit.Parallel ${vw_DOTNET_SIGNING_KEY})
set (vw_DOTNET_FRAMEWORK_REFERENCES
System
System.Core
System.Data
System.Data.DataSetExtensions
System.Runtime.Caching
System.Xml
System.Xml.Linq
Microsoft.CSharp
)
target_add_nuget_references(VowpalWabbit.Parallel "Microsoft.Tpl.Dataflow@4.5.24@System.Threading.Tasks.Dataflow")
target_link_libraries(VowpalWabbit.Parallel
PUBLIC VowpalWabbit.Common VowpalWabbit.Core VowpalWabbit
)
set_target_properties(VowpalWabbit.Parallel
PROPERTIES VS_DOTNET_REFERENCES "${vw_DOTNET_FRAMEWORK_REFERENCES}"
VS_GLOBAL_ROOTNAMESPACE VW
)