Hello Theodore,
thank you for your help.
Well, indeed it greatly depends on the system and the user.
Neverteless, you can alaways provide your own value of CONFIGURATION_COMMAND to
install your libraries in the same directory or in different ones.
It does not depend on INSTALL_DIR at all.
You d
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 04/09/2015 01:26 PM, Ryan Pavlik wrote:
> It's for if your use case requires the project to be installed in
> a specific location that's not the automatically generated one.
> For instance, if you're building multiple external projects you
> might h
Hello Ryan,
thank you for your answer.
If I understand it well, this exactly what I want.
I want third-party libraries to be installed in a specific location which does
not correspond to the automatically generated one.
To do that, I can provide my own configuration command to install in MYDI
It's for if your use case requires the project to be installed in a
specific location that's not the automatically generated one. For instance,
if you're building multiple external projects you might have them all
install to the same subdirectory of the binary directory for convenience.
Ryan
On T
Hello Iosif and David,
thank you for your answer.
I now understand how it works.
But I still don't understand the purpose of INSTALL_DIR.
Do you know an example when this variable is useful?
Cédric
- Mail original -
> De: "Iosif Neitzke"
> À: cmake@cmake.org
> Envoyé: Jeudi 9 Avril
Install Step
The INSTALL_DIR is underneath the calling project’s binary directory.
Use INSTALL_DIR to specify a different location. Note that in addition
to setting INSTALL_DIR, you also have to pass -DCMAKE_INSTALL_PREFIX
or --prefix to the CMake or configure command. It is not used
automatically
You need to tell eigen where to install, probably as an argument to its
configure step. If it builds with CMake, you can use:
-DCMAKE_INSTALL_PREFIX=
as one of the CMake args. If it has a non-CMake configure step, you'll have
to call that and pass in as an argument.
HTH,
David C.
On Thur
Hello!
I try to download, extract, configure, build and install a library with CMake.
My CMakeLists.txt contains the following lines:
cmake_minimum_required (VERSION 2.6)
project (example CXX)
set(CMAKE_VERBOSE_MAKEFILE ON)
include(ExternalProject)
include(ProcessorCount)
ProcessorCount(N)
if(NO