Revision: 7925
http://playerstage.svn.sourceforge.net/playerstage/?rev=7925&view=rev
Author: thjc
Date: 2009-06-28 11:22:43 +0000 (Sun, 28 Jun 2009)
Log Message:
-----------
install playerxdrgen
set ruby install path relative to the project install prefix
Modified Paths:
--------------
code/player/trunk/client_libs/libplayerc/bindings/ruby/CMakeLists.txt
code/player/trunk/libplayerxdr/CMakeLists.txt
Modified: code/player/trunk/client_libs/libplayerc/bindings/ruby/CMakeLists.txt
===================================================================
--- code/player/trunk/client_libs/libplayerc/bindings/ruby/CMakeLists.txt
2009-06-28 01:27:22 UTC (rev 7924)
+++ code/player/trunk/client_libs/libplayerc/bindings/ruby/CMakeLists.txt
2009-06-28 11:22:43 UTC (rev 7925)
@@ -54,7 +54,9 @@
#TODO: find ruby in windows, check install dir is correct
- SET (RUBY_BINDINGS_INSTALL_DIR ${RUBY_SITELIB_DIR} CACHE PATH
"Ruby bindings installation directory under $RUBY_SITELIB_DIR")
+ STRING(REPLACE "/usr/" "" ruby_relative_sitelib_dir
${RUBY_SITELIB_DIR})
+ STRING(REPLACE "local/" "" ruby_relative_sitelib_dir
${ruby_relative_sitelib_dir})
+ SET (RUBY_BINDINGS_INSTALL_DIR ${ruby_relative_sitelib_dir} CACHE
PATH "Ruby bindings installation directory under $RUBY_SITELIB_DIR")
MARK_AS_ADVANCED (RUBY_BINDINGS_INSTALL_DIR)
INSTALL (FILES ${CMAKE_CURRENT_BINARY_DIR}/playercr.so
Modified: code/player/trunk/libplayerxdr/CMakeLists.txt
===================================================================
--- code/player/trunk/libplayerxdr/CMakeLists.txt 2009-06-28 01:27:22 UTC
(rev 7924)
+++ code/player/trunk/libplayerxdr/CMakeLists.txt 2009-06-28 11:22:43 UTC
(rev 7925)
@@ -68,3 +68,5 @@
PLAYER_MAKE_PKGCONFIG ("playerxdr" "Player XDR messaging library - part of the
Player Project" "" "" "" "${xdrLibFlag}")
PLAYER_INSTALL_HEADERS (playerxdr ${playerxdr_h} functiontable.h)
+
+INSTALL (FILES ${CMAKE_CURRENT_SOURCE_DIR}/playerxdrgen.py RENAME playerxdrgen
DESTINATION bin)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit