Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Command line --preprocess misses data/core/units.cfg (LESS_NIMBLE_ELF, etc) #4152
The logic in wesnoth.cpp's handle_preprocess_command assumes that all of the core WML #defines will be in data/core/macros or data/core/terrain-graphics. The assumption isn't quite true, which means it fails to process add-ons that use
Of the files that aren't included, only data/core/units.cfg looks likely to be necessary.
I wonder if that is why I had to collect core macros in separate step https://github.com/ProditorMagnus/WML_tree_tools/blob/master/py_files/preprocess_addon.py#L45