Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CMakeLists.txt « interop « coreclr « src - github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 942071587810d9704cbb16f7cb84ad261ab2112d (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
set(CMAKE_INCLUDE_CURRENT_DIR ON)
include_directories(BEFORE inc)

set(INTEROP_COMMON_SOURCES
    interoplib.cpp
)

set(INTEROP_COMMON_HEADERS
    inc/interoplibimports.h
    inc/interoplib.h
    platform.h
)

set(INTEROP_SOURCES
    ${INTEROP_COMMON_SOURCES}
)

set(INTEROP_HEADERS
    ${INTEROP_COMMON_HEADERS}
)

if (FEATURE_COMWRAPPERS)
    list(APPEND INTEROP_SOURCES
        ${INTEROP_HEADERS}
        comwrappers.cpp
        comwrappers.hpp
        trackerobjectmanager.cpp
        referencetrackertypes.hpp)
endif(FEATURE_COMWRAPPERS)

convert_to_absolute_path(INTEROP_SOURCES ${INTEROP_SOURCES})

add_library_clr(interop_obj
    OBJECT
    ${INTEROP_SOURCES}
)

add_library(interop INTERFACE)
target_sources(interop INTERFACE $<TARGET_OBJECTS:interop_obj>)