mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 17:01:16 +00:00
ICU-7611 CMake files for Unicode build tools
X-SVN-Rev: 28129
This commit is contained in:
parent
e996a945d9
commit
311eb8cb78
9 changed files with 83 additions and 0 deletions
27
tools/unicode/c/CMakeLists.txt
Normal file
27
tools/unicode/c/CMakeLists.txt
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Copyright (C) 2010, International Business Machines
|
||||
# Corporation and others. All Rights Reserved.
|
||||
#
|
||||
# created on: 2010jun03
|
||||
# created by: Markus W. Scherer
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
project(ICU_UNI_TOOLS)
|
||||
# This requires an icudefs.txt file with contents like the following:
|
||||
# Location (--prefix) of where ICU was installed.
|
||||
#set(ICU_INST_DIR /home/mscherer/svn.icu/trunk/bldinst)
|
||||
# Location of the ICU source tree.
|
||||
#set(ICU_SRC_DIR /home/mscherer/svn.icu/trunk/src)
|
||||
include(icudefs.txt)
|
||||
include_directories(
|
||||
${ICU_INST_DIR}/include
|
||||
${ICU_SRC_DIR}/source/common
|
||||
${ICU_SRC_DIR}/source/i18n
|
||||
${ICU_SRC_DIR}/source/tools/toolutil)
|
||||
link_directories(${ICU_INST_DIR}/lib)
|
||||
add_subdirectory(genbidi)
|
||||
add_subdirectory(gencase)
|
||||
add_subdirectory(gennames)
|
||||
add_subdirectory(gennorm)
|
||||
add_subdirectory(genpname)
|
||||
add_subdirectory(genprops)
|
||||
add_subdirectory(genuca)
|
||||
add_subdirectory(genuts46)
|
7
tools/unicode/c/genbidi/CMakeLists.txt
Normal file
7
tools/unicode/c/genbidi/CMakeLists.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Copyright (C) 2010, International Business Machines
|
||||
# Corporation and others. All Rights Reserved.
|
||||
#
|
||||
# created on: 2010jun03
|
||||
# created by: Markus W. Scherer
|
||||
add_executable(genbidi genbidi.c store.c)
|
||||
target_link_libraries(genbidi libicuuc.so libicutu.so)
|
7
tools/unicode/c/gencase/CMakeLists.txt
Normal file
7
tools/unicode/c/gencase/CMakeLists.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Copyright (C) 2010, International Business Machines
|
||||
# Corporation and others. All Rights Reserved.
|
||||
#
|
||||
# created on: 2010jun03
|
||||
# created by: Markus W. Scherer
|
||||
add_executable(gencase gencase.c store.c)
|
||||
target_link_libraries(gencase libicuuc.so libicutu.so)
|
7
tools/unicode/c/gennames/CMakeLists.txt
Normal file
7
tools/unicode/c/gennames/CMakeLists.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Copyright (C) 2010, International Business Machines
|
||||
# Corporation and others. All Rights Reserved.
|
||||
#
|
||||
# created on: 2010jun03
|
||||
# created by: Markus W. Scherer
|
||||
add_executable(gennames gennames.c)
|
||||
target_link_libraries(gennames libicuuc.so libicutu.so)
|
7
tools/unicode/c/gennorm/CMakeLists.txt
Normal file
7
tools/unicode/c/gennorm/CMakeLists.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Copyright (C) 2010, International Business Machines
|
||||
# Corporation and others. All Rights Reserved.
|
||||
#
|
||||
# created on: 2010jun03
|
||||
# created by: Markus W. Scherer
|
||||
add_executable(gennorm gennorm.c store.c)
|
||||
target_link_libraries(gennorm libicuuc.so libicutu.so)
|
7
tools/unicode/c/genpname/CMakeLists.txt
Normal file
7
tools/unicode/c/genpname/CMakeLists.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Copyright (C) 2010, International Business Machines
|
||||
# Corporation and others. All Rights Reserved.
|
||||
#
|
||||
# created on: 2010jun03
|
||||
# created by: Markus W. Scherer
|
||||
add_executable(genpname genpname.cpp)
|
||||
target_link_libraries(genpname libicuuc.so libicutu.so)
|
7
tools/unicode/c/genprops/CMakeLists.txt
Normal file
7
tools/unicode/c/genprops/CMakeLists.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Copyright (C) 2010, International Business Machines
|
||||
# Corporation and others. All Rights Reserved.
|
||||
#
|
||||
# created on: 2010jun03
|
||||
# created by: Markus W. Scherer
|
||||
add_executable(genprops genprops.c props2.c store.c)
|
||||
target_link_libraries(genprops libicuuc.so libicutu.so)
|
7
tools/unicode/c/genuca/CMakeLists.txt
Normal file
7
tools/unicode/c/genuca/CMakeLists.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Copyright (C) 2010, International Business Machines
|
||||
# Corporation and others. All Rights Reserved.
|
||||
#
|
||||
# created on: 2010jun03
|
||||
# created by: Markus W. Scherer
|
||||
add_executable(genuca genuca.cpp)
|
||||
target_link_libraries(genuca libicuuc.so libicui18n.so libicutu.so)
|
7
tools/unicode/c/genuts46/CMakeLists.txt
Normal file
7
tools/unicode/c/genuts46/CMakeLists.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Copyright (C) 2010, International Business Machines
|
||||
# Corporation and others. All Rights Reserved.
|
||||
#
|
||||
# created on: 2010jun03
|
||||
# created by: Markus W. Scherer
|
||||
add_executable(genuts46 genuts46.cpp)
|
||||
target_link_libraries(genuts46 libicuuc.so libicutu.so)
|
Loading…
Add table
Reference in a new issue