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

What are the improvements in xmake v2.1.1?

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

Xiaobian to share with you what improvements xmake v2.1.1 version, I believe most people still do not know how, so share this article for everyone's reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!

This version refactored the entire xmake to make it easier for xmake to extend multiple languages, and added support for golang, dlang, and rust to previous build languages.

And rewrite all documents, provide more detailed and complete interface manual and documentation support: new version of the document

License is also changed from LGPLv2.1 to Apache License 2.0. For more detailed improvements, please see the following detailed description:

new features

Add--links, --linkdirs and --includedirs configuration parameters

Add app2ipa plugin

Add dictionay syntax style to xmake.lua project description

Provide intelligent scan compilation mode, in the absence of any xmake.lua and other engineering description files, can also be directly compiled quickly

Add set_xmakever interface to xmake.lua project description to handle version compatibility issues more friendly

Add add_frameworks interface for objc and swift programs

Faster and easier multilingual extension support, adding support for golang, dlang and rust program building

Add optional APIs such as target_end, option_end and task_end, which are used to display the end description field and enter the root field setting to improve readability.

Add golang, dlang and rust project templates

improved

Engineering Build Plugin Support vs2017

Improved gcc/clang compiler warnings and error tips

Refactor code architecture, improve multi-language support, more convenient and flexible extension language support

Improved print interface, supporting native lua print and formatted print

If xmake.lua does not exist, automatically scans the project code file and generates xmake.lua for compilation

Modify license to use more lenient Apache License 2.0

Remove some binary utility files

Remove install.bat script, provide windows nsis installation package support

Rewrite documents with docute to provide better documentation support

Enhance os.run, os.exec, os.cp, os.mv and os.rm interfaces, support wildcard pattern matching and batch file operations

Streamline and optimize build output information, add-q|--quiet option enables silent build

Improved makefile generation plug-in, extracting compilation tools and compilation options to global variables

Bugs fix

#41: fix auto-detect x64 failure in windows

#43: Avoid creating unnecessary.xmake project cache directories

Add c++ stl search directory for android version, solve the problem of compiling c++ failure

Fix compilation failure on rhel 5.10

Fix os.iorun return data mismatch problem

The above is "xmake v2.1.1 version of what improvements" all the content of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to 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