diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-10-04 12:18:35 +0200 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-10-04 12:18:35 +0200 |
| commit | 4f2c980343b321e7fccf48190c32bfb4bca426f4 (patch) | |
| tree | e08d299dc9da1976c8924207f9cbfbc8bd06709a /libcmix-bignum/gmp/CMakeLists.txt | |
| parent | ad3d46b0b6ca285bbaf1540e9805714addfeb9af (diff) | |
| download | cmix-4f2c980343b321e7fccf48190c32bfb4bca426f4.tar.gz cmix-4f2c980343b321e7fccf48190c32bfb4bca426f4.tar.bz2 cmix-4f2c980343b321e7fccf48190c32bfb4bca426f4.zip | |
Added a bignum library to abstract possible implementations.
Diffstat (limited to 'libcmix-bignum/gmp/CMakeLists.txt')
| -rw-r--r-- | libcmix-bignum/gmp/CMakeLists.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libcmix-bignum/gmp/CMakeLists.txt b/libcmix-bignum/gmp/CMakeLists.txt new file mode 100644 index 0000000..44b99ad --- /dev/null +++ b/libcmix-bignum/gmp/CMakeLists.txt @@ -0,0 +1,18 @@ +include(get_target_name) + +get_target_name(target_name) + +find_package(gmp REQUIRED) + +add_library(${target_name} SHARED + gmp_bignum.c +) + +target_compile_options(${target_name} + PRIVATE -std=c99 +) + +target_link_libraries(${target_name} + PRIVATE cmix-bignum-interface + PRIVATE gmp +) |
