llvm/libc/src/__support/fixed_point/CMakeLists.txt

add_header_library(
  fx_rep
  HDRS
    fx_rep.h
  DEPENDS
    libc.include.llvm-libc-macros.stdfix_macros
    libc.src.__support.macros.attributes
    libc.src.__support.CPP.type_traits
)

add_header_library(
  fx_bits
  HDRS
    fx_bits.h
  DEPENDS
    .fx_rep
    libc.include.llvm-libc-macros.stdfix_macros
    libc.src.__support.macros.attributes
    libc.src.__support.macros.optimization
    libc.src.__support.CPP.type_traits
    libc.src.__support.CPP.bit
    libc.src.__support.math_extras
)

add_header_library(
  sqrt
  HDRS
    sqrt.h
  DEPENDS
    .fx_rep
    libc.include.llvm-libc-macros.stdfix_macros
    libc.src.__support.macros.attributes
    libc.src.__support.macros.optimization
    libc.src.__support.CPP.bit
    libc.src.__support.CPP.limits
    libc.src.__support.CPP.type_traits
)