# SPDX-License-Identifier: GPL-3.0-only

if(NOT DEFINED ${INVADER_STRING})
    set(INVADER_STRING true CACHE BOOL "Build invader-string (generates string tags)")
endif()

if(${INVADER_STRING})
    add_executable(invader-string
        src/string/string.cpp
    )
    target_link_libraries(invader-string invader)

    set(TARGETS_LIST ${TARGETS_LIST} invader-string)
    do_windows_rc(invader-string invader-string.exe "Invader string tag generation tool")
endif()
