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

CMakeLists.txt « hostpolicy « cli « corehost « installer « src - github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c05c876e1d92abc520b5178bea8cfd96f34a434b (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
# Licensed to the .NET Foundation under one or more agreements.
# The .NET Foundation licenses this file to you under the MIT license.
# See the LICENSE file in the project root for more information.

project(hostpolicy)

set(DOTNET_PROJECT_NAME "hostpolicy")

# Include directories
include_directories(../fxr)
include_directories(../json)

# CMake does not recommend using globbing since it messes with the freshness checks
set(SOURCES
    ./args.cpp
    ./breadcrumbs.cpp
    ./coreclr.cpp
    ./deps_resolver.cpp
    ./hostpolicy_context.cpp
    ./hostpolicy.cpp
    ./hostpolicy_init.cpp
)

set(HEADERS
    ./args.h
    ./breadcrumbs.h
    ./coreclr.h
    ../corehost_context_contract.h
    ./deps_resolver.h
    ./hostpolicy_context.h
    ../hostpolicy.h
    ./hostpolicy_init.h
)

include(../lib.cmake)

install_with_stripped_symbols(hostpolicy TARGETS corehost)
target_link_libraries(hostpolicy libhostcommon)