Debug 2 instances of same application (2 different workspaces):
- common sources
- common intermediate directory (Debug)
- different output exec files (in different directories)
Change a source file, rebuild 1 project - ok.
Rebuild 2 project - ok.
After that I would expect that no rebuild needed while I am not change the source files... but F7 in 1 project start rebuild output file (exec).
In addition after rebuild 1 project, F7 in 2 project also start rebuild. So to start debugging 2 projects I always need 2 unnecessary rebuilds
Problem is in Makefile rule:
Code: Select all
$(OutputFile): $(IntermediateDirectory)/.d $(Objects)
@$(MakeDirCommand) $(@D)
@echo "" > $(IntermediateDirectory)/.d
@echo $(Objects0) > $(ObjectsFileList)
@echo $(Objects1) >> $(ObjectsFileList)
$(LinkerName) $(OutputSwitch)$(OutputFile) @$(ObjectsFileList) $(LibPath) $(Libs) $(LinkOptions)
Code: Select all
@echo "" > $(IntermediateDirectory)/.d
Is there option in Codelite to disable this command in Makefile?
PS. Clang, Codelite 6.1