aboutsummaryrefslogtreecommitdiff
path: root/libc/test/src/__support/fixed_point/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libc/test/src/__support/fixed_point/CMakeLists.txt')
-rw-r--r--libc/test/src/__support/fixed_point/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/libc/test/src/__support/fixed_point/CMakeLists.txt b/libc/test/src/__support/fixed_point/CMakeLists.txt
new file mode 100644
index 0000000..384cc93
--- /dev/null
+++ b/libc/test/src/__support/fixed_point/CMakeLists.txt
@@ -0,0 +1,16 @@
+if(NOT LIBC_COMPILER_HAS_FIXED_POINT)
+ return()
+endif()
+
+add_custom_target(libc-fixed-point-tests)
+
+add_libc_test(
+ fx_bits_test
+ SUITE
+ libc-fixed-point-tests
+ SRCS
+ fx_bits_test.cpp
+ DEPENDS
+ libc.src.__support.fixed_point.fx_bits
+ libc.src.__support.integer_literals
+)