kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #18477
Re: wxWidgets vs boost utilities
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
jp charras <jp.charras@xxxxxxxxxx>
-
Date:
Sun, 07 Jun 2015 11:15:34 +0200
-
In-reply-to:
<CAHBNN+NUSwjLJyr34jJGDoBQmY8Jq=fTtpE+N3XzD-8VFaeWKw@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
Le 07/06/2015 10:51, Cirilo Bernardo a écrit :
> When I wrote the idf2igs tool/test program I modified the IDF code to use
> boost to
> (a) manipulate filenames and
> (b) manipulate time
>
> I made the modifications since the IGES code already uses boost_filesystem
> and I didn't want to pull in wxWidgets. Are there any foreseen difficulties
> in the future merging code which uses boost functions for filename
> manipulation
> and time formatting rather than the equivalent wxWidgets methods?
>
> - Cirilo
Unless you have complex requirements, i am thinking the best way is just
to use c and C++ libraries.
For basic file name changes (like extension) 10 lignes of code is enough.
Time formatting is also easy made with usual libs.
Building boost is a nightmare on Windows.
I had to remove this dependency and add these 10 lines of code to
compile the IDF code.
The less Boost is used, the better.
--
Jean-Pierre CHARRAS
References