wrye-bash / CBash

Home of CBash.DLL sources
GNU General Public License v2.0
9 stars 4 forks source link

Compilation speedup needed #12

Closed leandor closed 4 years ago

leandor commented 7 years ago

Currently fully compiling CBash from sources on Windows takes ~15 mins (see -> https://ci.appveyor.com/project/leandor/cbash/history) which makes development a bit annoying.

It's hard to try anything that affect the build setup created by CMake without triggering a full recompilation afterwards.

That's why I'm about to start trying some options to see if I can speed up compilation a bit.

First thing I'm gonna try is to setup CMake to use pre compiled headers for Visuall Studio, by using one of these (_cough_hackscough) solutions:

Second thing, even if the above works, I intend to split up CBash project in a couple of static lib projects + one static lib project per game to hold all the records and modfile.

Infernio commented 4 years ago

Note: cotire was added in c57940f4ba662b98c7efae37c717615b48348d6f.

Infernio commented 4 years ago

Compilation is pretty fast now, putting on backburner in case it gets worse again.