aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-03-06 13:57:32 (GMT)
committerKaren Arutyunov <karen@codesynthesis.com>2019-03-08 14:13:52 (GMT)
commitc0a6b9751fa7a79a4879c1b7f6512d44058c236b (patch)
tree0e9a829fc403d2b9a68d20407328f9e6e3df6d37
parente4c8b0e95b50e933ce32d2851a5bade8a0fd41a1 (diff)
Use new setup for unit tests
-rw-r--r--openssl/buildfile20
1 files changed, 14 insertions, 6 deletions
diff --git a/openssl/buildfile b/openssl/buildfile
index c888dc9..a0bd505 100644
--- a/openssl/buildfile
+++ b/openssl/buildfile
@@ -4,17 +4,25 @@
import libs = libbutl%lib{butl}
-./: exe{openssl-client} exe{openssl-agent-pkcs11}
+./: exe{openssl-client}: client/cxx{client} client/libue{openssl}
-exe{openssl-client}: client/{hxx ixx txx cxx}{* -options} \
- client/{hxx ixx cxx}{options} libue{openssl}
+client/
+{
+ libue{openssl}: {hxx ixx txx cxx}{* -client -options -*.test...} \
+ {hxx ixx cxx}{options} \
+ ../libue{openssl}
+}
+
+./: exe{openssl-agent-pkcs11}: agent/pkcs11/cxx{agent} \
+ agent/pkcs11/libue{openssl}
-exe{openssl-agent-pkcs11}: agent/pkcs11/cxx{agent} agent/pkcs11/libue{openssl}
agent/pkcs11/
{
- libue{openssl}: {hxx ixx txx cxx}{* -agent -options -*.test...} \
- {hxx ixx cxx}{options} h{pkcs11} ../../libue{openssl}
+ libue{openssl}: {hxx ixx txx cxx}{* -agent -options -*.test...} \
+ {hxx ixx cxx}{options} \
+ h{pkcs11} \
+ ../../libue{openssl}
libue{openssl}: cxx.libs += -ldl
}