diff options
author | IronClawTrem <louie.nutman@gmail.com> | 2020-02-16 03:40:06 +0000 |
---|---|---|
committer | IronClawTrem <louie.nutman@gmail.com> | 2020-02-16 03:40:06 +0000 |
commit | 425decdf7e9284d15aa726e3ae96b9942fb0e3ea (patch) | |
tree | 6c0dd7edfefff1be7b9e75fe0b3a0a85fe1595f3 /external/nettle-3.3/CMakeLists.txt | |
parent | ccb0b2e4d6674a7a00c9bf491f08fc73b6898c54 (diff) |
create tremded branch
Diffstat (limited to 'external/nettle-3.3/CMakeLists.txt')
-rw-r--r-- | external/nettle-3.3/CMakeLists.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/external/nettle-3.3/CMakeLists.txt b/external/nettle-3.3/CMakeLists.txt new file mode 100644 index 0000000..72c7f86 --- /dev/null +++ b/external/nettle-3.3/CMakeLists.txt @@ -0,0 +1,38 @@ +add_library ( nettle STATIC + nettle/bignum.c + nettle/bignum-random.c + nettle/bignum-random-prime.c + nettle/buffer.c + nettle/buffer-init.c + nettle/gmp-glue.c + nettle/mini-gmp.c + nettle/pkcs1.c + nettle/pkcs1-rsa-sha256.c + nettle/realloc.c + nettle/rsa.c + nettle/rsa2sexp.c + nettle/rsa-keygen.c + nettle/rsa-sha256-sign.c + nettle/rsa-sha256-verify.c + nettle/rsa-sign.c + nettle/rsa-verify.c + nettle/sexp.c + nettle/sexp-format.c + nettle/sexp2bignum.c + nettle/sexp2rsa.c + nettle/sha256-compress.c + nettle/sha256.c + nettle/write-be32.c + ) + +add_definitions ( + -DNDEBUG + -mfpmath=sse + -ffast-math + ) +include_directories ( + include + ) + +# command: /usr/bin/clang -Wall -Wextra -DLUA_COMPAT_5_2 -fPIC -fpic -o build/release-darwin-x86_64/nettle/bignum.o -c src/nettle-3.3/nettle/bignum.c + |