summaryrefslogtreecommitdiff
path: root/src/binder/CMakeLists.txt
blob: 12a61ac0d0dcc1af510c1b28a43cc54178a93db2 (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
set(CMAKE_INCLUDE_CURRENT_DIR ON)

include_directories(BEFORE "../vm/amd64")
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
)

if(CLR_CMAKE_PLATFORM_UNIX)
    add_compile_options(-fPIC)
endif(CLR_CMAKE_PLATFORM_UNIX)

add_library(v3binder
    STATIC
    ${BINDER_SOURCES}
)