+# Copyright (C) 2016 and later: Unicode, Inc. and others.
+# License & terms of use: http://www.unicode.org/copyright.html
# Copyright (C) 2016 International Business Machines Corporation
# and others. All rights reserved.
#
echo $file
echo '#include "'$file'"' > ht_temp.cpp ;
echo 'void noop() {}' >> ht_temp.cpp ;
- $CXX -c -I common -O0 ht_temp.cpp ;
+ $CXX -c -std=c++11 -I common -O0 ht_temp.cpp ;
done ;
for file in `ls i18n/*.h`; do
echo $file
echo '#include "'$file'"' > ht_temp.cpp ;
echo 'void noop() {}' >> ht_temp.cpp ;
- $CXX -c -I common -I i18n -O0 ht_temp.cpp ;
+ $CXX -c -std=c++11 -I common -I i18n -O0 ht_temp.cpp ;
done ;
for file in `ls io/*.h`; do
echo $file
echo '#include "'$file'"' > ht_temp.cpp ;
echo 'void noop() {}' >> ht_temp.cpp ;
- $CXX -c -I common -I i18n -I io -O0 ht_temp.cpp ;
+ $CXX -c -std=c++11 -I common -I i18n -I io -O0 ht_temp.cpp ;
done ;
-# layout is deprecated, but layoutex is not.
+# layout is removed.
-for file in `ls layout/*.h`; do
- echo $file
- echo '#include "'$file'"' > ht_temp.cpp ;
- echo 'void noop() {}' >> ht_temp.cpp ;
- $CXX -c -I common -I i18n -I io -O0 ht_temp.cpp ;
-done ;
+# layoutex now depends on external additions such as HarfBuzz, skip here
# -I . for includes of layout/*.h
-for file in `ls layoutex/*.h`; do
- echo $file
- echo '#include "'$file'"' > ht_temp.cpp ;
- echo 'void noop() {}' >> ht_temp.cpp ;
- $CXX -c -I common -I i18n -I io -I layout -I . -I layoutex -O0 ht_temp.cpp ;
-done ;
+#for file in `ls layoutex/*.h`; do
+# echo $file
+# echo '#include "'$file'"' > ht_temp.cpp ;
+# echo 'void noop() {}' >> ht_temp.cpp ;
+# $CXX -c -I common -I i18n -I io -I layout -I . -I layoutex -O0 ht_temp.cpp ;
+#done ;
# Tools
echo $file
echo '#include "'$file'"' > ht_temp.cpp ;
echo 'void noop() {}' >> ht_temp.cpp ;
- $CXX -c -I common -I i18n -I io -I tools/toolutil -O0 ht_temp.cpp ;
+ $CXX -c -std=c++11 -I common -I i18n -I io -I tools/toolutil -O0 ht_temp.cpp ;
done ;
# Exclude tzcode: tools/tzcode/private.h uses an argument "new" in a function declaration.
# We don't want to patch it, and don't want to spend the time for this script here
# to know about C-only header files.
-for tool in genccode gencmn gencolusb gennorm2 genren gentest icupkg icuswap pkgdata \
- genbrk gencfu gencnval gendict genrb gensprep icuinfo makeconv memcheck; do
+for tool in escapesrc genccode gencmn gencolusb gennorm2 genren gentest icupkg icuswap \
+ pkgdata genbrk gencfu gencnval gendict genrb gensprep icuinfo makeconv memcheck; do
for file in `ls tools/$tool/*.h`; do
echo $file
echo '#include "'$file'"' > ht_temp.cpp ;
echo 'void noop() {}' >> ht_temp.cpp ;
- $CXX -c -I common -I i18n -I io -I tools/toolutil -I tools/$tool -O0 ht_temp.cpp ;
+ $CXX -c -std=c++11 -I common -I i18n -I io -I tools/toolutil -I tools/$tool -O0 ht_temp.cpp ;
done ;
done ;
echo $file
echo '#include "'$file'"' > ht_temp.cpp ;
echo 'void noop() {}' >> ht_temp.cpp ;
- $CXX -c -I common -I i18n -I io -I tools/toolutil -I tools/ctestfw -O0 ht_temp.cpp ;
+ $CXX -c -std=c++11 -I common -I i18n -I io -I tools/toolutil -I tools/ctestfw -O0 ht_temp.cpp ;
done ;
# C not C++ for cintltst
-for file in `ls tools/cintltst/*.h`; do
+for file in `ls test/cintltst/*.h`; do
echo $file
- echo '#include "'$file'"' > ht_temp.cpp ;
- echo 'void noop() {}' >> ht_temp.cpp ;
- $CC -c -I common -I i18n -I io -I tools/toolutil -I tools/ctestfw -I test/cintltst -O0 ht_temp.cpp ;
+ echo '#include "'$file'"' > ht_temp.c ;
+ echo 'void noop() {}' >> ht_temp.c ;
+ $CC -c -std=c11 -I common -I i18n -I io -I tools/toolutil -I tools/ctestfw -I test/cintltst -O0 ht_temp.c ;
done ;
-for test in intltest iotest testmap thaitest; do
+for test in intltest iotest testmap thaitest fuzzer; do
for file in `ls test/$test/*.h`; do
echo $file
echo '#include "'$file'"' > ht_temp.cpp ;
echo 'void noop() {}' >> ht_temp.cpp ;
- $CXX -c -I common -I i18n -I io -I tools/toolutil -I tools/ctestfw -I test/$test -O0 ht_temp.cpp ;
+ $CXX -c -std=c++11 -I common -I i18n -I io -I tools/toolutil -I tools/ctestfw -I test/$test -O0 ht_temp.cpp ;
done ;
done ;
-for file in `ls test/letest/*.h`; do
- echo $file
- echo '#include "'$file'"' > ht_temp.cpp ;
- echo 'void noop() {}' >> ht_temp.cpp ;
- $CXX -c -I common -I i18n -I io -I layout -I . -I layoutex -I tools/toolutil -I tools/ctestfw -I test/letest -O0 ht_temp.cpp ;
-done ;
+# layoutex now depends on external additions such as HarfBuzz, skip here
+
+#for file in `ls test/letest/*.h`; do
+# echo $file
+# echo '#include "'$file'"' > ht_temp.cpp ;
+# echo 'void noop() {}' >> ht_temp.cpp ;
+# $CXX -c -I common -I i18n -I io -I layout -I . -I layoutex -I tools/toolutil -I tools/ctestfw -I test/letest -O0 ht_temp.cpp ;
+#done ;
# TODO: perf/*/*.h
-rm ht_temp.cpp ht_temp.o
+rm ht_temp.cpp ht_temp.c ht_temp.o