xref: /llvm-project/libc/test/src/__support/fixed_point/CMakeLists.txt (revision 5b079af169cd04b457465fd7ca31714efeefe6d9)
1if(NOT LIBC_COMPILER_HAS_FIXED_POINT)
2  return()
3endif()
4
5add_custom_target(libc-fixed-point-tests)
6
7add_libc_test(
8  fx_bits_test
9  SUITE
10    libc-fixed-point-tests
11  SRCS
12    fx_bits_test.cpp
13  DEPENDS
14    libc.src.__support.fixed_point.fx_bits
15    libc.src.__support.integer_literals
16)
17