blob: ca2c78fa27951dabc5e23e3f404110c38fb2628c (
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
40
41
42
43
44
45
46
47
48
|
# 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
../bundle/dir_utils.cpp
../bundle/extractor.cpp
../bundle/file_entry.cpp
../bundle/manifest.cpp
../bundle/runner.cpp
)
set(HEADERS
./args.h
./breadcrumbs.h
./coreclr.h
../corehost_context_contract.h
./deps_resolver.h
./hostpolicy_context.h
../hostpolicy.h
./hostpolicy_init.h
../bundle/dir_utils.h
../bundle/extractor.h
../bundle/file_entry.h
../bundle/manifest.h
../bundle/runner.h
)
include(../lib.cmake)
install_with_stripped_symbols(hostpolicy TARGETS corehost)
target_link_libraries(hostpolicy libhostcommon)
|