[wx-dev] new project with cmake
Reinhold
reinholdsw at gmx.at
Wed Nov 8 03:16:26 PST 2006
Hi Kjeld,
The latest Cmake release contains the appropriate module, so you should
not need more than explained in there, cf. C:\Program Files\CMake
2.4\share\CMake\Modules\FindwxWidgets.cmake
For instance:
SET( wxWidgets_USE_LIBS base core adv gl html xml xrc expat jpeg png
regex tiff zlib)
FIND_PACKAGE(wxWidgets)
INCLUDE( ${wxWidgets_USE_FILE} )
TARGET_LINK_LIBRARIES (yourTarget
${wxWidgets_LIBRARIES}
)
HTH Reinhold
> -----Original Message-----
> From: Kjeld Vestberg Hansen [mailto:kjeld at aub.dk]
> Sent: Wednesday, November 08, 2006 11:42 AM
> To: wx-users at lists.wxwidgets.org; wx-dev at lists.wxwidgets.org
> Subject: [wx-dev] new project with cmake
>
>
> hi
>
> I am trying to make a new project for the wxwidgets to use
> opengl in with cmake.
>
> Are there some one there has at cmakelist.txt there do that?
>
> Mvh. Kjeld
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-dev-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-dev-help at lists.wxwidgets.org
>
More information about the wx-users
mailing list