summaryrefslogtreecommitdiff
path: root/src/strongname/api/CMakeLists.txt
blob: 6e596d8ea9bc53814ae1bab72729eebe60f9d5fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
set(CMAKE_INCLUDE_CURRENT_DIR ON)

#this will again add vm to include directories. However, this will add vm to be the first include folder.
#This is required because util.hpp is also present in ildasm folder and so due to ordering wrong util.hpp 
#is pickedup.
include_directories(BEFORE ${VM_DIR})

include_directories(${VM_DIR}/${ARCH_SOURCES_DIR})
include_directories(${CLR_DIR}/src/md/compiler)

add_definitions(-DSTRONGNAME_IN_VM -DSNAPI_INTERNAL)

set(STRONGNAME_SOURCES
  strongname.cpp
  strongnameinternal.cpp
)

convert_to_absolute_path(STRONGNAME_SOURCES ${STRONGNAME_SOURCES})

add_subdirectory(dac)
add_subdirectory(wks)
add_subdirectory(crossgen)