blob: b6e9da3f46f7e4a0b517615d783fa640e094a0c3 (
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
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
if(CLR_CMAKE_PLATFORM_ARCH_AMD64)
include_directories(BEFORE "../vm/amd64")
elseif(CLR_CMAKE_PLATFORM_ARCH_ARM)
include_directories(BEFORE "../vm/arm")
else()
message(FATAL_ERROR "Only ARM and AMD64 is supported")
endif()
include_directories(BEFORE "../vm")
include_directories(BEFORE "inc")
set(BINDER_SOURCES
variables.cpp
utils.cpp
assemblyname.cpp
propertymap.cpp
applicationcontext.cpp
assembly.cpp
failurecache.cpp
assemblybinder.cpp
stringlexer.cpp
clrprivbindercoreclr.cpp
binderinterface.cpp
debuglog.cpp
bindinglog.cpp
cdebuglog.cpp
compatibility.cpp
textualidentityparser.cpp
assemblyidentitycache.cpp
clrprivbinderassemblyloadcontext.cpp
coreclrbindercommon.cpp
fusionassemblyname.cpp
fusionhelpers.cpp
)
convert_to_absolute_path(BINDER_SOURCES ${BINDER_SOURCES})
if(CLR_CMAKE_PLATFORM_UNIX)
add_compile_options(-fPIC)
endif(CLR_CMAKE_PLATFORM_UNIX)
add_subdirectory(v3binder)
add_subdirectory(v3binder_crossgen)
|