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