1 Star 0 Fork 1

hyyt / FreeImage

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
gensrclist.sh 1.14 KB
一键复制 编辑 原始数据 按行查看 历史
david feng 提交于 2017-11-27 15:07 . init import
#!/bin/sh
DIRLIST=". Source Source/Metadata Source/FreeImageToolkit Source/LibJPEG Source/LibPNG Source/LibTIFF4 Source/ZLib Source/LibOpenJPEG Source/OpenEXR Source/OpenEXR/Half Source/OpenEXR/Iex Source/OpenEXR/IlmImf Source/OpenEXR/IlmThread Source/OpenEXR/Imath Source/OpenEXR/IexMath Source/LibRawLite Source/LibRawLite/dcraw Source/LibRawLite/internal Source/LibRawLite/libraw Source/LibRawLite/src Source/LibWebP Source/LibJXR Source/LibJXR/common/include Source/LibJXR/image/sys Source/LibJXR/jxrgluelib"
echo "VER_MAJOR = 3" > Makefile.srcs
echo "VER_MINOR = 17.0" >> Makefile.srcs
echo -n "SRCS = " >> Makefile.srcs
for DIR in $DIRLIST; do
VCPRJS=`echo $DIR/*.2008.vcproj`
if [ "$VCPRJS" != "$DIR/*.2008.vcproj" ]; then
egrep 'RelativePath=.*\.(c|cpp)' $DIR/*.2008.vcproj | cut -d'"' -f2 | tr '\\' '/' | awk '{print "'$DIR'/"$0}' | tr '\r\n' ' ' | tr -s ' ' >> Makefile.srcs
fi
done
echo >> Makefile.srcs
echo -n "INCLS = " >> Makefile.srcs
find . -name "*.h" -print | xargs echo >> Makefile.srcs
echo >> Makefile.srcs
echo -n "INCLUDE =" >> Makefile.srcs
for DIR in $DIRLIST; do
echo -n " -I$DIR" >> Makefile.srcs
done
echo >> Makefile.srcs
1
https://gitee.com/aldom2017/FreeImage.git
git@gitee.com:aldom2017/FreeImage.git
aldom2017
FreeImage
FreeImage
master

搜索帮助