On 8/24/07, Piotr Obrzut <[EMAIL PROTECTED]> wrote:
> I'm trying to reuse jam build system from cseditor. Unfortunately I
> have small problem with msvcgen - it creates project files with
> wxgtk and pthread dependencies (I have same problems with cseditor).
> What can be wrong here?
Most likely, for the msvcgen run, you need to specify explicitly the
build flags needed for wxWidgets rather than relying upon the ones
discovered by the configure script (which obviously are for Unix
rather than for Windows). You would need to invoke Jam assignments
like the following:
WX.AVAILABLE = yes ;
WX.DEFINES = wxUSE_GUI=1 WXUSINGDLL=1 ;
WX.LIBS = wxbase26.lib wxmsw26_core.lib wxmsw26_gl.lib opengl32.lib ;
Naturally, you want to make those assignments only during the msvcgen
run, which is possible by wrapping the code in a Jam conditional such
as:
if [ Property build : projgen ] = msvc
{
...
}
-- ES
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]