mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-07 08:15:59 -10:00
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.
8 lines
183 B
CMake
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 ()
|