ya.make 471 B

12345678910111213141516171819202122232425262728
  1. UNITTEST()
  2. PEERDIR(
  3. ADDINCL tools/enum_parser/parse_enum
  4. library/cpp/resource
  5. )
  6. SRCDIR(tools/enum_parser/parse_enum)
  7. RESOURCE(
  8. enums.h /enums
  9. badcode.h /badcode
  10. unbalanced.h /unbalanced
  11. alias_before_name.h /alias_before_name
  12. )
  13. # self-test
  14. GENERATE_ENUM_SERIALIZATION(enums.h)
  15. # test GENERATE_ENUM_SERIALIZATION_WITH_HEADER macro
  16. GENERATE_ENUM_SERIALIZATION_WITH_HEADER(enums_with_header.h)
  17. SRCS(
  18. parse_enum_ut.cpp
  19. enums.cpp
  20. )
  21. END()