Author Topic: How to reduce build time wxWidgets application??  (Read 5426 times)

GGL

  • Guest
How to reduce build time wxWidgets application??
« 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?

Offline aurisc4

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: How to reduce build time wxWidgets application??
« Reply #1 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...

GGL

  • Guest
Re: How to reduce build time wxWidgets application??
« Reply #2 on: October 12, 2008, 06:49:17 pm »
When i create wxWidgets application in master, i choose "Create and use precompiled header (PCH)"