summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Elliott <elliottc@objectcomputing.com>2022-11-21 11:11:26 -0600
committerChad Elliott <elliottc@objectcomputing.com>2022-11-21 11:11:26 -0600
commita486539283aa4001feb244c763f20fcd3631a396 (patch)
treee1a690f41a7ae6a6365eb699177c40a57100793d
parent841f148543c35674b10b3143abc563f0223b0d6f (diff)
downloadMPC-a486539283aa4001feb244c763f20fcd3631a396.tar.gz
Added headers, inline files, and template files as variables to allow manual addition of install() calls.
-rw-r--r--templates/cmake.mpd12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/cmake.mpd b/templates/cmake.mpd
index 9d929dd4..deee3745 100644
--- a/templates/cmake.mpd
+++ b/templates/cmake.mpd
@@ -11,6 +11,18 @@ option(BUILD_SHARED_LIBS "Build using shared libraries" <%if(need_staticflags)%>
find_package(<%package%> REQUIRED)
<%endfor%>
+<%if(header_files)%>
+set(HEADER_FILES_<%uc(normalize(project_name))%> <%header_files%>)
+
+<%endif%>
+<%if(inline_files)%>
+set(INLINE_FILES_<%uc(normalize(project_name))%> <%inline_files%>)
+
+<%endif%>
+<%if(template_files)%>
+set(TEMPLATE_FILES_<%uc(normalize(project_name))%> <%template_files%>)
+
+<%endif%>
set(SOURCE_FILES_<%uc(normalize(project_name))%> <%source_files%>)
<%if(libs || lit_libs || pure_libs)%>
<%foreach(libs)%>