Warning, /utilities/konsole/tools/uni2characterwidth/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 ### uni2characterwidth
0002 ###
0003 ### Converts Unicode Character Database files into character width lookup
0004 ### tables. Uses a template file to place the tables in a source code file
0005 ### together with a function for finding the width for specified character.
0006 ###
0007 ### See `uni2characterwidth --help` for usage information
0008 if(KONSOLE_BUILD_UNI2CHARACTERWIDTH)
0009
0010 find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED
0011 Core
0012 )
0013 find_package(KF6 ${KF_MIN_VERSION} REQUIRED
0014 KIO
0015 )
0016
0017 set(uni2characterwidth_SRC
0018 uni2characterwidth.cpp
0019 properties.h
0020 template.cpp
0021 template.h
0022 )
0023
0024 add_executable(uni2characterwidth ${uni2characterwidth_SRC})
0025 target_link_libraries(uni2characterwidth
0026 Qt::Core
0027 KF6::KIOCore
0028 )
0029
0030 endif()