diff options
author | Chad Elliott <elliottc@objectcomputing.com> | 2022-11-21 11:11:26 -0600 |
---|---|---|
committer | Chad Elliott <elliottc@objectcomputing.com> | 2022-11-21 11:11:26 -0600 |
commit | a486539283aa4001feb244c763f20fcd3631a396 (patch) | |
tree | e1a690f41a7ae6a6365eb699177c40a57100793d /templates/cmake.mpd | |
parent | 841f148543c35674b10b3143abc563f0223b0d6f (diff) | |
download | MPC-a486539283aa4001feb244c763f20fcd3631a396.tar.gz |
Added headers, inline files, and template files as variables to allow manual addition of install() calls.
Diffstat (limited to 'templates/cmake.mpd')
-rw-r--r-- | templates/cmake.mpd | 12 |
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)%> |