summaryrefslogtreecommitdiffstats
path: root/cmakemodules/generatelibtoolfile.cmake
blob: d74ed21b6d3542efd0dab9d0c39d31388b332f1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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")