1 2 3 4 5 6 7 8 9
FILE(GLOB parser_HEADERS *.h) set(parser_SOURCES context-decls.cpp context-defs.cpp lexer.cpp wat-parser.cpp ${parser_HEADERS} ) add_library(parser OBJECT ${parser_SOURCES})