ya.make 510 B

1234567891011121314151617181920212223242526272829
  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. digit_separator.h /digit_separator
  9. enums.h /enums
  10. badcode.h /badcode
  11. unbalanced.h /unbalanced
  12. alias_before_name.h /alias_before_name
  13. )
  14. # self-test
  15. GENERATE_ENUM_SERIALIZATION(enums.h)
  16. # test GENERATE_ENUM_SERIALIZATION_WITH_HEADER macro
  17. GENERATE_ENUM_SERIALIZATION_WITH_HEADER(enums_with_header.h)
  18. SRCS(
  19. parse_enum_ut.cpp
  20. enums.cpp
  21. )
  22. END()