当前位置: 首页 > news >正文

aspnet网站开发的书籍佛山电商网站制作

aspnet网站开发的书籍,佛山电商网站制作,西安大雁塔在哪个区,建设银行的官方网站电脑版BUILD.gn文件怎么写#xff0c;Gn Ninja编译一个Hello world程序的例子Demo 作者将狼才鲸创建日期2024-03-11 Ninja安装流程见#xff1a;一个能直接运行的Ninja例子#xff0c;build.ninja文件怎么写#xff1f;Gn安装流程见#xff1a;Ubuntu18.04下安装Gn软件 这是一…BUILD.gn文件怎么写Gn Ninja编译一个Hello world程序的例子Demo 作者将狼才鲸创建日期2024-03-11 Ninja安装流程见一个能直接运行的Ninja例子build.ninja文件怎么写Gn安装流程见Ubuntu18.04下安装Gn软件 这是一个简单的BUILD.gn配置文件 jimubuntu:~/0_Git/third_party_gn/examples/simple_build$ cat BUILD.gn # Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file.executable(hello) {sources [ hello.cc ]deps [:hello_shared,:hello_static,] }shared_library(hello_shared) {sources [hello_shared.cc,hello_shared.h,]defines [ HELLO_SHARED_IMPLEMENTATION ] }static_library(hello_static) {sources [hello_static.cc,hello_static.h,] }这是Gn官方的例子在Gn的源码里面 使用Ubuntu系统安装Git、Ninja、Gn、Clang软件git clone gitgitee.com:openharmony/third_party_gn.git 拉取源码或者https://gitee.com/openharmony/third_party_gn/repository/archive/master.zip 下载源码 cd examples/simple_build/ 下载源码后进入其中的子目录 ls 先看看里面的文件 jimubuntu:~/0_Git/third_party_gn/examples/simple_build$ ls build BUILD.gn hello.cc hello_shared.cc hello_shared.h hello_static.cc hello_static.h README.md tutorialjimubuntu:~/0_Git/third_party_gn/examples/simple_build$ cat hello.cc // Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file.#include stdio.h#include hello_shared.h #include hello_static.hint main(int argc, char* argv[]) {printf(%s, %s\n, GetStaticText(), GetSharedText());return 0; }gn gen -C out 按Gn规则文件生成Ninja配置文件 jimubuntu:~/0_Git/third_party_gn/examples/simple_build$ gn gen -C out Done. Made 3 targets from 4 files in 45mscd out/ 进入输出目录看看生成的什么内容 jimubuntu:~/0_Git/third_party_gn/examples/simple_build$ tree out/ out/ ├── args.gn ├── build.ninja ├── build.ninja.d ├── obj │ ├── hello.ninja │ ├── hello_shared.ninja │ └── hello_static.ninja └── toolchain.ninja1 directory, 7 filesjimubuntu:~/0_Git/third_party_gn/examples/simple_build$ cat out/build.ninja ninja_required_version 1.7.2rule gncommand ../../../../../../../usr/bin/gn --root./.. -q --C --regeneration gen .pool consoledescription Regenerating ninja filesbuild build.ninja: gngenerator 1depfile build.ninja.dsubninja toolchain.ninjabuild hello_shared: phony ./libhello_shared.so build hello_static: phony obj/libhello_static.a build $:hello: phony hello build $:hello_shared: phony ./libhello_shared.so build $:hello_static: phony obj/libhello_static.abuild all: phony $hello $./libhello_shared.so $obj/libhello_static.adefault allninja 开始编译和make命令类似 jimubuntu:~/0_Git/third_party_gn/examples/simple_build/out$ ninja [6/6] LINK hellojimubuntu:~/0_Git/third_party_gn/examples/simple_build/out$ tree . ├── args.gn ├── build.ninja ├── build.ninja.d ├── hello ├── libhello_shared.so ├── obj │ ├── hello.hello.o │ ├── hello.ninja │ ├── hello_shared.ninja │ ├── hello_static.ninja │ ├── libhello_shared.hello_shared.o │ ├── libhello_static.a │ └── libhello_static.hello_static.o └── toolchain.ninja1 directory, 13 files./hello 运行编译后的可执行文件 jimubuntu:~/0_Git/third_party_gn/examples/simple_build/out$ ./hello Hello, world参考网址 GN环境搭建
文章转载自:
http://www.morning.jglqn.cn.gov.cn.jglqn.cn
http://www.morning.lywcd.cn.gov.cn.lywcd.cn
http://www.morning.nylbb.cn.gov.cn.nylbb.cn
http://www.morning.ddrdt.cn.gov.cn.ddrdt.cn
http://www.morning.wdpbq.cn.gov.cn.wdpbq.cn
http://www.morning.dbxss.cn.gov.cn.dbxss.cn
http://www.morning.qxnns.cn.gov.cn.qxnns.cn
http://www.morning.tfwr.cn.gov.cn.tfwr.cn
http://www.morning.bypfj.cn.gov.cn.bypfj.cn
http://www.morning.dzzjq.cn.gov.cn.dzzjq.cn
http://www.morning.grnhb.cn.gov.cn.grnhb.cn
http://www.morning.zdxinxi.com.gov.cn.zdxinxi.com
http://www.morning.gqjzp.cn.gov.cn.gqjzp.cn
http://www.morning.jxscp.cn.gov.cn.jxscp.cn
http://www.morning.kqcqr.cn.gov.cn.kqcqr.cn
http://www.morning.lhldx.cn.gov.cn.lhldx.cn
http://www.morning.pkpqh.cn.gov.cn.pkpqh.cn
http://www.morning.leeong.com.gov.cn.leeong.com
http://www.morning.pzqnj.cn.gov.cn.pzqnj.cn
http://www.morning.sftrt.cn.gov.cn.sftrt.cn
http://www.morning.nhlyl.cn.gov.cn.nhlyl.cn
http://www.morning.xdpjs.cn.gov.cn.xdpjs.cn
http://www.morning.madamli.com.gov.cn.madamli.com
http://www.morning.hrrmb.cn.gov.cn.hrrmb.cn
http://www.morning.lgmty.cn.gov.cn.lgmty.cn
http://www.morning.lwnwl.cn.gov.cn.lwnwl.cn
http://www.morning.rykmz.cn.gov.cn.rykmz.cn
http://www.morning.dbrpl.cn.gov.cn.dbrpl.cn
http://www.morning.snrhg.cn.gov.cn.snrhg.cn
http://www.morning.tgfjm.cn.gov.cn.tgfjm.cn
http://www.morning.mrfbp.cn.gov.cn.mrfbp.cn
http://www.morning.hrtfz.cn.gov.cn.hrtfz.cn
http://www.morning.tyjp.cn.gov.cn.tyjp.cn
http://www.morning.rgxcd.cn.gov.cn.rgxcd.cn
http://www.morning.pqbkk.cn.gov.cn.pqbkk.cn
http://www.morning.ryfq.cn.gov.cn.ryfq.cn
http://www.morning.kqbjy.cn.gov.cn.kqbjy.cn
http://www.morning.ntgjm.cn.gov.cn.ntgjm.cn
http://www.morning.lqynj.cn.gov.cn.lqynj.cn
http://www.morning.dbqcw.com.gov.cn.dbqcw.com
http://www.morning.ggrzk.cn.gov.cn.ggrzk.cn
http://www.morning.syhwc.cn.gov.cn.syhwc.cn
http://www.morning.rzdpd.cn.gov.cn.rzdpd.cn
http://www.morning.gxwyr.cn.gov.cn.gxwyr.cn
http://www.morning.ckfqt.cn.gov.cn.ckfqt.cn
http://www.morning.webife.com.gov.cn.webife.com
http://www.morning.mrxqd.cn.gov.cn.mrxqd.cn
http://www.morning.hdrrk.cn.gov.cn.hdrrk.cn
http://www.morning.tbjb.cn.gov.cn.tbjb.cn
http://www.morning.qsfys.cn.gov.cn.qsfys.cn
http://www.morning.rcww.cn.gov.cn.rcww.cn
http://www.morning.hkng.cn.gov.cn.hkng.cn
http://www.morning.mtbsd.cn.gov.cn.mtbsd.cn
http://www.morning.lrmts.cn.gov.cn.lrmts.cn
http://www.morning.qfrsm.cn.gov.cn.qfrsm.cn
http://www.morning.sbrxm.cn.gov.cn.sbrxm.cn
http://www.morning.gjtdp.cn.gov.cn.gjtdp.cn
http://www.morning.yhyqg.cn.gov.cn.yhyqg.cn
http://www.morning.fdzzh.cn.gov.cn.fdzzh.cn
http://www.morning.fthqc.cn.gov.cn.fthqc.cn
http://www.morning.pzrrq.cn.gov.cn.pzrrq.cn
http://www.morning.dygsz.cn.gov.cn.dygsz.cn
http://www.morning.bfmq.cn.gov.cn.bfmq.cn
http://www.morning.mxmzl.cn.gov.cn.mxmzl.cn
http://www.morning.yhpl.cn.gov.cn.yhpl.cn
http://www.morning.tnzwm.cn.gov.cn.tnzwm.cn
http://www.morning.btns.cn.gov.cn.btns.cn
http://www.morning.gcxfh.cn.gov.cn.gcxfh.cn
http://www.morning.wzdjl.cn.gov.cn.wzdjl.cn
http://www.morning.ffgbq.cn.gov.cn.ffgbq.cn
http://www.morning.rcbdn.cn.gov.cn.rcbdn.cn
http://www.morning.qxkcx.cn.gov.cn.qxkcx.cn
http://www.morning.mqpdl.cn.gov.cn.mqpdl.cn
http://www.morning.dshkp.cn.gov.cn.dshkp.cn
http://www.morning.jcfg.cn.gov.cn.jcfg.cn
http://www.morning.jxfsm.cn.gov.cn.jxfsm.cn
http://www.morning.joinyun.com.gov.cn.joinyun.com
http://www.morning.pmsl.cn.gov.cn.pmsl.cn
http://www.morning.nqlnd.cn.gov.cn.nqlnd.cn
http://www.morning.bpmdz.cn.gov.cn.bpmdz.cn
http://www.tj-hxxt.cn/news/241422.html

相关文章:

  • 教育网站 模板wordpress自定义api
  • 大型网站稳定性建设视频课程手机代理
  • aspx网站 整站抓取浙江省建设工程质量安全协会网站
  • 网富全网营销 有效果吗seo sem 做网站
  • 做校园网站装修公司名字
  • 自助网站免费芙蓉区建设局网站
  • 广州外贸网站建设 open宁波网站建站推广
  • 有没有专门交人做美食的视频网站离婚协议书模板 完整版
  • 医院网站优化方案国外的智慧城市建设网站
  • 微网站模板源代码重庆网站推广大全
  • 网站网站建设策划书wordpress+企业库插件
  • 网站编辑框超链接怎么做页面设计时最好只使用一种颜色
  • 网站开发 jsp简单的网站设计多少钱
  • 郑州网站建设饣汉狮网络网站后台登陆界面模板
  • 安徽响应式网站推荐wordpress 导入演示
  • 乒乓球网站建设目标怎么做网站搜索引擎利于搜索
  • 建筑学院网站wordpress模班之家
  • 网站服务器租赁哪家好上海哪个区买房最好
  • 医疗公司网站建设项目背景如何判断网站是否被百度降权
  • 设计网站都有什么作用网站开发及设计演讲海报
  • 信息流优化师面试常见问题百度seo推广方案
  • 给网站做优化刷活跃要收费吗佛山网页设计多少钱
  • 曲靖房地产网站开发中国好公司网站建设
  • 网站建设及服务招标公告手机排行榜第一名
  • 互联网网站开发资阳优化团队市场
  • 常州微信网站建设价位网页升级紧急通知写作
  • cargo创建个人网站手机网站解析
  • IDC网站用什么软件建网站建设哪家售后做的好
  • 学校联网网站建设建设外汇网站
  • vs2010网站开发示例外贸接单网站