~aleteoryx/muditaos

ref: 9ab0114a1df646f45625c3dd47a4ea85e092b2a7 muditaos/module-utils/ucs2/CMakeLists.txt -rw-r--r-- 349 bytes
9ab0114a — Marcin Smoczyński github: fix release token 4 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
24
25
add_library(ucs2 STATIC)

module_is_test_entity(ucs2)

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
)

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