1 Star 0 Fork 1

oahcfly / tinyobjloader

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.ninja 1.30 KB
一键复制 编辑 原始数据 按行查看 历史
Syoyo Fujita 提交于 2016-04-24 00:34 . Add new build.ninja.
ninja_required_version = 1.4
gnubuilddir = build
gnudefines =
gnuincludes = -I.
gnucflags = -O2 -g
gnucxxflags = -O2 -g -pedantic -Wall -Wextra -Wcast-align -Wcast-qual $
-Wctor-dtor-privacy -Wdisabled-optimization -Wformat=2 -Winit-self $
-Wmissing-declarations -Wmissing-include-dirs -Wold-style-cast $
-Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-conversion $
-Wsign-promo -Wstrict-overflow=5 -Wswitch-default -Wundef -Werror $
-Wno-unused -fsanitize=address
gnuldflags = -fsanitize=address
pool link_pool
depth = 1
rule gnucxx
command = $gnucxx -MMD -MF $out.d $gnudefines $gnuincludes $gnucxxflags $
-c $in -o $out
description = CXX $out
depfile = $out.d
deps = gcc
rule gnucc
command = $gnucc -MMD -MF $out.d $gnudefines $gnuincludes $gnucflags -c $
$in -o $out
description = CC $out
depfile = $out.d
deps = gcc
rule gnulink
command = $gnuld -o $out $in $libs $gnuldflags
description = LINK $out
pool = link_pool
rule gnuar
command = $gnuar rsc $out $in
description = AR $out
pool = link_pool
rule gnustamp
command = touch $out
description = STAMP $out
gnucxx = g++
gnucc = gcc
gnuld = $gnucxx
gnuar = ar
build loader_example.o: gnucxx loader_example.cc
build loader_example: gnulink loader_example.o
build all: phony loader_example
default all
C++
1
https://gitee.com/oahcfly/tinyobjloader.git
git@gitee.com:oahcfly/tinyobjloader.git
oahcfly
tinyobjloader
tinyobjloader
afl

搜索帮助