Hi,
I have an issue with the compile time increasing with every new class/file added to the project. That is due to the fact that the project files are always rebuilt. It’s working fine when only a single .ino file is part of the project but as soon as you add more files to the project, the problems starts
For example if you have a small sketch, including the file Foo.h, both the sketch and Foo.cpp are always rebuilt
#include "Foo.h"
Foo _foo = Foo();
void setup() {
}
void loop() {
}
Quote:Building project code ...
cpp" -o
"..." riants\esp32" "C:\Users\Johan\AppData\Local\Temp\VMBuilds\Test\esp32_esp32\Release\Foo.cpp" -o "C:\Users\Johan\AppData\Local\Temp\VMBuilds\Test\esp32_esp32\Release\Foo.cpp.o"
If Foo is deleted, both from the project and from the sketch, everything works fine.
void setup() {
}
void loop() {
}
Quote:Building project code ...
Using previously compiled file: C:\Users\Johan\AppData\Local\Temp\VMBuilds\Test\esp32_esp32\Release\Test.cpp.o
All this works fine when building from the Arduino IDE.
Is this a bug or have I missed some settings somewhere?
Attaching code files and build log
Regards
Johan