On 10/16/2012 06:22 AM, John Labenski wrote:

Are you using this  CMake generated file in your build?

I use CMake to build wxLua.
But not yet your wxlua-config.cmake scripts to use in my own software.
Instead i use something i already had in art2d.
Maybe i should give that another try, since the best place for these config scripts is of course inside wxLua itself.
As i can see down here ;-)

Will have a look if i can use your generated cmake config file, named right now 
;-)*

*Thanks,

klaas
*
*

build/buildwxLua-config.cmake

At the bottom is a macro() you can call to "SETUP_wxLua" to work at
the directory level or you can simply add the wxLua_CXX_DEFINITIONS to
your target.

# ---------------------------------------------------------------------------
# Add the compiler flags in the variable wxLua_CXX_DEFINITIONS to your target
# or call the SETUP_wxLua() macro in any directory that has targets that use the
# macros in modules/wxbind/include/wxbinddefs.h to initialize the
wxWidgets bindings.
set(wxLua_CXX_DEFINITIONS
"-DwxLUA_USEBINDING_WXGL=1;-DwxLUA_USEBINDING_WXSTC=1;-DwxLUA_USEBINDING_WXXRC=1;-DwxLUA_USEBINDING_WXRICHTEXT=1;-DwxLUA_USEBINDING_WXHTML=1;-DwxLUA_USEBINDING_WXMEDIA=1;-DwxLUA_USEBINDING_WXAUI=1;-DwxLUA_USEBINDING_WXADV=1;-DwxLUA_USEBINDING_WXCORE=1;-DwxLUA_USEBINDING_WXXML=1;-DwxLUA_USEBINDING_WXNET=1;-DwxLUA_USEBINDING_WXBASE=1")
macro(SETUP_wxLua)
     add_definitions(${wxLua_CXX_DEFINITIONS})
endmacro(SETUP_wxLua)


Are you already doing this or when you do use them does it work then,
it should, since the WXLUA_IMPLEMENT_BIND_STD should configure itself
based on these #defines.

Note that I may eventually switch this over to an #include file since
it does seem like a lot of command-line args to gcc to me.

Regards,
     John

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to