Matěj Týč wrote:
>>> ing debug etc.)
>>>       
>> I think that is not so strange, since one can have various wxWidgets 
>> libraries on a system.
>>     
> That's right, but it is troublesome. They would have to be installed in
> different prefixes and that's a pain.
>   
Don't understand "different prefixes".
wx-config can supply the last installed. So maybe i could make a good 
guess, i now just show it  the chosen one does not exist.
But all in all there must be option to choose.
> Anyway, the build system seems to be quite sophisticated, it was made by
> you? 
>
>   
Well, cmake is not made by me, i just use it. Complicated enough, still 
all much better than configure etc. Why? Since it creates also windows 
VC project files, makefiles etc.
I simply refuse to learn many different make systems, if one can do it 
for all, cmake!
>> Did not test this well. Cmake should use standard directories.
>> So what are those strange directories? May i can do something about it.
>>     
>
> I have set 'prefix' to /usr.
> Quite a lot of files got installed to /usr/wxart2d, which is
> unacceptable. They should go either to /usr/shared/wxart2d (applies to
> examples, applications data etc.), /usr/include/wxart2d (include files)
> Next, /usr/bin/wxArt2DConfig.cmake and /usr/bin/UsewxArt2D.cmake files
> were installed. Why? They are not executables...
>   
Because somewhere in  config/CmakeLists.txt i put:

INSTALL( FILES ${wxart2d_BINARY_DIR}/bin/wxArt2DConfigOutBuild.cmake 
DESTINATION "bin" RENAME wxArt2DConfig.cmake )
INSTALL( FILES ${wxart2d_BINARY_DIR}/bin/UsewxArt2D.cmake DESTINATION 
"bin" )             

Those files can be used by application to configure them selfs using 
wxArt2D. I don't know where they should go.
But ideas welcome! And after words patches even more.
> I would like to program a primitive diagram editor. I will try to get
> into the library and if I come across something that I could improve, I
> will let you know.
>   
Great. Have a look at RoboPro from Fisher Technik to know what is possible.
> In the end, can I ask you what software and platform are you using to
> develop wxArt2D?
>   
VC 2005/2008 mainly. And now and then i test on Linux. Debugging in VC 
is so advanced, it's just a very good IDE. If it would be available on 
Linux, i would switch today :-) I tried Eclipse on windows, but still 
very confusing to me.

Regards,

Klaas





------------------------------------------------------------------------------
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to