ADD_SUB_DIRECTORY became too complicated, and i would need to make to many 
changes, maybe later.
For the moment my original approach was the easiest to get working.

With some of the suggested changes ( libs and exe in one place), and changes to 
my FindWxLua cmake 
files, i am now able to start wrapping again.
Made a switch on wxWidgets version to use the new library names.

One thing i noticed is that i must build in the wxLua trunk itself. If not 
wxLua_ROOT_DIR pointing 
to the build directory is not enough.
Some files i need must come from the trunk. With bakefile it seems i did the 
same, but there i did 
set the WXLUA env variable to get to these files.
Also after an install (with CMake), files are taken from the binary and source 
tree, and combined as 
one install. Like all headers, generated and  already there.

I don't know what is the right way to handle this non installed usage of a 
package. I myself solved 
it using two wxLuaConfig.cmake files one for installing and one for a normal 
build only find.

Now i first need to get rid of the wrapping compile errors to make sure it 
works.

Klaas


On 24-12-2011 12:06, klaas.holwerda wrote:
> On 24-12-2011 9:47, klaas.holwerda wrote:
>> If you don't have time, it can wait, i keep using the bakefile generated 
>> stuff for time being.\
> Well that does not work for 2.9, so i guess it is needs to be Cmake now.
> To bad.
>
> Klaas
>
>


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to