Files
asarium 256e5028a1 Add tool for extracting XSTR calls
This uses clangs LibTooling for parsing the FSO source files to ASTs
which can then be used for extracing the strings used in XSTR calls.
This supports both standard XSTR calls and UI_XSTR definitions and
writes the resulting information in the strings.tbl format to stdout.
It also detects duplicate translation id usages with different text
values.
2019-11-03 15:17:05 +01:00

8 lines
183 B
CMake

# This is used during the build so we always need to add it
ADD_SUBDIRECTORY(embedfile)
# Now add the optional tools
if (FSO_BUILD_TOOLS)
ADD_SUBDIRECTORY(strings_tool)
endif ()