STYLE: Clarified/Fixed documentation of UsewxWidgets.

This commit is contained in:
Miguel A. Figueroa-Villanueva 2010-09-01 09:34:57 -04:00
parent 36c15a2f0b
commit 6cb14ebf16
1 changed files with 7 additions and 10 deletions

View File

@ -1,15 +1,12 @@
# - Convenience include for using wxWidgets library # - Convenience include for using wxWidgets library.
# Finds if wxWidgets is installed # Determines if wxWidgets was FOUND and sets the appropriate libs, incdirs,
# and set the appropriate libs, incdirs, flags etc. # flags, etc. INCLUDE_DIRECTORIES and LINK_DIRECTORIES are called.
# INCLUDE_DIRECTORIES, LINK_DIRECTORIES and ADD_DEFINITIONS
# are called.
# #
# USAGE # USAGE
# SET( wxWidgets_USE_LIBS gl xml xrc ) # optionally: more than wx std libs # FIND_PACKAGE(wxWidgets REQUIRED base core gl net)
# FIND_PACKAGE(wxWidgets REQUIRED) # INCLUDE(${wxWidgets_USE_FILE})
# INCLUDE( ${xWidgets_USE_FILE} ) # # and for each of your dependant executable/library targets:
# ... add your targets here, e.g. ADD_EXECUTABLE/ ADD_LIBRARY ... # TARGET_LINK_LIBRARIES(<YourTarget> ${wxWidgets_LIBRARIES})
# TARGET_LINK_LIBRARIERS( <yourWxDependantTarget> ${wxWidgets_LIBRARIES})
# #
# DEPRECATED # DEPRECATED
# LINK_LIBRARIES is not called in favor of adding dependencies per target. # LINK_LIBRARIES is not called in favor of adding dependencies per target.