Ahh.. I didn't see the new "property" documentation options. I use my
QtAssistant Script to generate easy to read/search documentation and I
needed to update the script. I'll update the wiki also in case anyone
else wants to use it.
Thanks for the heads up.
Mike
On Nov 12, 2008, at 9:58 AM, David Cole wrote:
From the cmake 2.6 docs online:
http://www.cmake.org/cmake/help/
cmake2.6docs.html#variable:CMAKE_LIBRARY_OUTPUT_DIRECTORY
http://www.cmake.org/cmake/help/
cmake2.6docs.html#prop_tgt:LIBRARY_OUTPUT_DIRECTORY
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 <[EMAIL PROTECTED]
> wrote:
The below is from the CMake 2.6.2 documentation:
=======================================================
• 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 this variable if they are set.
If set, this is the directory where all the libraries built during
the build process will be placed.
=======================================================
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 [EMAIL PROTECTED]
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake