1 Star 1 Fork 0

超哥 / maui1

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 1.88 KB
一键复制 编辑 原始数据 按行查看 历史
Samantha Houts 提交于 2020-05-18 17:56 . Process file changes
UNAME_S:=$(shell sh -c 'uname -s 2>/dev/null || echo not')
ifeq ($(UNAME_S),Darwin)
MONOHOME=/Library/Frameworks/Mono.framework/Libraries/mono
endif
ifeq ($(UNAME_S),Linux)
MONOHOME=/usr/lib/mono
endif
DOTNETPCL=$(MONOHOME)/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/
CORE=System.Maui.Core
COREASSEMBLY=$(CORE)/bin/Release/netstandard2.0/$(CORE).dll
XAML=System.Maui.Xaml
XAMLASSEMBLY=$(XAML)/bin/Release/netstandard2.0/$(XAML).dll
MAPS=System.Maui.Maps
MAPSASSEMBLY=$(MAPS)/bin/Release/netstandard2.0/$(MAPS).dll
PAGES=System.Maui.Pages
PAGESASSEMBLY=$(PAGES)/bin/Release/netstandard2.0/$(PAGES).dll
MDOC=mdoc
docs: $(CORE).docs $(MAPS).docs $(XAML).docs $(PAGES).docs
$(CORE).docs: $(COREASSEMBLY)
$(MDOC) update --delete -o docs/$(CORE) $(COREASSEMBLY) -L $(DOTNETPCL)
$(XAML).docs: $(XAMLASSEMBLY)
$(MDOC) update --delete -o docs/$(XAML) $(XAMLASSEMBLY) -L $(DOTNETPCL)
$(MAPS).docs: $(MAPSASSEMBLY)
$(MDOC) update --delete -o docs/$(MAPS) $(MAPSASSEMBLY) -L $(DOTNETPCL)
$(PAGES).docs: $(PAGESASSEMBLY)
$(MDOC) update --delete -o docs/$(PAGES) $(PAGESASSEMBLY) -L $(DOTNETPCL)
$(COREASSEMBLY): .FORCE
msbuild /property:Configuration=Release System.Maui.Core/System.Maui.Core.csproj
$(XAMLASSEMBLY): .FORCE
msbuild /property:Configuration=Release System.Maui.Xaml/System.Maui.Xaml.csproj
$(MAPSASSEMBLY): .FORCE
msbuild /property:Configuration=Release System.Maui.Maps/System.Maui.Maps.csproj
$(PAGESASSEMBLY): .FORCE
msbuild /property:Configuration=Release System.Maui.Pages/System.Maui.Pages.csproj
htmldocs: docs
$(MDOC) export-html -o htmldocs docs/*
xmldocs: docs
$(MDOC) export-msxdoc -o docs/$(CORE).xml docs/$(CORE)
$(MDOC) export-msxdoc -o docs/$(XAML).xml docs/$(XAML)
$(MDOC) export-msxdoc -o docs/$(MAPS).xml docs/$(MAPS)
$(MDOC) export-msxdoc -o docs/$(PAGES).xml docs/$(PAGES)
.FORCE:
.PHONY: .FORCE $(CORE).docs $(MAPS).docs $(XAML).docs $(PAGES).docs htmldocs xmldocs
1
https://gitee.com/yhc2020/maui1.git
git@gitee.com:yhc2020/maui1.git
yhc2020
maui1
maui1
build

搜索帮助