windows.mk (b63233d8) | windows.mk (e6091915) |
---|---|
1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 295 unchanged lines hidden (view full) --- 304 -c $(3) \ 305 -Fo$(1)) 306$(call gb_Object__command_deponcompile,$(1),$(4),$(3),$(DEFS),$(T_CXXFLAGS),$(INCLUDE)) 307endef 308 309 310# PrecompiledHeader class 311 | 1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 295 unchanged lines hidden (view full) --- 304 -c $(3) \ 305 -Fo$(1)) 306$(call gb_Object__command_deponcompile,$(1),$(4),$(3),$(DEFS),$(T_CXXFLAGS),$(INCLUDE)) 307endef 308 309 310# PrecompiledHeader class 311 |
312gb_PrecompiledHeader_get_enableflags = -Yu$(1).hxx \ | 312gb_PrecompiledHeader_get_enableflags = -DPRECOMPILED_HEADERS -Yu$(1).hxx \ |
313 -Fp$(call gb_PrecompiledHeader_get_target,$(1)) 314 315ifeq ($(gb_FULLDEPS),$(true)) 316define gb_PrecompiledHeader__command_deponcompile 317$(call gb_Helper_abbreviate_dirs_native,\ 318 $(OUTDIR)/bin/makedepend$(gb_Executable_EXT) \ 319 $(4) $(5) \ 320 -I$(dir $(3)) \ --- 18 unchanged lines hidden (view full) --- 339$(call gb_Helper_abbreviate_dirs_native,\ 340 mkdir -p $(dir $(1)) $(dir $(call gb_PrecompiledHeader_get_dep_target,$(2))) && \ 341 unset INCLUDE && \ 342 $(gb_CXX) \ 343 $(4) $(5) -Fd$(PDBFILE) \ 344 -I$(dir $(3)) \ 345 $(6) \ 346 -c $(3) \ | 313 -Fp$(call gb_PrecompiledHeader_get_target,$(1)) 314 315ifeq ($(gb_FULLDEPS),$(true)) 316define gb_PrecompiledHeader__command_deponcompile 317$(call gb_Helper_abbreviate_dirs_native,\ 318 $(OUTDIR)/bin/makedepend$(gb_Executable_EXT) \ 319 $(4) $(5) \ 320 -I$(dir $(3)) \ --- 18 unchanged lines hidden (view full) --- 339$(call gb_Helper_abbreviate_dirs_native,\ 340 mkdir -p $(dir $(1)) $(dir $(call gb_PrecompiledHeader_get_dep_target,$(2))) && \ 341 unset INCLUDE && \ 342 $(gb_CXX) \ 343 $(4) $(5) -Fd$(PDBFILE) \ 344 -I$(dir $(3)) \ 345 $(6) \ 346 -c $(3) \ |
347 -DPRECOMPILED_HEADERS \ |
|
347 -Yc$(notdir $(patsubst %.cxx,%.hxx,$(3))) -Fp$(1) -Fo$(1).obj) 348$(call gb_PrecompiledHeader__command_deponcompile,$(1),$(2),$(3),$(4),$(5),$(6)) 349endef 350 351# NoexPrecompiledHeader class 352 353gb_NoexPrecompiledHeader_get_enableflags = -Yu$(1).hxx \ 354 -Fp$(call gb_NoexPrecompiledHeader_get_target,$(1)) --- 25 unchanged lines hidden (view full) --- 380$(call gb_Helper_abbreviate_dirs_native,\ 381 mkdir -p $(dir $(1)) $(dir $(call gb_NoexPrecompiledHeader_get_dep_target,$(2))) && \ 382 unset INCLUDE && \ 383 $(gb_CXX) \ 384 $(4) $(5) -Fd$(PDBFILE) \ 385 -I$(dir $(3)) \ 386 $(6) \ 387 -c $(3) \ | 348 -Yc$(notdir $(patsubst %.cxx,%.hxx,$(3))) -Fp$(1) -Fo$(1).obj) 349$(call gb_PrecompiledHeader__command_deponcompile,$(1),$(2),$(3),$(4),$(5),$(6)) 350endef 351 352# NoexPrecompiledHeader class 353 354gb_NoexPrecompiledHeader_get_enableflags = -Yu$(1).hxx \ 355 -Fp$(call gb_NoexPrecompiledHeader_get_target,$(1)) --- 25 unchanged lines hidden (view full) --- 381$(call gb_Helper_abbreviate_dirs_native,\ 382 mkdir -p $(dir $(1)) $(dir $(call gb_NoexPrecompiledHeader_get_dep_target,$(2))) && \ 383 unset INCLUDE && \ 384 $(gb_CXX) \ 385 $(4) $(5) -Fd$(PDBFILE) \ 386 -I$(dir $(3)) \ 387 $(6) \ 388 -c $(3) \ |
389 -DPRECOMPILED_HEADERS \ |
|
388 -Yc$(notdir $(patsubst %.cxx,%.hxx,$(3))) -Fp$(1) -Fo$(1).obj) 389$(call gb_NoexPrecompiledHeader__command_deponcompile,$(1),$(2),$(3),$(4),$(5),$(6)) 390endef 391 392# LinkTarget class 393 394gb_LinkTarget_CFLAGS := $(gb_CFLAGS) $(gb_CFLAGS_WERROR) 395gb_LinkTarget_CXXFLAGS := $(gb_CXXFLAGS) $(gb_CXXFLAGS_WERROR) --- 368 unchanged lines hidden --- | 390 -Yc$(notdir $(patsubst %.cxx,%.hxx,$(3))) -Fp$(1) -Fo$(1).obj) 391$(call gb_NoexPrecompiledHeader__command_deponcompile,$(1),$(2),$(3),$(4),$(5),$(6)) 392endef 393 394# LinkTarget class 395 396gb_LinkTarget_CFLAGS := $(gb_CFLAGS) $(gb_CFLAGS_WERROR) 397gb_LinkTarget_CXXFLAGS := $(gb_CXXFLAGS) $(gb_CXXFLAGS_WERROR) --- 368 unchanged lines hidden --- |