~aleteoryx/muditaos

ref: 950cf78aa9fe3f30d25d5048f0ec46bf5fe2eac0 muditaos/module-utils/unicode/ucs2/CMakeLists.txt -rw-r--r-- 324 bytes
950cf78a — Lukasz Mastalerz [CP-1825] Update while on onboarding screen 2 years 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()