Revision: 42042
http://brlcad.svn.sourceforge.net/brlcad/?rev=42042&view=rev
Author: starseeker
Date: 2011-01-09 13:56:58 +0000 (Sun, 09 Jan 2011)
Log Message:
-----------
This may not do it for Windows, but make a stab at pkgIndex logic for Tk
Modified Paths:
--------------
brlcad/branches/cmake/src/other/tk/CMakeLists.txt
Modified: brlcad/branches/cmake/src/other/tk/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/src/other/tk/CMakeLists.txt 2011-01-08 20:26:19 UTC
(rev 42041)
+++ brlcad/branches/cmake/src/other/tk/CMakeLists.txt 2011-01-09 13:56:58 UTC
(rev 42042)
@@ -575,6 +575,12 @@
install(TARGETS tk DESTINATION lib)
SET_TARGET_PROPERTIES(tk PROPERTIES VERSION ${TK_VERSION} SOVERSION
${TK_MAJOR_VERSION}.${TK_MINOR_VERSION})
+FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/pkgIndex.tcl "package ifneeded Tk
${TK_MAJOR_VERSION}.${TK_MINOR_VERSION} [list load [file join $dir
libtk${CMAKE_SHARED_LIBRARY_SUFFIX}] Tk]")
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/pkgIndex.tcl DESTINATION
lib/tk${TK_MAJOR_VERSION}.${TK_MINOR_VERSION})
+
+FILE(WRITE
${CMAKE_BINARY_DIR}/lib/tk${TK_MAJOR_VERSION}.${TK_MINOR_VERSION}/pkgIndex.tcl
"package ifneeded Tk ${TK_MAJOR_VERSION}.${TK_MINOR_VERSION} [list load [file
join $dir ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
libtk${CMAKE_SHARED_LIBRARY_SUFFIX}] Tk]")
+
+
add_library(tkstub STATIC ${TK_STUB_SRCS})
install(TARGETS tkstub DESTINATION lib)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits