You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdesvn/cmakemodules/generatelibtoolfile.cmake

17 lines
1.2 KiB

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")