[CMake] LIBRARY_OUTPUT_PATH

David Cole david.cole at kitware.com
Thu Apr 10 11:01:54 EDT 2008


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>
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
> 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/20080410/cdcf7fd0/attachment.htm>


More information about the CMake mailing list