blob: 8894813e738acef2f75df6522f23b88900fe8388 (
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
|
add_definitions(-DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_NO_HOST -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES)
set(CORDBDI_SOURCES
shimprocess.cpp
shimcallback.cpp
shimevents.cpp
shimdatatarget.cpp
shimstackwalk.cpp
breakpoint.cpp
cordb.cpp
divalue.cpp
dbgtransportmanager.cpp
hash.cpp
module.cpp
nativepipeline.cpp
platformspecific.cpp
process.cpp
rsappdomain.cpp
rsassembly.cpp
rsclass.cpp
rsfunction.cpp
rsmain.cpp
rsmda.cpp
rsregsetcommon.cpp
rsstackwalk.cpp
rsthread.cpp
rstype.cpp
shared.cpp
symbolinfo.cpp
valuehome.cpp
)
if(WIN32)
#use static crt
add_definitions(-MT)
if (CLR_CMAKE_TARGET_ARCH_AMD64)
set(CORDBDI_SOURCES
${CORDBDI_SOURCES}
${ARCH_SOURCES_DIR}/floatconversion.asm
)
endif()
elseif(CLR_CMAKE_PLATFORM_UNIX)
add_compile_options(-fPIC)
if(CLR_CMAKE_TARGET_ARCH_AMD64)
set(CORDBDI_SOURCES
${CORDBDI_SOURCES}
${ARCH_SOURCES_DIR}/floatconversion.S
)
endif()
endif(WIN32)
add_precompiled_header(stdafx.h stdafx.cpp CORDBDI_SOURCES)
add_library_clr(cordbdi STATIC ${CORDBDI_SOURCES})
|