[CMake] LIBRARY_OUTPUT_PATH

Matthias Riechmann riechmann at ira.uka.de
Fri Apr 11 03:49:24 EDT 2008


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
> 
>     _______________________________________________
>     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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: riechmann.vcf
Type: text/x-vcard
Size: 518 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080411/8600aafc/attachment.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3319 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080411/8600aafc/attachment.bin>


More information about the CMake mailing list