"clean" and "all" targets build different build configurations [message #1700497] |
Thu, 02 July 2015 23:24  |
Eclipse User |
|
|
|
Hypothetical: 2 library projects, one executable project, all with Debug and Release build configurations. Debug build config is active on the libraries, but the exe has the Release config set to active:
libA
libB
exe
exe (Debug)->Properties->C/C++ Build->References has libA (Debug) and libB (Debug) selected.
exe (Release)->Properties->C/C++ Build->References has libA (Release) and libB (Release) selected.
exe "Build Project" builds:
libA (Release)
libB (Release)
exe (Release)
exe "Clean Project" cleans:
libA (Debug)
libB (Debug)
exe (Release)
So build (make all) builds the referenced build configurations, but clean (make clean) cleans the active build configurations. Why do they act on different build configurations? AFAIK, CDT has been like this for a long time. I just have never understood how/why it could be correct or desired behaviour.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04450 seconds