Before the wiki document structure is not very good, and not convenient to retrieve.
So I recently rewritten the document of xmake using docute again.
In order to better promote TBOOX open source project development, we decided to adopt a more relaxed, more developer-friendly Apache License 2.0
If you want to known more, please refer to：Apache License 2.0
We recently added a new feature for xmake:
you need not write any make-like file (xmake.lua, makefile.am, cmakelist.txt, etc.) and also build it directly.
It will scan all source files and generate xmake.lua automatically for building project.
And xmake will detect ‘main’ function in source file in order to distinguish between static libraries and executable programs.
(Currently, only projects with single-level directory are supported)
Although this approach has some limitations, but it is sufficient to complie and run some temporary codes for testing.
For example, we downloaded a zlib-1.2.10 source and want to compile it.
We only need to enter the zlib source directory and run the following command:
$ cd zlib-1.2.10 $ xmake
It’s done, the output results:
--micro=y|noption to compiling micro library (~64K) for the embed system