~aleteoryx/muditaos

ref: e1d2330172a90f748c0c4a19ab6ffcb21dfe06bb muditaos/module-utils/unicode/ucs2/CMakeLists.txt -rw-r--r-- 324 bytes
e1d23301 — Lefucjusz [BH-000] Commit database migrations for 2.10.0 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
add_library(ucs2 STATIC)

target_sources(ucs2
    PRIVATE
       ucs2/UCS2.cpp
)

target_include_directories(ucs2
    PUBLIC
        $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
)

target_link_libraries(ucs2
    PUBLIC
        utf8

    PRIVATE
        log-api
)

if (${ENABLE_TESTS})
    add_subdirectory( test )
endif()