summaryrefslogtreecommitdiff
path: root/src/palrt/CMakeLists.txt
blob: e19b55d9dc68d3adbd8395e6ffafd93fca61c4a3 (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

set(CMAKE_INCLUDE_CURRENT_DIR ON)

set(PALRT_SOURCES
    bstr.cpp
    coguid.cpp
    comem.cpp
    decarith.cpp
    decconv.cpp
    guid.cpp
    memorystream.cpp
    path.cpp
    urlpars.cpp
    unicode.cpp
    variant.cpp
)

add_compile_options(-fPIC)

add_library_clr(palrt
    STATIC
    ${PALRT_SOURCES}
)

# Install the static PAL library for VS
_install (TARGETS palrt DESTINATION lib)