I explicitely defined them as CACHE variables and now it works out just fine - thanks! I'm just wondering, I copied my old lines from the page "CMake Useful Variables" in the CMake wiki, maybe this page should be updated...

Matthias




David Cole schrieb:
If you build your project, do the exes and libs go to the "bin" directory...?

When you say they are "empty" do you mean when viewed in the CMakeSetup, cmake-gui or ccmake program...? These are cache variables and unless you SET them with CACHE and FORCE in your CMakeLists.txt file they will not show up in the cache editors guis... They will actually work, though because CMake uses local overrides such as you have with your SET statements.



On Thu, Apr 10, 2008 at 10:00 AM, Matthias Riechmann <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi everybody,

    I'm using the following commands to set the output directories of
    libraries and executables to the "bin" directory of my build path.
    But cmake always tells me that LIBRARY_OUTPUT_PATH and
    EXECUTABLE_OUTPUT_PATH are empty:

    SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
    SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)

    Does anybody have an idea why?


    Matthias




-- Dipl.-Inform. Matthias Riechmann
    Institut für Prozessrechentechnik, Automation und Robotik
    Medizin-Gruppe
    Universität Karlsruhe (TH)
    Gebäude 40.28, Zimmer 103
    Engler-Bunte-Ring 8
    76131 Karlsruhe

    Fon: +49 (721) 608-4049
    Fax: +49 (721) 608-7141

    Web: http://wwwipr.ira.uka.de/~richmann

    _______________________________________________
    CMake mailing list
    [email protected] <mailto:[email protected]>
    http://www.cmake.org/mailman/listinfo/cmake



--
Dipl.-Inform. Matthias Riechmann
Institut für Prozessrechentechnik, Automation und Robotik
Medizin-Gruppe
Universität Karlsruhe (TH)
Gebäude 40.28, Zimmer 103
Engler-Bunte-Ring 8
76131 Karlsruhe

Fon: +49 (721) 608-4049
Fax: +49 (721) 608-7141

Web: http://wwwipr.ira.uka.de/~richmann
begin:vcard
fn:Matthias Riechmann
n:Riechmann;Matthias
org;quoted-printable;quoted-printable:Universit=C3=A4t Karlsruhe (TH);Institut f=C3=BCr Prozessrechentechnik, Automation und Robotik - Medizin-=
	Gruppe
adr;quoted-printable;quoted-printable:Engler-Bunte-Ring 8;;Geb=C3=A4ude 40.28, Zimmer 103;Karlsruhe;Baden-W=C3=BCrttemberg;76131;Germany
email;internet:[EMAIL PROTECTED]
title:Dipl.-Inform.
tel;work:+49 (721) 608-4049
tel;fax:+49 (721) 608-7141
url:http://wwwipr.ira.uka.de/~richmann
version:2.1
end:vcard

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to