Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: GGL on October 11, 2008, 07:40:24 pm

Title: How to reduce build time wxWidgets application??
Post by: GGL on October 11, 2008, 07:40:24 pm
Greetings all!
I'm beginner in wxWidgets applications development.
I use mingw 3.4.5 and codeblocks nightly build 5208 with wxWidgets 2.8.9
I create new wxWidgets application using master with precompiled headers and unicode support, empty application build time is about 40 sec, i use static wxWidgets. What should i do to reduce build time?
And 2nd question, why empty application with form only requires wxJpeg and wxTiff?
Title: Re: How to reduce build time wxWidgets application??
Post by: aurisc4 on October 12, 2008, 01:47:01 pm
Quote
I use mingw 3.4.5 and codeblocks nightly build 5208 with wxWidgets 2.8.9
I create new wxWidgets application using master with precompiled headers and unicode support, empty application build time is about 40 sec, i use static wxWidgets. What should i do to reduce build time?
Are you sure that precompiled header is used? 40 sec. is about the time without precompiles. See C::B wiki for using precompiled headers.
By the way, I noticed, that when I open C::B, I need sometimes manually precompile header, to make use of it...
Title: Re: How to reduce build time wxWidgets application??
Post by: GGL on October 12, 2008, 06:49:17 pm
When i create wxWidgets application in master, i choose "Create and use precompiled header (PCH)"