CMake rules for reversing TWVariants.txt and configuration for TW2S