summaryrefslogtreecommitdiffstats
path: root/cmakemodules/generatelibtoolfile.cmake
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-15 17:32:48 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-15 17:32:48 +0000
commite2f541c98dfa4081fa3ab3d28f08ea2309281884 (patch)
treecb721a55bc88753ddeb9754dc98ef45e2850ce30 /cmakemodules/generatelibtoolfile.cmake
downloadtdesvn-e2f541c98dfa4081fa3ab3d28f08ea2309281884.tar.gz
tdesvn-e2f541c98dfa4081fa3ab3d28f08ea2309281884.zip
Added KDE3 version of kdesvn
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdesvn@1103685 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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")