> Did not test mingw for a long time, but I see you want to use codeblocks.

Yes, trying to use CodeBlocks with mingw.

> wxart2d.org/moin/CodeBlocks

That's what I used to get this far.

> I see CMAKE_RC_FLAGS for VC it is empty. What does it show for you?

It's empty for me as well.

> Maybe this helps, else cmake its own model files etc., sometimes add things 
> secretly, search for it in cmake itself.

The only place "-fexceptions -fno-pcc-struct-return -fstrict-aliasing
-Wall -Wno-unused-variable" shows up in cmake-gui is for wxDocview_FLAGS
and wxWidgets_CXX_FLAGS.

> For  compilers it has some fixed settings to link compile etc., so maybe its 
> there.

Where can these be found?

RC_FLAGS is being created somewhere and placed in flags.make, but I
can't find where. I've grep'd the entire wxArt2D directory. Where is
RC_FLAGS constructed?

I managed to locate where wxWidgets_CXX_FLAGS is being created. It's on
line 458 of

wxArt2D\packages\wxdocview\share\wxwidgets\FindwxWidgets.cmake

That line looks as follows:

    set( wxWidgets_CXX_FLAGS ${wxWidgets_CXX_FLAGS}
        -D__WXMSW__ -D__GNUWIN32__ -D__WIN95__
        -fexceptions -fno-pcc-struct-return
        -fstrict-aliasing
        -Wall    #all warnings
        -Wno-unused-variable
        # -m32  # 32 bits
        #-fexpensive-optimizations
        #-mwindows  # windows app
        #-mconsole    #console app
    )

If I make changes to this assignment, the changes show up in flags.make
for CXX_FLAGS and RC_FLAGS. Obviously, wxWidgets_CXX_FLAGS is being
concatenated to CXX_FLAGS and RC_FLAGS. There must be a way to stop the
concatenation to RC_FLAGS, but where?

Thanks,
David


On 4/12/2011 2:54 AM, HOLWERDA Klaas wrote:
> Hi David,
>
>
> Did not test mingw for a long time, but I see you want to use codeblocks.
>
> wxart2d.org/moin/CodeBlocks
>
> is not up to date, but maybe it helps.
> I think you option can be set in cmake-gui. When selecting advanced, you see 
> all cmake stuff, and you can tune it.
>
> I see CMAKE_RC_FLAGS for VC it is empty. What does it show for you?
>
> But in the sample 
> samples\singleframe\CMakeFiles\sample_docview_singleframe.dir\flags.cmake I 
> SEE:
>
> RC_FLAGS =   -IC:\data\art2d\wxWidgets-2.8.10\lib\vc_lib\mswd 
> -IC:\data\art2d\wxWidgets-2.8.10\include 
> -IC:\data\art2d\wxWidgets-2.8.10\contrib\include 
> -IC:\data\art2d\a2d2810debug\packages\wxdocview\include 
> -IC:\data\art2d\trunk\wxArt2D\packages\wxdocview\include 
> -IC:\data\art2d\wxWidgets-2.8.10\src\expat\lib 
> -IC:\data\art2d\trunk\wxArt2D\packages\wxdocview\samples\common  
>
> So it adds include paths to it, but no flags.
>
> Maybe this helps, else cmake its own model files etc., sometimes add things 
> secretly, search for it in cmake itself.
> For  compilers it has some fixed settings to link compile etc., so maybe its 
> there.
>
> Regards,
>
> Klaas
>
>
>>> I noticed that windres.exe has a "-F" option, so maybe it's just a case
>> sensitivity issue. Unfortunately, I don't understand where in the build 
>> files,
>> windres.exe is being called and where the "-f" option is being added. Can
>> someone point me in the right direction?
>>> Please help.
>>>
>>> Thanks,
>>> David
> ------------------------------------------------------------------------------------------------------------
> Disclaimer:
>
> If you are not the intended recipient of this email, please notify the sender 
> and delete it. 
> Any unauthorized copying, disclosure or distribution of this email or its 
> attachment(s) is forbidden. 
> Thales Nederland BV will not accept liability for any damage caused by this 
> email or its attachment(s). 
> Thales Nederland BV is seated in Hengelo and is registered at the Chamber of 
> Commerce under number 06061578.
> ------------------------------------------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
> Forrester Wave Report - Recovery time is now measured in hours and minutes
> not days. Key insights are discussed in the 2010 Forrester Wave Report as
> part of an in-depth evaluation of disaster recovery service providers.
> Forrester found the best-in-class provider in terms of services and vision.
> Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
> _______________________________________________
> Wxart2d-users_dev mailing list
> Wxart2d-users_dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to