ICU-7611 CMake files for Unicode build tools

X-SVN-Rev: 28129
This commit is contained in:
Markus Scherer 2010-06-03 22:47:48 +00:00
parent e996a945d9
commit 311eb8cb78
9 changed files with 83 additions and 0 deletions

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)

View 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)