[CMake] LIBRARY_OUTPUT_PATH

David Cole david.cole at kitware.com
Fri Apr 11 06:42:04 EDT 2008


Feel free to update the Wiki with the lines that work.

Thanks,
David


On Fri, Apr 11, 2008 at 3:49 AM, Matthias Riechmann <riechmann at ira.uka.de>
wrote:

> 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 <
> > riechmann at ira.uka.de <mailto:riechmann at ira.uka.de>> 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<http://wwwipr.ira.uka.de/%7Erichmann>
> >
> >    _______________________________________________
> >    CMake mailing list
> >    CMake at cmake.org <mailto:CMake at cmake.org>
> >    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<http://wwwipr.ira.uka.de/%7Erichmann>
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080411/494fec56/attachment.htm>


More information about the CMake mailing list