blob: 1b67c65ef7e784cdc547aea4d110569da3da7288 (
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
|
# 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(hostmisc)
set(DOTNET_PROJECT_NAME "hostmisc")
include(configure.cmake)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
# CMake does not recommend using globbing since it messes with the freshness checks
set(SOURCES
trace.cpp
utils.cpp
../fxr/fx_ver.cpp
)
set(HEADERS
trace.h
utils.h
pal.h
../../error_codes.h
../fxr/fx_ver.h
)
if(CLR_CMAKE_TARGET_WIN32)
list(APPEND SOURCES
pal.windows.cpp
longfile.windows.cpp)
list(APPEND HEADERS
longfile.h)
else()
list(APPEND SOURCES
pal.unix.cpp)
endif()
set(SKIP_VERSIONING 1)
include(../lib_static.cmake)
|