Ensure that all .obj wait for the PCH to finish
Otherwise, you get compilation errors like: c:\Qt\qt5\qtbase\src\corelib\global\qlogging.cpp : fatal error C1083: Cannot open precompiled header file: 'configure_pch.pch': Permission denied Change-Id: I56401ce7f6aff32e97617c3b4fd5fe06fbeebf58 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
parent
260fe98525
commit
4bbfedd353
@ -84,6 +84,8 @@ clean:
|
||||
$(PCH): $(CONFSRC)\configure_pch.h
|
||||
$(CXX) -c -Yc $(CXXFLAGS_BARE) -Fp$@ -Foconfigure_pch.obj -TP $**
|
||||
|
||||
$(OBJECTS): $(PCH)
|
||||
|
||||
main.obj: $(CONFSRC)\main.cpp $(CONFSRC)\configureapp.h $(PCH)
|
||||
configureapp.obj: $(CONFSRC)\configureapp.cpp $(CONFSRC)\configureapp.h $(CONFSRC)\environment.h $(CONFSRC)\tools.h $(PCH)
|
||||
environment.obj: $(CONFSRC)\environment.cpp $(CONFSRC)\environment.h $(PCH)
|
||||
|
Loading…
Reference in New Issue
Block a user