diff options
author | Miguel A. Figueroa-Villanueva <miguelf@ieee.org> | 2010-09-01 13:34:57 (GMT) |
---|---|---|
committer | Miguel A. Figueroa-Villanueva <miguelf@ieee.org> | 2010-09-01 13:34:57 (GMT) |
commit | 6cb14ebf160b156e842c644392377fd6460327c6 (patch) | |
tree | 23b9ecbadcf292afa672f2bbfe6d68544fd8cf54 /Modules | |
parent | 36c15a2f0bc0107074019901f3208891667a4546 (diff) | |
download | CMake-6cb14ebf160b156e842c644392377fd6460327c6.zip CMake-6cb14ebf160b156e842c644392377fd6460327c6.tar.gz CMake-6cb14ebf160b156e842c644392377fd6460327c6.tar.bz2 |
STYLE: Clarified/Fixed documentation of UsewxWidgets.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/UsewxWidgets.cmake | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/Modules/UsewxWidgets.cmake b/Modules/UsewxWidgets.cmake index 037b715..3a4a382 100644 --- a/Modules/UsewxWidgets.cmake +++ b/Modules/UsewxWidgets.cmake @@ -1,15 +1,12 @@ -# - Convenience include for using wxWidgets library -# Finds if wxWidgets is installed -# and set the appropriate libs, incdirs, flags etc. -# INCLUDE_DIRECTORIES, LINK_DIRECTORIES and ADD_DEFINITIONS -# are called. +# - Convenience include for using wxWidgets library. +# Determines if wxWidgets was FOUND and sets the appropriate libs, incdirs, +# flags, etc. INCLUDE_DIRECTORIES and LINK_DIRECTORIES are called. # # USAGE -# SET( wxWidgets_USE_LIBS gl xml xrc ) # optionally: more than wx std libs -# FIND_PACKAGE(wxWidgets REQUIRED) -# INCLUDE( ${xWidgets_USE_FILE} ) -# ... add your targets here, e.g. ADD_EXECUTABLE/ ADD_LIBRARY ... -# TARGET_LINK_LIBRARIERS( <yourWxDependantTarget> ${wxWidgets_LIBRARIES}) +# FIND_PACKAGE(wxWidgets REQUIRED base core gl net) +# INCLUDE(${wxWidgets_USE_FILE}) +# # and for each of your dependant executable/library targets: +# TARGET_LINK_LIBRARIES(<YourTarget> ${wxWidgets_LIBRARIES}) # # DEPRECATED # LINK_LIBRARIES is not called in favor of adding dependencies per target. |