Commit Graph

33 Commits

Author SHA1 Message Date
Mark Vejvoda dac61b9f5d added some new cmake directives to optional turn off subprojects from the build process. The new cmake options include:
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
2011-10-17 16:59:22 +00:00
Mark Vejvoda d86ac7d4a7 bugfix for xerces include path 2011-10-15 18:00:47 +00:00
Mark Vejvoda 5c9e57dfb9 - updated for macosx and vorbisfile 2011-10-14 21:59:52 +00:00
Mark Vejvoda 48515d8084 - bugfix for make install from svn folder structure 2011-06-02 16:18:29 +00:00
Mark Vejvoda 9d44f5ad4f - attempt to fix make install for svn dev version 2011-06-02 15:10:28 +00:00
Mark Vejvoda 23a26994b5 - updates for better handling with debian 2011-05-26 14:36:43 +00:00
Mark Vejvoda e221011af2 - bugfixes so that the mingw compile builds 2011-05-24 22:51:45 +00:00
Mark Vejvoda 8c59da57cd - bugfixes to install related files to fix:
- 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
2011-05-14 17:31:40 +00:00
Mark Vejvoda 6db2b394bf - renamed megalgest.bin to megaglest and megaglest to start_megaglest 2011-05-05 03:31:18 +00:00
Mark Vejvoda de40d84ebd - updates so cmake builds everywhere and any which way (well not quite) 2011-05-04 21:59:57 +00:00
Mark Vejvoda dfe194fa10 - cmake now somewhat split out into binaries and data, likely needs a little tweaking and final touches, good night for now :) 2011-05-04 07:51:48 +00:00
Mark Vejvoda 42d4e45b84 - implemented some additional install files as requested by sven (more needs to come still) 2011-05-04 06:58:22 +00:00
Mark Vejvoda fab36598b1 - lots of updates including:
- 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 ..)
2011-05-03 23:34:25 +00:00
Mark Vejvoda e4f0e8bfbf - step #1 towards a working make install via cmake 2011-05-03 18:25:35 +00:00
Mark Vejvoda cfd0e12dd7 -fix cmake script for mingw, just for completeness. 2011-04-15 01:15:46 +00:00
Mark Vejvoda 9b1893054f - renamed Linux binaries launch scripts start with start_megaglest_x and binaries start with megaglest_ 2011-04-09 19:13:10 +00:00
Mark Vejvoda 5add2da254 - mingw compile fixes, now it seems to properly compile and runs under wine again :) 2011-04-05 12:57:52 +00:00
Mark Vejvoda b385d4c2b1 - bugfix for static inclusion of libcurl 2011-01-04 02:55:45 +00:00
Mark Vejvoda f63e76df74 - updated mingw cmake files to work with new libcurl version (requires new ming deps download) 2011-01-01 11:39:04 +00:00
Mark Vejvoda 9442c22dc3 - fixed cmake build file to no longer look for libircclient 2010-12-29 01:15:27 +00:00
Mark Vejvoda 1d4de5e423 - updates to cmake for libircclient 2010-12-23 06:56:19 +00:00
Mark Vejvoda bafc574143 - added custom path for titi's old Ubuntu 2010-12-23 02:24:46 +00:00
Mark Vejvoda ea4f8e0bcd - added IRC client to the Internet game menu (still need to update VC++ projects) 2010-12-23 00:00:30 +00:00
Mark Vejvoda 003d15c28a - updated cmake files to support toggling between release and debug builds (even release with debug info)
when calling CMAKE you may toggle debug or release like this:
cmake -D CMAKE_BUILD_TYPE=Debug ..
or
cmake -D CMAKE_BUILD_TYPE=Release ..
2010-12-12 08:10:18 +00:00
Mark Vejvoda f27cb6c8a3 - added support to cross compile win32 binary on Linux using cmake (just run build-mg-win32.sh) 2010-12-11 12:53:38 +00:00
Mark Vejvoda aebcca517c - bugfixes to get cmake working properly in linux and windows 2010-12-11 07:05:07 +00:00
Mark Vejvoda 755a7737fa - added CMAKE support for building MG in Windows using MingW 2010-12-11 06:32:21 +00:00
Mark Vejvoda 1ff84eaddb - updated cmake build to touch game_util.cpp every time make is called so it ALWAYS has the right date/time stamp 2010-12-10 02:45:07 +00:00
Mark Vejvoda 679557c6f2 - added proper SVN revision handling for CMAKE builds so now the --version and main menu display proper SVN Global Revision # 2010-12-10 01:53:51 +00:00
Mark Vejvoda ac1a291739 - modified cmake scripts to place linux binaries in the same spot that jam placed them 2010-12-09 17:14:40 +00:00
Mark Vejvoda 61b66fb761 - applied Mac osX patch #4 from GeoVah (thank you) 2010-09-24 15:26:16 +00:00
Mark Vejvoda b115292ee5 - added GeoVah's initila Mac osX support (via cmake) 2010-09-16 15:15:42 +00:00
Mark Vejvoda 9c5d911edc Added cmake build files (thanks RCL) 2010-06-05 17:34:55 +00:00