ok, thanks a lot for your help!
Hartmut
Am 11.09.2011 um 21:02 schrieb Matthias Troyer:
You just need to build it twice in two different directories. One build tree static and one build tree shared.
Matthias
On 11 Sep 2011, at 20:58, Hartmut Hafermann wrote:
ok, this is why the prefix is there. The variable is set to OFF, because I need a static ALPS library for other purposes. Is there a way to make python work with the static libraries, or should one modify CMakeList.txt to create files without the prefix if the BUILD SHARED option is turned on for the individual modules?
Am 11.09.2011 um 20:43 schrieb Matthias Troyer:
On 11 Sep 2011, at 20:41, Hartmut Hafermann wrote:
Am 11.09.2011 um 20:30 schrieb Matthias Troyer:
That prefix should not be there, and is not there when I build it. The CMake Lists.txt file states it explicitly:
set_target_properties(${name} PROPERTIES PREFIX "")
That's odd. I have this line as well, but the libraries are nevertheless built with this prefix. I am using cmake 2.8.4.
Is the variable BUILD_SHARED_LIBS set to ON?
-- Hartmut Hafermann
École Polytechnique Centre de Physique Theorique (CPHT) 91128 Palaiseau Cedex, France
Tel.: +33 1 69 33 42 34 Fax: +33 1 69 33 49 49
-- Hartmut Hafermann
École Polytechnique Centre de Physique Theorique (CPHT) 91128 Palaiseau Cedex, France
Tel.: +33 1 69 33 42 34 Fax: +33 1 69 33 49 49