Fix trigger for tier 1 call counting delay (#17477)
[platform/upstream/coreclr.git] / src / binder / CMakeLists.txt
1 set(CMAKE_INCLUDE_CURRENT_DIR ON)
2 include_directories(BEFORE "../vm/${ARCH_SOURCES_DIR}")
3 include_directories(BEFORE "../vm")
4 include_directories(BEFORE "inc")
5       
6 set(BINDER_COMMON_SOURCES
7     variables.cpp
8     utils.cpp
9     assemblyname.cpp
10     propertymap.cpp
11     applicationcontext.cpp
12     assembly.cpp
13     failurecache.cpp
14     assemblybinder.cpp
15     stringlexer.cpp
16     clrprivbindercoreclr.cpp
17     binderinterface.cpp
18     debuglog.cpp
19     bindinglog.cpp
20     cdebuglog.cpp
21     textualidentityparser.cpp
22     assemblyidentitycache.cpp
23     coreclrbindercommon.cpp
24     fusionassemblyname.cpp
25     fusionhelpers.cpp
26 )
27
28 set(BINDER_SOURCES
29     ${BINDER_COMMON_SOURCES}
30     clrprivbinderassemblyloadcontext.cpp
31 )
32
33 set(BINDER_CROSSGEN_SOURCES
34     ${BINDER_COMMON_SOURCES}
35 )
36
37 convert_to_absolute_path(BINDER_SOURCES ${BINDER_SOURCES})
38 convert_to_absolute_path(BINDER_CROSSGEN_SOURCES ${BINDER_CROSSGEN_SOURCES})
39
40 if(CLR_CMAKE_PLATFORM_UNIX)
41     add_compile_options(-fPIC)
42 endif(CLR_CMAKE_PLATFORM_UNIX)
43
44 add_subdirectory(v3binder)
45 add_subdirectory(v3binder_crossgen)