summaryrefslogtreecommitdiff
path: root/src/vm/crossgen/CMakeLists.txt
blob: fdf7e9597e7bcdb66fb48e30e4dfb018935a3672 (plain)
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
include(${CLR_DIR}/crossgen.cmake)

set(VM_CROSSGEN_SOURCES
    ../class.cpp
    ../AppDomain.cpp
    ../array.cpp
    ../Assembly.cpp
    ../AssemblySpec.cpp
    ../binder.cpp
    ../ceeload.cpp
    ../ceemain.cpp
    ../classhash.cpp
    ../clrex.cpp
    ../CLRPrivBinderUtil.cpp
    ../CLRPrivBinderWinRT.cpp
    ../CLRPrivTypeCacheWinRT.cpp
    ../clsload.cpp
    ../comdelegate.cpp
    ../codeman.cpp
    ../compile.cpp
    ../ConstrainedExecutionRegion.cpp
    ../CustomMarshalerInfo.cpp
    ../Domainfile.cpp
    ../BaseAssemblySpec.cpp
    ../corebindresult.cpp
    ../coreassemblyspec.cpp
    ../crossdomaincalls.cpp
    ../dataimage.cpp
    ../decodeMD.cpp
    ../DebugInfoStore.cpp
    ../ecall.cpp
    ../eeconfig.cpp
    ../eehash.cpp
    ../eetwain.cpp
    ../excep.cpp
    ../Field.cpp
    ../Fieldmarshaler.cpp
    ../formattype.cpp
    ../TypeEquivalenceHash.cpp
    ../GCDecode.cpp
    ../genericdict.cpp
    ../generics.cpp
    ../genmeth.cpp
    ../hash.cpp
    ../ILMarshalers.cpp
    ../ILStubCache.cpp
    ../ILStubResolver.cpp
    ../instmethhash.cpp
    ../interoputil.cpp
    ../invokeutil.cpp
    ../inlinetracking.cpp
    ../contractImpl.cpp
    ../JITInterface.cpp
    ../LoaderAllocator.cpp
    ../ListLock.cpp
    ../memberload.cpp
    ../Method.cpp
    ../MethodImpl.cpp
    ../MethodTable.cpp
    ../methodtablebuilder.cpp
    ../mscorlib.cpp
    ../stubcache.cpp
    ../mlinfo.cpp
    ../DllImport.cpp
    ../DllImportCallback.cpp
    ../PEFile.cpp
    ../PEFingerprint.cpp
    ../PEImage.cpp
    ../PEImageLayout.cpp
    ../pendingload.cpp
    ../Precode.cpp
    ../olevariant.cpp
    ../security.cpp
    ../securitypolicy.cpp
    ../securityAttributes.cpp
    ../SecurityDeclarative.cpp
    ../SecurityDeclarativeCache.cpp
    ../SecurityDescriptor.cpp
    ../SecurityDescriptorAppdomain.cpp
    ../SecurityDescriptorAssembly.cpp
    ../securitymeta.cpp
    ../SecurityTransparentAssembly.cpp
    ../siginfo.cpp
    ../SigFormat.cpp
    ../SimpleRWLock.cpp
    ../spinlock.cpp
    ../StackingAllocator.cpp
    ../stubgen.cpp
    ../stublink.cpp
    ../typectxt.cpp
    ../typedesc.cpp
    ../typehandle.cpp
    ../typehash.cpp
    ../typeparse.cpp
    ../typestring.cpp
    ../util.cpp
    ../vars.cpp
    ../zapsig.cpp
    ../classcompat.cpp
    ../COMtoCLRCall.cpp
    ../CLRtoCOMCall.cpp
    ../RuntimeCallableWrapper.cpp
    ../WinRTHelpers.cpp
    ../WinRTTypeNameConverter.cpp
    ../DbgGcInfoDecoder.cpp
    ../GcInfoDecoder.cpp
    ../SHA1.cpp
    ../amd64/StubLinkerAMD64.cpp
    ../crossgencompile.cpp
    ../CrossgenRoParseTypeName.cpp
    ../CrossgenRoResolveNamespace.cpp
)

if (WIN32)
  list(APPEND VM_CROSSGEN_SOURCES
      ../readytoruninfo.cpp
  )
endif (WIN32)

include_directories(BEFORE ..)
include_directories(${CLR_DIR}/src/gc)
include_directories(../amd64)

if (WIN32)
  add_precompiled_header(common.h ../common.cpp VM_CROSSGEN_SOURCES)
  # mscorlib.cpp does not compile with precompiled header file
  set_source_files_properties(../mscorlib.cpp PROPERTIES COMPILE_FLAGS "/Y-")
endif (WIN32)

add_library(cee_crossgen ${VM_CROSSGEN_SOURCES})