~aleteoryx/muditaos

ref: ccce9bb19f4725b03d8b713ed04df6421f2d223e muditaos/module-utils/unicode/ucs2/CMakeLists.txt -rw-r--r-- 324 bytes
ccce9bb1 — Bartosz [MOS-724] CodeQL setup 3 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()