Re: [Kicad-developers] [PATCH] Build fixes: bitmaps and polygon

2019-01-31 Thread Wayne Stambaugh
On 1/31/2019 1:15 PM, Simon Richter wrote: > Hi, > > On 31.01.19 18:11, Simon Richter wrote: > >>> I would prefer that we create a base units object and then derived >>> application level units objects as needed. These objects would be >>> small, compile quickly, and could be included in the

[Kicad-developers] Build failed in Jenkins: linux-kicad-full-gcc-head #4598

2019-01-31 Thread Miguel Angel Ajo
See Changes: [jeff] Perform cancel action by hand. -- [...truncated 145.49 KB...] [ 82%] Building CXX object

Re: [Kicad-developers] [PATCH] Build fixes: bitmaps and polygon

2019-01-31 Thread Simon Richter
Hi, On 31.01.19 18:11, Simon Richter wrote: >> I would prefer that we create a base units object and then derived >> application level units objects as needed. These objects would be >> small, compile quickly, and could be included in the common library so >> they are available everywhere.

[Kicad-developers] Jenkins build is back to normal : linux-kicad-full-gcc-head #4599

2019-01-31 Thread Miguel Angel Ajo
See ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe :

Re: [Kicad-developers] [PATCH] Fix layout in exit confirm dialog

2019-01-31 Thread jp charras
Le 30/01/2019 à 17:53, John Beard a écrit : > Hi, > > Tiny patch to lay the exit confirm dialog out using its own Layout call. > > Without this, it was laying out incorrectly in the footprint editor > [1]. Not sure why not in pcbnew, but this seems to work! > > Cheers, > > John > > [1]:

Re: [Kicad-developers] [PATCH] Build fixes: bitmaps and polygon

2019-01-31 Thread John Beard
Hi Tom, I'm not really sure. I suppose it depends on the benefits it brings (and in future with shared common libs, perhaps it won't matter as much?) Doesn't separate KiFace imply a separate unit test and utility tools too, which would be a bit of extra overhead? Unless you can still combine?

Re: [Kicad-developers] [PATCH] Build fixes: bitmaps and polygon

2019-01-31 Thread jp charras
Le 31/01/2019 à 15:40, John Beard a écrit : > Hi, > > Two patches for building these libs: > > 1) Make bitmaps a "Proper" library. By splitting it off like this, the > includes for each of the hundreds of XPM cpp files do not need to suck > in WX headers. This speeds compilation by something

Re: [Kicad-developers] [PATCH] Build fixes: bitmaps and polygon

2019-01-31 Thread Tomasz Wlostowski
On 31/01/2019 15:40, John Beard wrote: > Hi, > > Two patches for building these libs: > > 1) Make bitmaps a "Proper" library. By splitting it off like this, the > includes for each of the hundreds of XPM cpp files do not need to suck > in WX headers. This speeds compilation by something like 10x

Re: [Kicad-developers] [PATCH] Build fixes: bitmaps and polygon

2019-01-31 Thread John Beard
The second set of patches I just sent seems to work on the Ubuntu docker image with CMake 3.5.1. Cheers, John On Thu, Jan 31, 2019 at 4:42 PM Wayne Stambaugh wrote: > > On 1/31/2019 11:27 AM, jp charras wrote: > > Le 31/01/2019 à 16:52, jp charras a écrit : > >> Le 31/01/2019 à 16:29, Wayne

Re: [Kicad-developers] [PATCH] Build fixes: bitmaps and polygon

2019-01-31 Thread Wayne Stambaugh
On 1/31/2019 11:27 AM, jp charras wrote: > Le 31/01/2019 à 16:52, jp charras a écrit : >> Le 31/01/2019 à 16:29, Wayne Stambaugh a écrit : >>> JP, >>> >>> On 1/31/2019 10:11 AM, jp charras wrote: Le 31/01/2019 à 15:40, John Beard a écrit : > Hi, > > Two patches for building these

Re: [Kicad-developers] [PATCH] Build fixes: bitmaps and polygon

2019-01-31 Thread jp charras
Le 31/01/2019 à 17:27, John Beard a écrit : > Hmm, > > Perhaps this: > > target_include_directories( pcbnew_kiface_objects PRIVATE >$ > ) > > This gives the desired effect of providing the transitive include > dirs, but doesn't require the recent CMake ability to link OBJECT > libraries.

Re: [Kicad-developers] [PATCH] Build fixes: bitmaps and polygon

2019-01-31 Thread Wayne Stambaugh
Simon, On 1/31/2019 10:49 AM, Simon Richter wrote: > Hi, > > On 31.01.19 16:01, John Beard wrote: > >> I'm not really sure. I suppose it depends on the benefits it brings (and >> in future with shared common libs, perhaps it won't matter as much?) > > I doubt it makes much of a difference —

Re: [Kicad-developers] [PATCH] Build fixes: bitmaps and polygon

2019-01-31 Thread Wayne Stambaugh
On 1/31/2019 11:17 AM, Simon Richter wrote: > Hi, > > On 31.01.19 16:11, jp charras wrote: > >> "CMake Error at pcbnew/CMakeLists.txt:645 (target_link_libraries): >> Object library target "pcbnew_kiface_objects" may not link to anything." > > By the way, why are we even linking pcbnew twice?

Re: [Kicad-developers] [PATCH] Build fixes: bitmaps and polygon

2019-01-31 Thread John Beard
Hi JP, On Thu, Jan 31, 2019 at 4:55 PM jp charras wrote: > > > Perhaps this: > > > > target_include_directories( pcbnew_kiface_objects PRIVATE > >$ > > ) > > Unfortunately, does not work. Is it the same error? Cheers, John ___ Mailing list:

Re: [Kicad-developers] [PATCH] Build fixes: bitmaps and polygon

2019-01-31 Thread jp charras
Le 31/01/2019 à 17:48, John Beard a écrit : > The second set of patches I just sent seems to work on the Ubuntu > docker image with CMake 3.5.1. > > Cheers, > > John Hi John, After cleaning the build directory and reappling your second set, the build works. I tested it on msys2 with cmake 3.7,

Re: [Kicad-developers] [PATCH] Build fixes: bitmaps and polygon

2019-01-31 Thread Simon Richter
Hi Wayne, On 31.01.19 17:49, Wayne Stambaugh wrote: > I would prefer that we create a base units object and then derived > application level units objects as needed. These objects would be > small, compile quickly, and could be included in the common library so > they are available everywhere.

Re: [Kicad-developers] [PATCH] Build fixes: bitmaps and polygon

2019-01-31 Thread Simon Richter
Hi, On 31.01.19 16:01, John Beard wrote: > I'm not really sure. I suppose it depends on the benefits it brings (and > in future with shared common libs, perhaps it won't matter as much?) I doubt it makes much of a difference — the biggest hot spots in compile time are: - waiting for

Re: [Kicad-developers] [PATCH] Build fixes: bitmaps and polygon

2019-01-31 Thread jp charras
Le 31/01/2019 à 16:29, Wayne Stambaugh a écrit : > JP, > > On 1/31/2019 10:11 AM, jp charras wrote: >> Le 31/01/2019 à 15:40, John Beard a écrit : >>> Hi, >>> >>> Two patches for building these libs: >>> >>> 1) Make bitmaps a "Proper" library. By splitting it off like this, the >>> includes for

Re: [Kicad-developers] [PATCH] Build fixes: bitmaps and polygon

2019-01-31 Thread jp charras
Le 31/01/2019 à 16:52, jp charras a écrit : > Le 31/01/2019 à 16:29, Wayne Stambaugh a écrit : >> JP, >> >> On 1/31/2019 10:11 AM, jp charras wrote: >>> Le 31/01/2019 à 15:40, John Beard a écrit : Hi, Two patches for building these libs: 1) Make bitmaps a "Proper" library.

Re: [Kicad-developers] [PATCH] Build fixes: bitmaps and polygon

2019-01-31 Thread Wayne Stambaugh
JP, On 1/31/2019 10:11 AM, jp charras wrote: > Le 31/01/2019 à 15:40, John Beard a écrit : >> Hi, >> >> Two patches for building these libs: >> >> 1) Make bitmaps a "Proper" library. By splitting it off like this, the >> includes for each of the hundreds of XPM cpp files do not need to suck >> in

Re: [Kicad-developers] [PATCH] Build fixes: bitmaps and polygon

2019-01-31 Thread Simon Richter
Hi, On 31.01.19 16:29, Wayne Stambaugh wrote: > I didn't have any problem creating a 32 bit build using msys2. It maybe > your CMake version. I'm using CMake 3.12.4. I also did a clean build > so that could the issue. This change works pretty well so I hope it's > not a CMake version issue.

Re: [Kicad-developers] [PATCH] Build fixes: bitmaps and polygon

2019-01-31 Thread Simon Richter
Hi, On 31.01.19 16:11, jp charras wrote: > "CMake Error at pcbnew/CMakeLists.txt:645 (target_link_libraries): > Object library target "pcbnew_kiface_objects" may not link to anything." By the way, why are we even linking pcbnew twice? The python module and the kiface are bitwise identical on

Re: [Kicad-developers] [PATCH] Build fixes: bitmaps and polygon

2019-01-31 Thread jp charras
Le 31/01/2019 à 18:21, John Beard a écrit : > Hi JP, > > On Thu, Jan 31, 2019 at 4:55 PM jp charras wrote: >> >>> Perhaps this: >>> >>> target_include_directories( pcbnew_kiface_objects PRIVATE >>>$ >>> ) >> >> Unfortunately, does not work. > > Is it the same error? > > Cheers, > > John >