global_vars.cmake 714 B

1234567891011121314151617181920
  1. # This file was gererated by the build system used internally in the Yandex monorepo.
  2. # Only simple modifications are allowed (adding source-files to targets, adding simple properties
  3. # like target_include_directories). These modifications will be ported to original
  4. # ya.make files by maintainers. Any complex modifications which can't be ported back to the
  5. # original buildsystem will not be accepted.
  6. if(UNIX)
  7. set(YASM_FLAGS -f elf64 -D UNIX -D _x86_64_ -D_YASM_ -g dwarf2)
  8. set(BISON_FLAGS -v)
  9. set(RAGEL_FLAGS -L -I ${CMAKE_SOURCE_DIR}/)
  10. endif()
  11. if(APPLE)
  12. set(YASM_FLAGS -f macho64 -D DARWIN -D UNIX -D _x86_64_ -D_YASM_)
  13. set(BISON_FLAGS -v)
  14. set(RAGEL_FLAGS -L -I ${CMAKE_SOURCE_DIR}/)
  15. endif()