Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to fix security and stability problems in xmake v2.1.3

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article shows you how to fix security and stability problems in xmake v2.1.3, which is concise and easy to understand, which will definitely brighten your eyes. I hope you can gain something through the detailed introduction of this article.

Overview

This update mainly fixes some stability problems of xmake, and provides more secure permission handling for installation and uninstallation. For more details, please see: improve permission issues and improve operation security.

And this version also optimizes the user's experience, such as:

Reduce redundant detection and prompt information and improve detection efficiency

Provide more friendly tips when generating xmake.lua automatically in non-xmake projects to avoid misoperation.

Xmake operations can also be performed normally in any project subdirectory, similar to git

Provide more secure and friendly installation and uninstall prompts

For more update information, please refer to the following update details:

New features

# 65: add a set_default interface to target to modify the default build all targets behavior

Allow the xmake command to be executed in the project subdirectory to build, and xmake will automatically detect the project root directory

Add add_rpathdirs api to target and option to support automatic loading and running of dynamic libraries

Improve

# 61: provide more secure xmake install and xmake uninstall tasks and handle root installation issues more amicably

Rpm, deb and osxpkg installation packages are available

# 63: improve the installation script to build and install xmake more securely

# 61: forbid running xmake commands under root permissions to enhance security

Improve the tool chain detection, improve the overall detection efficiency through delay detection

When automatically scanning the face to generate xmake.lua, add more friendly user prompts to avoid user inaction

Bugs repair

Fix error messages detected by version

# 60: fixed xmake bootstrap compilation for macosx and windows platforms

# 64: fix the failure to build android armv8-an architecture

# 50: fixed the problem of building android executable program that could not be run

Brief introduction

XMake is a lightweight cross-platform automated build tool based on Lua that supports building projects on a variety of mainstream platforms

The goal of xmake is for developers to pay more attention to the development of the project itself, simplify the description and construction of the project, and provide platform independence, making it possible to write once and build anywhere.

It is somewhat similar to cmake, automake and premake, but the mechanism is different. It does not generate IDE-related engineering files by default, adopts direct compilation, and is more convenient and easy to use. The engineering description syntax using lua is more concise and intuitive, and supports building on most common platforms, as well as cross-compilation.

And xmake provides some actions to create, configure, compile, package, install, uninstall, run and so on, which makes the development and construction more convenient and procedural.

Not only that, it also provides many more advanced features, such as plug-in extensions, script macro recording, batch packaging, automatic document generation, and so on.

If you want to know more, please refer to:

Online documentation

Online source code

Project home page

Simple engineering description target ("console") set_kind ("binary") add_files ("src/*.c") build project $xmake run target $xmake run console debugger $xmake run-d console support features

Tasks

Macros

Actions

Options

Plugins

Templates

Support platform

Windows (x86, x64, amd64, x86_amd64)

Macosx (i386, x86 / 64)

Linux (i386, x86 / 64, cross-toolchains …)

Android (armv5te, armv6, armv7-a, armv8-a, arm64-v8a)

IPhoneOS (armv7, armv7s, arm64, i386, x86 / 64)

WatchOS (armv7k, i386)

Mingw (i386, x86 / 64)

Support language

C / C +

Objc/Objc++

Swift

Assembly

Golang

Rust

Dlang

Built in plug-in

Macro recording scripts and playback plug-ins

Load a custom lua script plug-in

Generate IDE project file plug-ins (makefile, vs2002-vs2017, … )

Generate doxygen document plug-in

IOS app2ipa plug-in

Build a demonstration

The above is how to fix security and stability problems in xmake v2.1.3. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report