mirror of
https://github.com/luxfi/intx.git
synced 2026-10-30 16:22:26 +00:00
Merge two copies of `reciprocal_native()` into single inline function used by both benchmarks and unit tests.
17 lines
500 B
CMake
17 lines
500 B
CMake
# intx: extended precision integer library.
|
|
# Copyright 2019 Pawel Bylica.
|
|
# Licensed under the Apache License, Version 2.0.
|
|
|
|
add_library(experimental STATIC)
|
|
add_library(intx::experimental ALIAS experimental)
|
|
target_compile_definitions(experimental PRIVATE INTX_EXPERIMENTAL)
|
|
target_include_directories(experimental PUBLIC ${PROJECT_SOURCE_DIR}/test)
|
|
target_link_libraries(experimental PUBLIC intx::intx)
|
|
target_sources(
|
|
experimental PRIVATE
|
|
add.cpp
|
|
add.hpp
|
|
addmod.hpp
|
|
div.hpp
|
|
)
|