No subject


Sun Oct 26 02:42:03 EDT 2008


http://www.cmake.org/cmake/help/cmake2.6docs.html#variable:CMAKE_LIBRARY_OU=
TPUT_DIRECTORY
http://www.cmake.org/cmake/help/cmake2.6docs.html#prop_tgt:LIBRARY_OUTPUT_D=
IRECTORY
CMAKE_LIBRARY_OUTPUT_DIRECTORY is a global variable.
LIBRARY_OUTPUT_DIRECTORY is a target property that gets its default value,
if any, from the global variable.



On Wed, Nov 12, 2008 at 9:24 AM, Michael Jackson <
mike.jackson at bluequartz.net> wrote:

> The below is from the CMake 2.6.2 documentation:
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
>
>        =95 LIBRARY_OUTPUT_PATH: Old library location variable.
> This variable should no longer be used as of CMake 2.6. Use the
> ARCHIVE_OUTPUT_DIRECTORY, LIBRARY_OUTPUT_DIRECTORY, and
> RUNTIME_OUTPUT_DIRECTORY target properties instead. They will override th=
is
> variable if they are set.
>
> If set, this is the directory where all the libraries built during the
> build process will be placed.
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
>
> When I go looking for documentation on LIBRARY_OUTPUT_DIRECTORY I don't
> seem to find anything but I do find CMAKE_LIBRARY_OUTPUT_DIRECTORY. Which
> one is correct and which one should I be using?
>
> I currently use something like:
>
> # ---------- Setup output Directories -------------------------
> SET (LIBRARY_OUTPUT_PATH
>  ${PROJECT_BINARY_DIR}/lib
>  CACHE PATH
>  "Directory for all Libraries"
>  )
>
> # --------- Setup the Executable output Directory -------------
> SET (EXECUTABLE_OUTPUT_PATH
>  ${PROJECT_BINARY_DIR}/bin
>  CACHE PATH
>  "Directory for all Executables."
>  )
>
> Which evidently is being deprecated in favor of LIBRARY_OUTPUT_DIRECTORY =
or
> CMAKE_LIBRARY_OUTPUT_DIRECTORY.
>
> Comments?
>
> _________________________________________________________
>
> Mike Jackson                  mike.jackson at bluequartz.net
> BlueQuartz Software                    www.bluequartz.net
> Principal Software Engineer                  Dayton, Ohio
>
>
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>

------=_Part_9925_28314570.1226501928490
Content-Type: text/html; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<div>From the cmake 2.6 docs online:</div><div><br></div><a href=3D"http://=
www.cmake.org/cmake/help/cmake2.6docs.html#variable:CMAKE_LIBRARY_OUTPUT_DI=
RECTORY">http://www.cmake.org/cmake/help/cmake2.6docs.html#variable:CMAKE_L=
IBRARY_OUTPUT_DIRECTORY</a><div>
<a href=3D"http://www.cmake.org/cmake/help/cmake2.6docs.html#prop_tgt:LIBRA=
RY_OUTPUT_DIRECTORY">http://www.cmake.org/cmake/help/cmake2.6docs.html#prop=
_tgt:LIBRARY_OUTPUT_DIRECTORY</a><div><br></div><div>CMAKE_LIBRARY_OUTPUT_D=
IRECTORY is a global variable.</div>
<div><div>LIBRARY_OUTPUT_DIRECTORY is a target property that gets its defau=
lt value, if any, from the global variable.</div><div><br></div><div><br></=
div><br><div class=3D"gmail_quote">On Wed, Nov 12, 2008 at 9:24 AM, Michael=
 Jackson <span dir=3D"ltr">&lt;<a href=3D"mailto:mike.jackson at bluequartz.ne=
t">mike.jackson at bluequartz.net</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">The below is from the CMake 2.6.2 documenta=
tion:<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;=95 LIBRARY_OUTPUT_PATH: Old library location v=
ariable.<br>
This variable should no longer be used as of CMake 2.6. Use the ARCHIVE_OUT=
PUT_DIRECTORY, LIBRARY_OUTPUT_DIRECTORY, and RUNTIME_OUTPUT_DIRECTORY targe=
t properties instead. They will override this variable if they are set.<br>

<br>
If set, this is the directory where all the libraries built during the buil=
d process will be placed.<br>
<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D<br>
<br>
When I go looking for documentation on LIBRARY_OUTPUT_DIRECTORY I don&#39;t=
 seem to find anything but I do find CMAKE_LIBRARY_OUTPUT_DIRECTORY. Which =
one is correct and which one should I be using?<br>
<br>
I currently use something like:<br>
<br>
# ---------- Setup output Directories -------------------------<br>
SET (LIBRARY_OUTPUT_PATH<br>
 &nbsp;${PROJECT_BINARY_DIR}/lib<br>
 &nbsp;CACHE PATH<br>
 &nbsp;&quot;Directory for all Libraries&quot;<br>
 &nbsp;)<br>
<br>
# --------- Setup the Executable output Directory -------------<br>
SET (EXECUTABLE_OUTPUT_PATH<br>
 &nbsp;${PROJECT_BINARY_DIR}/bin<br>
 &nbsp;CACHE PATH<br>
 &nbsp;&quot;Directory for all Executables.&quot;<br>
 &nbsp;)<br>
<br>
Which evidently is being deprecated in favor of LIBRARY_OUTPUT_DIRECTORY or=
 CMAKE_LIBRARY_OUTPUT_DIRECTORY.<br>
<br>
Comments?<br>
<br>
_________________________________________________________<br>
<br>
Mike Jackson &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=
<a href=3D"mailto:mike.jackson at bluequartz.net" target=3D"_blank">mike.jacks=
on at bluequartz.net</a><br>
BlueQuartz Software &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=
 &nbsp; &nbsp;<a href=3D"http://www.bluequartz.net" target=3D"_blank">www.b=
luequartz.net</a><br>
Principal Software Engineer &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp;Dayton, Ohio<br>
<br>
<br>
<br>
_______________________________________________<br>
CMake mailing list<br>
<a href=3D"mailto:CMake at cmake.org" target=3D"_blank">CMake at cmake.org</a><br=
>
<a href=3D"http://www.cmake.org/mailman/listinfo/cmake" target=3D"_blank">h=
ttp://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div></div>

------=_Part_9925_28314570.1226501928490--


More information about the CMake mailing list