Community
Participate
Working Groups
Build ID: Eclipse 3.4.0.I20080502-0100, CDT 5.0.0-I200805191116 Project structure: 1. Create C++ project "lib1", choose Static Library, Cygwin GCC. 2. Create lib1.cpp in the project lib1 and add function void func1(void) {} to lib1.cpp. 3. Create C++ project "lib2", choose Static Library, Cygwin GCC. 4. Create lib2.cpp in the project lib2 and add function void func2(void) {} to lib2.cpp 5. Create C++ project "MainProject", choose Executable, Hello World C++ Project, Cygwin GCC 6. Add extern declarations and calls to func1() and func2() in MainProject.cpp. 7. Add lib1 and lib2 to Libraries in Cygwin C++ linker settings in MainProject. 8. Add library search paths "..\..\lib1\Debug" and "..\..\lib2\Debug" in Cygwin C++ linker settings in MainProject. 9. Add project references: MainProject references lib1 and lib2. Steps to reproduce and problems: 1. Build MainProject. The project is built. Modify MainProject.cpp, e.g. add an empty line. Build MainProject. - what would be great: Only the changed cpp-file should be compiled and then the main executable file MainProject.exe should be linked. - what is actually done: Makefiles of all projects are generated one more time although only one cpp-file was changed. Make is called on all projects. 2. Build gccMain. The project is built. Build the project again. - what would be great: nothing is done, the build stops immediately - what is actually done: Makefiles of all projects are generated one more time although nothing has changed. Make is called on all projects. 3. Clean gccMain. The project is cleaned. Clean it again. - what would be great: nothing is done, the clean stops immediately - what is actually done: Clean is executed on all projects one more time. More information: The main problem is rebuilding the main project after making some changes. The build takes a lot of time in the case of a large number of projects.
In steps 2 and 3 MainProject is built or cleaned.
Changed severity to major: major loss of CDT build function.