|
From: Tapio V. <aa...@us...> - 2009-11-08 08:31:09
|
Module: performous Branch: dance Commit: 3c1d6b4f1b3aeae5fe505bf8fc7d6949cc681669 Author: Lasse Karkkainen <tro...@tr...> Date: Tue Nov 3 08:16:39 2009 +0200 Removing hardcoded paths and making Performous behave better in non-standard installation location and when the installation is relocated. Changes include relative RPATH and detecting data path from executable location. Also some cleanup to plugin++ DLL code. --- game/CMakeLists.txt | 7 +++++ game/config.cmake.hh | 2 + game/configuration.cc | 30 ++++++++++++--------- game/main.cc | 2 - game/selfpath.hh | 7 ----- libs/plugin++/CMakeLists.txt | 9 +++--- libs/plugin++/include/plugin++/execname.hpp | 9 ++++++ libs/plugin++/src/dll-posix.cpp | 17 ------------ libs/plugin++/src/dll-windows.cpp | 17 ------------ libs/plugin++/src/dll.cc | 29 ++++++++++++++++++++ game/selfpath.cc => libs/plugin++/src/execname.cc | 26 +++++++++--------- 11 files changed, 81 insertions(+), 74 deletions(-) |