Comparison Analysis of Build Tools: XMake and CMake
Syntax Comparison Empty Project XMake target("test") set_kind("binary") add_files("src/main.c") CMake add_executable(test "") target_sources(test PRIVATE src/main.c) Adding Source Files XMake XMake supports wildcard matching to add a batch of source files. *.c matches all files in the current directory, while **.c matches all files in recursive directories. This method saves time as there’s no need to modify … Read more