aboutsummaryrefslogtreecommitdiff
path: root/example_packages/c_header_only
diff options
context:
space:
mode:
authorLKedward <laurence.kedward@bristol.ac.uk>2021-03-07 11:48:49 +0000
committerLKedward <laurence.kedward@bristol.ac.uk>2021-03-07 11:48:49 +0000
commitc41c39e36cc1e10699a47d5eca6da396f0173a64 (patch)
treec315f440164070f692a5b0143d0db4bc6860b83a /example_packages/c_header_only
parent433e408c5de7cbb139cfb35e675f2bf73676467b (diff)
downloadfpm-c41c39e36cc1e10699a47d5eca6da396f0173a64.tar.gz
fpm-c41c39e36cc1e10699a47d5eca6da396f0173a64.zip
Add: example packages for include directories
Diffstat (limited to 'example_packages/c_header_only')
-rw-r--r--example_packages/c_header_only/.gitignore1
-rw-r--r--example_packages/c_header_only/fpm.toml1
-rw-r--r--example_packages/c_header_only/include/c_header.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/example_packages/c_header_only/.gitignore b/example_packages/c_header_only/.gitignore
new file mode 100644
index 0000000..a007fea
--- /dev/null
+++ b/example_packages/c_header_only/.gitignore
@@ -0,0 +1 @@
+build/*
diff --git a/example_packages/c_header_only/fpm.toml b/example_packages/c_header_only/fpm.toml
new file mode 100644
index 0000000..372fe0e
--- /dev/null
+++ b/example_packages/c_header_only/fpm.toml
@@ -0,0 +1 @@
+name = "c_header_only"
diff --git a/example_packages/c_header_only/include/c_header.h b/example_packages/c_header_only/include/c_header.h
new file mode 100644
index 0000000..ec88a4b
--- /dev/null
+++ b/example_packages/c_header_only/include/c_header.h
@@ -0,0 +1 @@
+int printf ( const char * format, ... );