Thanks a lot for your help, guys.

To be honest i was running make app (msw-app.sh, actually) everytime haha

As a newcomer its been hard wrapping my head around everything, especially 
since i'm used to interpreted languages - and Java, which is, well, Java.

(Christof, those C++17 conference videos you've sent me still gives me the 
nightmares)

So definitely i would say a better detailed dev guide would be great heh 🙂 We 
even discussed this 
briefly<https://lists.puredata.info/pipermail/pd-list/2019-10/126180.html> in 
the list.

If i had the knowledge i would definitely help writing it - but i can help 
reviewing/testing.

Anyway thanks again for your tips. They will save me lots of time!

Cheers,
Henri.


________________________________
De: Dan Wilcox <[email protected]>
Enviado: terça-feira, 21 de abril de 2020 11:50
Para: Christof Ressi <[email protected]>; Henri Augusto Bisognini 
<[email protected]>
Cc: pd-dev <[email protected]>
Assunto: Re: [PD-dev] PD-specific tips for compiling faster on Windows

Actually, 1-2 minutes is pretty good! Before Christof helped with improving the 
build on Windows, it was more into the 10 minute range due to the layout and 
compilation order of the files.

Christof is right in that if you are just testing smaller changes, you can just 
rebuild the core and put the compiled file into the bin folder to run it 
without having to rebuild the whole thing. I also do this on macOS where I 
build the Pd core and simply copy the updated pd executable into the .app 
bundle without rebuilding the entire bundle each time.

Maybe we should include some dev / debug tips and tricks about this to the 
INSTALL.txt?

There has been interest for using CMake for libpd, so I could see that as a 
companion method to build Pd but not a replacement for autotools IMO. Then we 
would have 3 methods to build it, yeah! :P In any case, as long as something 
like this is maintained, it's all good as Pd should be easy to compile on it's 
platforms.

On Apr 21, 2020, at 12:00 PM, 
[email protected]<mailto:[email protected]> wrote:

Date: Tue, 21 Apr 2020 10:24:54 +0200
From: Christof Ressi <[email protected]<mailto:[email protected]>>
To: [email protected]<mailto:[email protected]>
Subject: Re: [PD-dev] PD-specific tips for compiling faster on Windows
Message-ID: 
<[email protected]<mailto:[email protected]>>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"

Autotools (especially libtool) is very slow on MinGW. On my system,
compiling the /extra externals takes significantly longer than compiling
the actual Pd application, only because of libtool.


If you want to get faster build times, rewrite the build system in CMake
and compile with MSVC :-)


How often do you need to recompile whole Pd? Usually, you just change
1-2 files and this should compile and link rather quickly. "make app" is
also slow (again, because of libtool). Usually, I only run "make app"
once and then just copy pd.dll into the Pd folder on the command line
(assuming you only make changes to the core):


cp ./src/pd.dll ./pd-0.50.2/bin


Christof

--------
Dan Wilcox
@danomatika<http://twitter.com/danomatika>
danomatika.com<http://danomatika.com>
robotcowboy.com<http://robotcowboy.com>



_______________________________________________
Pd-dev mailing list
[email protected]
https://lists.puredata.info/listinfo/pd-dev

Reply via email to