summaryrefslogtreecommitdiff
path: root/src/dlls/mscorpe/CMakeLists.txt
blob: e8f22f2e9b91bff9bc8e89648dfd55a42a739dbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
project(mscorpe)

add_definitions(-DFEATURE_CORECLR)

set(MSCORPE_SOURCES
  iceefilegen.cpp
  ceefilegenwriter.cpp
  pewriter.cpp
  ceefilegenwritertokens.cpp
  utilcodeinit.cpp
)

if(WIN32)
  list(APPEND MSCORPE_SOURCES
    Native.rc
  )
else()
  add_compile_options(-Wno-delete-non-virtual-dtor)
endif(WIN32)

add_library_clr(mscorpe STATIC
  ${MSCORPE_SOURCES}
)