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

CMakeLists.txt « System.Security.Cryptography.Native.Apple « Unix « Native « src - github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8bdca85e48bce81171e0b7388f0314c1cd77e7aa (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.Security.Cryptography.Native.Apple)

set(CMAKE_INCLUDE_CURRENT_DIR ON)

add_definitions(-DPIC=1)

set(NATIVECRYPTO_SOURCES
    pal_digest.cpp
    pal_hmac.cpp
    pal_random.cpp
    pal_symmetric.cpp
)

add_library(System.Security.Cryptography.Native.Apple
    SHARED
    ${NATIVECRYPTO_SOURCES}
    ${VERSION_FILE_PATH}
)

# Disable the "lib" prefix.
set_target_properties(System.Security.Cryptography.Native.Apple PROPERTIES PREFIX "")

target_link_libraries(System.Security.Cryptography.Native.Apple
)

install_library_and_symbols (System.Security.Cryptography.Native.Apple)