blob: 5b5ec0a5c6f51f8b142f83e2e6155f89cb701a30 (
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
|
project(createdump)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
remove_definitions(-DUNICODE)
remove_definitions(-D_UNICODE)
include_directories(BEFORE ${VM_DIR})
add_definitions(-DPAL_STDCPP_COMPAT=1)
add_compile_options(-fPIC)
set(CREATEDUMP_SOURCES
createdump.cpp
crashinfo.cpp
threadinfo.cpp
datatarget.cpp
dumpwriter.cpp
)
_add_library(createdump_lib
${CREATEDUMP_SOURCES}
)
_add_executable(createdump
main.cpp
)
target_link_libraries(createdump
createdump_lib
# share the PAL in the dac module
mscordaccore
)
add_dependencies(createdump mscordaccore)
install_clr(createdump)
|