[CMake] LIBRARY_OUTPUT_PATH for Dynamic and Static Libraries
Julien Dardenne
julien.dardenne at technooliq.com
Thu Jul 28 11:34:27 EDT 2011
Hi,
I compile my libraries into dynamic and static.
I now wish to change the library path. If I am in static (folder : lib )
and dynamic (folder : dll).
For now, i have this script :
OPTION (BUILD_SHARED_LIBS"Buildshared librarieswithGames." OFF)
IF (BUILD_SHARED_LIBS)
SET (LIBRARY_OUTPUT_PATH)
SET ($ {LIBRARY_OUTPUT_PATHPROJECT_BINARY_DIR} /dll/ $
{CACHE}CMAKE_BUILD_TYPEPATH"Singleoutputdirectoryforbuildingalllibraries.")
ELSE()
SET (LIBRARY_OUTPUT_PATH)
SET ($ {LIBRARY_OUTPUT_PATHPROJECT_BINARY_DIR} /lib /$
{CACHE}CMAKE_BUILD_TYPEPATH"Singleoutputdirectoryforbuildingalllibraries.")
ENDIF()
but my variable "LIBRARY_OUTPUT_PATH" does not change.
Do you have an idea about this problem ?
Thanks
--
------------------------------------------------------------------------
*Julien Dardenne*
Ingénieur Recherche et Développement
Julien.Dardenne at technooliq.com
<mailto:Julien.Dardenne at technooliq.com>
*TECHNOOLIQ SARL*
Marseille innovation - 37 rue GUIBAL 13003 Marseille - FRANCE
T :+33(0)4 91 05 64 71 / +33 (0)4 95 04 67 42
F :+33(0)4 91 05 50 51 / +33 (0)4 95 04 67 40
http://www.technooliq.com__
------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110728/4fd3620f/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mail5.png
Type: image/png
Size: 2590 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110728/4fd3620f/attachment-0001.png>
More information about the CMake
mailing list