Re: [CMake] Correct handling of absolute/relative installation paths

2017-07-27 Thread David Demelier
Le 27/07/2017 à 13:08, Eric Noulard a écrit : 2017-07-27 12:28 GMT+02:00 David Demelier >: Hello, I'm still trying to find a correct solution to handle user specified installation paths. Let's consider two kind of

Re: [CMake] Correct handling of absolute/relative installation paths

2017-07-27 Thread J Decker
It's also handy to get installation paths from GNUInstallDirs https://cmake.org/cmake/help/v3.4/module/GNUInstallDirs.html especially if you expect to install libs on linux which either go to lib or lib64. many things that install to windows just supply a standard base path (/program files/)

Re: [CMake] Correct handling of absolute/relative installation paths

2017-07-27 Thread Eric Noulard
2017-07-27 12:28 GMT+02:00 David Demelier : > Hello, > > I'm still trying to find a correct solution to handle user specified > installation paths. > > Let's consider two kind of paths: > > - WITH_BINDIR (default: bin/) where to install executables, > - WITH_DATADIR

[CMake] Correct handling of absolute/relative installation paths

2017-07-27 Thread David Demelier
Hello, I'm still trying to find a correct solution to handle user specified installation paths. Let's consider two kind of paths: - WITH_BINDIR (default: bin/) where to install executables, - WITH_DATADIR (default: share/project_name/) where to install extra data. I want to let the