Lines Matching refs:hello

119 …首先进入third_party/gn/examples/simple_build文件夹,该文件描述了一个最基本的C++文件的编译配置,如下可执行程序hello依赖了动态库文件hello_share…
125 executable("hello") {
126 sources = [ "hello.cc" ]
153 //:hello
158 该命令列出了gn编译过程中的所有target列表,可以看出,包含一个可执行程序//:hello、一个动态库//:hello_shared和一个静态库//:hello_static。
163 //:hello
166 ​ gn refs列出了哪些目标依赖了目标//:hello_shared,从上面可以看出目标//:hello依赖了目标//:hello_shared,从GN配置文件也可以看出来。
218 - gn path out //:hello //:hello_shared
221 //:hello --[private]-->
227 查看两个目标之间的依赖路径。从上面我们可以看出,//:hello和//:hello_shared是私有依赖的关系,且两者是直接依赖的。
529 [3/6] g++ -MMD -MF obj/hello.hello.o.d -fPIC -pthread -c ../hello.cc -o obj/hello.hello.o
532 …[6/6] g++ -Wl,-rpath=\$ORIGIN/ -Wl,-rpath-link= -o hello -Wl,--start-group @hello.rsp -Wl,--end-g…
535 …static.hello_static.o、libhello_shared.hello_shared.o、hello.hello.o三个目标文件,并将目标文件放在obj文件夹下,最后链接成hell…
548 obj/hello.hello.o: #deps 3, deps mtime 1681441611768382257 (VALID)
549 ../hello.cc
560 obj/hello.hello.o: cxx
561 hello: link
568 :hello: phony
576 - ninja -t commands hello
579 g++ -MMD -MF obj/hello.hello.o.d -fPIC -pthread -c ../hello.cc -o obj/hello.hello.o
584 g++ -Wl,-rpath=\$ORIGIN/ -Wl,-rpath-link= -o hello -Wl,--start-group @hello.rsp -Wl,--end-group
589 - ninja -t graph obj/hello.hello.o|dot -Tpng -o rk.png
595 - ninja -t commands| grep obj/hello.hello.o
598 g++ -MMD -MF obj/hello.hello.o.d -fPIC -pthread -c ../hello.cc -o obj/hello.hello.o