summaryrefslogtreecommitdiffstats
path: root/cmakemodules/generatelibtoolfile.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmakemodules/generatelibtoolfile.cmake')
-rw-r--r--cmakemodules/generatelibtoolfile.cmake16
1 files changed, 16 insertions, 0 deletions
diff --git a/cmakemodules/generatelibtoolfile.cmake b/cmakemodules/generatelibtoolfile.cmake
new file mode 100644
index 0000000..d74ed21
--- /dev/null
+++ b/cmakemodules/generatelibtoolfile.cmake
@@ -0,0 +1,16 @@
+ FILE(WRITE ${OUTPUTFILE} "# ${OUTPUTFILE} - a libtool library file, generated by cmake \n")
+ FILE(APPEND ${OUTPUTFILE} "# The name that we can dlopen(3).\n")
+ FILE(APPEND ${OUTPUTFILE} "dlname='${SONAME}'\n")
+ FILE(APPEND ${OUTPUTFILE} "# Names of this library\n")
+ FILE(APPEND ${OUTPUTFILE} "library_names='${SONAME} ${SONAME} ${SONAME}'\n")
+ FILE(APPEND ${OUTPUTFILE} "# The name of the static archive\n")
+ FILE(APPEND ${OUTPUTFILE} "old_library=''\n")
+ FILE(APPEND ${OUTPUTFILE} "# Libraries that this one depends upon.\n")
+ FILE(APPEND ${OUTPUTFILE} "dependency_libs=''\n")
+# FILE(APPEND ${OUTPUTFILE} "dependency_libs='${${_target}_LIB_DEPENDS}'\n")
+ FILE(APPEND ${OUTPUTFILE} "# Version information.\ncurrent=0\nage=0\nrevision=0\n")
+ FILE(APPEND ${OUTPUTFILE} "# Is this an already installed library?\ninstalled=yes\n")
+ FILE(APPEND ${OUTPUTFILE} "# Should we warn about portability when linking against -modules?\nshouldnotlink=yes\n")
+ FILE(APPEND ${OUTPUTFILE} "# Files to dlopen/dlpreopen\ndlopen=''\ndlpreopen=''\n")
+ FILE(APPEND ${OUTPUTFILE} "# Directory that this library needs to be installed in:\n")
+ FILE(APPEND ${OUTPUTFILE} "libdir='${LIBDIR}'\n")