|
|
|
|
Attention |
Topic was automatically imported from the old Question2Answer platform. |
|
Asked By |
TheGoddamnShrike |
|
Old Version |
Published before Godot 3 was released. |
I’ve been compiling from source and the time to build seems excessively long. It would appear it does a full rebuild every time. It takes upwards of 10 - 15 minutes each time – for like single line changes in a modules cpp file.
Here’s the command I’m using to build:
“C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat” && c:\python27\scons p=windows
Can anyone explain what I’m doing wrong?
Thanks!
|
|
|
|
Reply From: |
shackra |
My guess is that you are doing nothing wrong. I compiled Godot for GNU/Linux inside a insolate environment and the compilation took maybe 45 minutes to complete.
|
|
|
|
Reply From: |
Calinou |
Godot’s build system was recently rewritten (it still uses SCons), but there is room for improvement. To compile Godot faster, you can use several CPU cores using scons p=windows -j4
for example. You will need pywin32 installed for this to work.
How much “recent”? I remember building Godot a few weeks ago, it took about 20 seconds when I modified a cpp file in a module.
Zylann | 2016-05-31 20:28