kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #06911
Re: problem when compiling kicad with -DMAINTAIN_PNGS=ON
-
To:
fabrizio <zonkyu@xxxxxxxxx>, KiCad Developers <kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
From:
Dick Hollenbeck <dick@xxxxxxxxxxx>
-
Date:
Fri, 16 Sep 2011 12:36:49 -0500
-
In-reply-to:
<CA+Mgg7NPuM95vTuNBKBWQfQo1gkXDuaa+t9fcBbWrB9RB8FyvA@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13
On 09/16/2011 03:16 AM, fabrizio wrote:
> On Fri, Sep 16, 2011 at 1:39 AM, Dick Hollenbeck <dick@xxxxxxxxxxx> wrote:
>> On 09/14/2011 03:42 PM, fabrizio wrote:
>>> Hello,
>>> following there steps:
>>>
>>> bzr branch lp:kicad kicad
>>> bzr branch kicad kicad_exp
>>> cd kicad_exp
>>> mkdir build
>>> cd build
>>> cmake ../ -DKICAD_TESTING_VERSION=ON -DCMAKE_BUILD_TYPE=Debug -DMAINTAIN_PNGS=ON
>>> make -j 4
>>>
>>> it cause the whole PNG set (and relative .cpp) to get rebuilt. I guess
>>> this should not happen but instead rebuilding should happen only when
>>> new .svg files are made.
>>
>> First, you should only run cmake about twice per year. Otherwise run only make.
>>
>> If MAINTAIN_PNGS is set true, you are telling CMake that you intend for *.cpp's
>> to depend on *.png's and *.png's to depend on *.svg's. Nothing is broken and
>> this is the only way it can work.
>>
>> You need to have the PNGs in such a situation. Nothing to fix, nothing is broken.
>>
>> But thereafter, simply run make, not cmake.
> Dick, I do not understand what this means.
Read what Hauptmech said in his clarification.
Follow ups
References