VirtualBox

Ignore:
Timestamp:
Sep 16, 2014 11:37:31 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
96122
Message:

Only depend on the precompiled header for sources files using it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r52723 r52758  
    918918  VirtualBox_CXXFLAGS      += -Winvalid-pch -fpch-preprocess
    919919  VirtualBox_INCS          <= $(VirtualBoxPch_0_OUTDIR)/src
    920   VirtualBox_INTERMEDIATES += $(VirtualBoxPch_0_OUTDIR)/src/precomp.h.gch
    921  endif
     920  $(foreach x,$(filter-out include/COMWrappers.cpp, $(filter %.cpp, \
     921        $(VirtualBox_SOURCES) \
     922        $(VirtualBox_SOURCES.$(KBUILD_TARGET)) \
     923        $(VirtualBox_SOURCES.$(KBUILD_TYPE)) \
     924   )),$(eval $(abspath $(PATH_OBJ)/VirtualBox/$(basename $(x)).o): $$$$(VirtualBoxPch_0_OUTDIR)/src/precomp.h.gch))
     925endif
    922926
    923927 TOOL_VirtualBoxPchLinker = Linker for VirtualBoxPch
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette