repo: 最终确定通用 Linux 平台不同构建方案

This commit is contained in:
zinface 2023-02-17 02:25:32 +08:00
parent 359365c49b
commit 4187a875c4
3 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@ include linux-universal.mk
CPUS=$(shell nproc)
# builddir := build
builddir := build/linux-appimage
# sourcedir := .
# CMAKE_DEBUG := -DCMAKE_BUILD_TYPE=Debug
# CMAKE_RELEASE := -DCMAKE_BUILD_TYPE=Release
@ -19,7 +19,7 @@ CMAKE_OPTIONS := -DUSE_LINUX_APPIMAGE=ON $(CMAKE_OPTIONS)
# 来自于 https://gitlink.org.cn/zinface/bundle-linuxdeployqt.git 托管存储的工具
# 或指定你所想存放克隆项目的位置
BUNDLE_LINUXDEPLOYQT := $(shell pwd)/build/bundle-linuxdeployqt
BUNDLE_LINUXDEPLOYQT := $(shell pwd)/$(builddir)/bundle-linuxdeployqt
download-bundle-linuxdeploytools:
-git clone https://gitlink.org.cn/zinface/bundle-linuxdeployqt.git $(BUNDLE_LINUXDEPLOYQT)

View File

@ -4,7 +4,7 @@ include linux-universal.mk
CPUS=$(shell nproc)
# builddir := build
builddir := build/linux-debian
# sourcedir := .
# CMAKE_DEBUG := -DCMAKE_BUILD_TYPE=Debug
# CMAKE_RELEASE := -DCMAKE_BUILD_TYPE=Release

View File

@ -1,8 +1,8 @@
# Linux Universla - 通用 Linux 平台 构建方案
# Linux Universal - 通用 Linux 平台 构建方案
CPUS=$(shell nproc)
builddir := build
builddir := build/linux-universal
sourcedir := .
CMAKE_DEBUG := -DCMAKE_BUILD_TYPE=Debug
CMAKE_RELEASE := -DCMAKE_BUILD_TYPE=Release
@ -11,7 +11,7 @@ CMAKE_OPTIONS := -DUSE_LINUX_UNIVERSAL=ON
linux-universal:
cmake -B$(builddir) $(CMAKE_OPTIONS) $(CMAKE_DEBUG)
cmake --build build -- -j$(CPUS)
cmake --build $(builddir) -- -j$(CPUS)
linux-universal-release: