summaryrefslogtreecommitdiffstats
path: root/src/crypto/ec/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/ec/CMakeLists.txt')
-rw-r--r--src/crypto/ec/CMakeLists.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/crypto/ec/CMakeLists.txt b/src/crypto/ec/CMakeLists.txt
new file mode 100644
index 0000000..11266c6
--- /dev/null
+++ b/src/crypto/ec/CMakeLists.txt
@@ -0,0 +1,31 @@
+include_directories(. .. ../../include)
+
+add_library(
+ ec
+
+ OBJECT
+
+ ec.c
+ oct.c
+ simple.c
+ ec_montgomery.c
+ wnaf.c
+ ec_key.c
+ ec_asn1.c
+ ec_error.c
+)
+
+add_executable(
+ example_mul
+
+ example_mul.c
+)
+
+add_executable(
+ ec_test
+
+ ec_test.c
+)
+
+target_link_libraries(example_mul crypto)
+target_link_libraries(ec_test crypto)