How to compile linear assemble?

So how to solve this problem? Is it

Create a new language named such as AP:

set(CMAKE_AP_SOURCE_FILE_EXTENSIONS sa)
set(__COMPILER_TI_SOURCE_FLAG_AP "--ap_file")