BUILD_MEGAGLEST_MODEL_IMPORT_EXPORT_TOOLS
BUILD_MEGAGLEST_MODEL_VIEWER
BUILD_MEGAGLEST_MAP_EDITOR
BUILD_MEGAGLEST_CONFIGURATOR
BUILD_MEGAGLEST
By default these are all enabled (On). Turn turn off a module run cmake with the option turned off:
-DBUILD_MEGAGLEST_CONFIGURATOR=OFF
- missing glest.ini during make install (this file is handled by the data install)
- properly handles destdir for all installed files
- customizable paths for all installation destinations (the following can now be set):
MEGAGLEST_BIN_INSTALL_PATH - "bin/" - "The installation path for binaries (this is appended to the CMAKE_INSTALL_PREFIX)")
MEGAGLEST_DATA_INSTALL_PATH - "share/megaglest/" - "The installation path for data files (this is appended to the CMAKE_INSTALL_PREFIX)")
MEGAGLEST_DESKTOP_INSTALL_PATH - "share/applications/" - "The installation path for desktop files (this is appended to the CMAKE_INSTALL_PREFIX)")
MEGAGLEST_ICON_INSTALL_PATH - "share/pixmaps/" - "The installation path for icon files (this is appended to the CMAKE_INSTALL_PREFIX)")
CUSTOM_DATA_INSTALL_PATH - "'\\\"${CMAKE_INSTALL_PREFIX}/${MEGAGLEST_DATA_INSTALL_PATH}\\\"'" - "The FULL installation path for data files (this is build automatically by combining CMAKE_INSTALL_PREFIX and MEGAGLEST_DATA_INSTALL_PATH)")
- Fixed startup scripts for tools (remove bin folder)
- Fixed source and data tarball scripts to include required files (missed the proper main ini files)
- Debian can now easily package up megaglest and build deb files
- cmake system changes (after doing a make you may go: sudo make install to install in standard linux paths)
- updates to various pathing in order to more robustly support lhs
*WARNING, Linux dev's should run cmake like the following to avoid pathing issues as the default now is lhs paths:
cmake -DCMAKE_INSTALL_PREFIX= .. (notice the SPACE before the ..)