summaryrefslogtreecommitdiffstats
path: root/templates/tde_export_library.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-11 01:55:37 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-12 13:28:56 +0200
commitbe1fee9567b0feae736966468c8f1b480d01890c (patch)
tree37f2067ad083efcc9dfbb1306264fa7acb30383d /templates/tde_export_library.cmake
parent5715cbbaba6c7ee53ef9e3d049a434d8af1593c0 (diff)
downloadtde-cmake-be1fee9567b0feae736966468c8f1b480d01890c.tar.gz
tde-cmake-be1fee9567b0feae736966468c8f1b480d01890c.zip
Move templates to a separate directory and rename to the tde_ prefix.
Create the TDE_CMAKE_ROOT and TDE_CMAKE_TEMPLATES variables. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 2a847be412bd1dc66e53ea4652cc42f24a412d0f)
Diffstat (limited to 'templates/tde_export_library.cmake')
-rw-r--r--templates/tde_export_library.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/tde_export_library.cmake b/templates/tde_export_library.cmake
new file mode 100644
index 0000000..4d6cb3f
--- /dev/null
+++ b/templates/tde_export_library.cmake
@@ -0,0 +1,7 @@
+add_library( @_target@ @_type@ IMPORTED )
+
+set_target_properties( @_target@ PROPERTIES
+ IMPORTED_LINK_INTERFACE_LIBRARIES "@_shared_libs@"
+ IMPORTED_LOCATION "@_location@"
+ IMPORTED_SONAME "@_soname@" )
+