arunkumarmunusamy / bitfighter

Automatically exported from code.google.com/p/bitfighter
Other
0 stars 0 forks source link

Introduce a 'make install' for Linux in our CMake system #447

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For easier Linux packaging, we should provide an installation system in CMake.  
This would allow packagers and users to do 'make install' appropriately.

We would want to provide some control variables to allow adjustment of the 
installation folders; some examples:

BF_BINARY_INSTALL_DIR = ${CMAKE_INSTALL_PREFIX}/bin
BF_DATA_INSTALL_DIR = ${CMAKE_INSTALL_PREFIX}/share/

We should provide sane defaults, probably to /usr/local, with overrides for 
distro-specific locations.

Original issue reported on code.google.com by buckyballreaction on 28 Jun 2014 at 3:10

GoogleCodeExporter commented 9 years ago
A little precision: you shouldn't have to define distro-specific overrides by 
yourself. Just give the possibility to override the paths, and let the 
packagers do their job :-)

Original comment by rverschelde on 28 Jun 2014 at 3:11

GoogleCodeExporter commented 9 years ago
yes, the packing process for debian at least will detect and override the cmake 
install prefix (and CXXFLAGS etc.) as appropriate. I imagine it's the same for 
other distros

Original comment by bkcon...@gmail.com on 28 Jun 2014 at 3:27

GoogleCodeExporter commented 9 years ago
Fixed in r2dd3e9ce07.  This is for our upcoming 019d release.

Original comment by buckyballreaction on 1 Nov 2014 at 3:14