<2024年3月>
252627282912
3456789
10111213141516
17181920212223
24252627282930
31123456

统计

  • 随笔 - 3
  • 文章 - 0
  • 评论 - 0
  • 引用 - 0

常用链接

留言簿

随笔档案

搜索

  •  

最新评论

阅读排行榜

评论排行榜

gyp
首先,我们要先安装gyp

git clone https://chromium.googlesource.com/external/gyp.git
cd gyp
sudo python setup.py install
这个是make file
gyp mylib.gyp --depth=. -f make --generator-output=./build/makefiles
make -C ./build/makefiles/
这个是scons
gyp mylib.gyp --depth=. -f scons --generator-output=./build/sconsfiles
scons -C ./build/sconsfiles/
这个是xcode
gyp mylib.gyp --depth=. -f xcode --generator-output=./build/xcodefiles
xcodebuild -project ./build/xcodefiles/mylib.xcodeproj
这个是ninja
gyp mylib.gyp --depth=. -f ninja
ninja -v -C out/Release/ -f build.ninja
这个是vs
python gyp/gyp mylib.gyp --depth=. -f msvs -G msvs_version=2010
msbuild mylib.sln

gyp脚本编写,接下来再写。








posted on 2014-08-14 10:21 耳东晨 阅读(957) 评论(0)  编辑 收藏 引用


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理