blob: 760b75e24d10cce89f437b25a850352fc585a70f (
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
|
project(System.Private.CoreLib.Native)
set(NATIVE_SOURCES
pal_cruntime.cpp
pal_datetime.cpp
pal_dynamicload.cpp
pal_environment.cpp
pal_errno.cpp
pal_guid.cpp
pal_memory.cpp
pal_exepath.cpp
pal_threading.cpp
pal_time.cpp
)
add_library(System.Private.CoreLib.Native
STATIC
${NATIVE_SOURCES}
)
if (CMAKE_SYSTEM_NAME STREQUAL Linux)
target_link_libraries(System.Private.CoreLib.Native rt)
endif ()
include(configure.cmake)
install (TARGETS System.Private.CoreLib.Native DESTINATION sdk)
|