From: John L. <jla...@gm...> - 2011-12-27 16:25:24
|
Yes, I tried with cmake to build a wx.dll staticly linked to the wxWidgets dlls and it works well, but with a million useless warnings about how you are not exporting wxWidgets functions. What you did sounds great and I didn't know it was so easy, I'll add it to the install docs. John On Dec 27, 2011 11:16 AM, "Andre Arpin" <ar...@ki...> wrote: > using Solution modules "Debug DLL Multilib" > > Additional include directories add > > $(WXWIN)\lib\vc_dll\mswd > > Preprocessor Definitions remove > > WXUSINGDLL > > Linker Additionnal Libraries Directories add > > $(WXWIN)\lib\vc_lib > > -------------------------------------- > right click on the configuration > go to Configuration Properties > disable build for all but > mod_lua > mod_luamodule_mono > > Build... Ignore the 1568 warnings in the compile and link step > voila: wx.dll is in wxLua\lib\vc_dll\ > > Andre > > > > > > ------------------------------------------------------------------------------ > 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 > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > |