SeismicData / asdf-library

Adaptable Seismic Data Format
16 stars 10 forks source link

build: Add install targets. #5

Closed QuLogic closed 9 years ago

QuLogic commented 9 years ago

This allows standard installation using make install. The default is the usual split like:

These locations can be overridden by setting the relevant $CMAKE_INSTALL_* settings when running cmake, but most people don't need to mess with them as the defaults work most of the time.

The shared library is not yet correctly versioned; I assume we can add that when closer to a release.

QuLogic commented 9 years ago

PS, it does not install examples or tests, as I wasn't sure the best place for them. Maybe the example source could go in the documentation.

mpbl commented 9 years ago

@QuLogic Nice idea. However, this library will be mostly used on machines where the user do not have root access. Can you add a line in the README.md so people can use your improvements to install the library?

QuLogic commented 9 years ago

Done.