summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2015-02-07 18:14:46 +0100
committerAndreas Schneider <asn@cryptomilk.org>2015-02-09 09:23:01 +0100
commitbff3a2705048926fd03ec669fe3c10ddaf5d081c (patch)
treeaa908f0cef1935d987b6885b098cc8328ae4f854 /include
parent236ed5c00ab215eb7382b6d908cd3fe589bffebc (diff)
downloadcmocka-bff3a2705048926fd03ec669fe3c10ddaf5d081c.tar.gz
cmocka-bff3a2705048926fd03ec669fe3c10ddaf5d081c.tar.bz2
cmocka-bff3a2705048926fd03ec669fe3c10ddaf5d081c.zip
Add cmockery legacy header.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include')
-rw-r--r--include/CMakeLists.txt12
-rw-r--r--include/cmockery/cmockery.h1
-rw-r--r--include/cmockery/pbc.h1
3 files changed, 14 insertions, 0 deletions
diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt
index 18de8da..4cca031 100644
--- a/include/CMakeLists.txt
+++ b/include/CMakeLists.txt
@@ -13,3 +13,15 @@ install(
COMPONENT
headers
)
+
+if (WITH_CMOCKERY_SUPPORT)
+ install(
+ FILES
+ cmockery/cmockery.h
+ cmockery/pbc.h
+ DESTINATION
+ ${INCLUDE_INSTALL_DIR}/cmockery
+ COMPONENT
+ headers
+ )
+endif()
diff --git a/include/cmockery/cmockery.h b/include/cmockery/cmockery.h
new file mode 100644
index 0000000..a252a5f
--- /dev/null
+++ b/include/cmockery/cmockery.h
@@ -0,0 +1 @@
+#include <cmocka.h>
diff --git a/include/cmockery/pbc.h b/include/cmockery/pbc.h
new file mode 100644
index 0000000..50bac87
--- /dev/null
+++ b/include/cmockery/pbc.h
@@ -0,0 +1 @@
+#include <cmocka_pbc.h>