Changeset 3344 in kBuild
- Timestamp:
- May 20, 2020 4:43:48 PM (5 years ago)
- Location:
- trunk/kBuild
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer-pass2-compiling-targets.kmk
r3304 r3344 298 298 endef 299 299 300 ifdef KMK_WITH_QUOTING 301 define def_src_handler_obj 302 ifeq ($(defpath),) 303 $(target)_2_OBJS += $(source) 304 else 305 $(target)_2_OBJS += $(qabspathex ,$(source), $(defpath)) 306 endif 307 endef 308 else 300 309 define def_src_handler_obj 301 310 ifeq ($(defpath),) … … 305 314 endif 306 315 endef 316 endif 307 317 ## @} 308 318 … … 325 335 # @param much-more... 326 336 # @returns othersrc, $(target)_2_OBJS, ++ 337 ifdef KMK_WITH_QUOTING 338 define def_target_sources 339 local target_src_handlers := $($(target)_SRC_HANDLERS) $(KBUILD_SRC_HANDLERS) 340 $(foreachfile source,\ 341 $($(target)_SOURCES)\ 342 $($(target)_SOURCES.$(bld_trg))\ 343 $($(target)_SOURCES.$(bld_trg).$(bld_type))\ 344 $($(target)_SOURCES.$(bld_trg).$(bld_trg_arch))\ 345 $($(target)_SOURCES.$(bld_trg).$(bld_trg_arch).$(bld_type))\ 346 $($(target)_SOURCES.$(bld_trg_arch))\ 347 $($(target)_SOURCES.$(bld_trg_cpu))\ 348 $($(target)_SOURCES.$(bld_type))\ 349 ,$(evalvalctx def_src_handler_one) ) 350 351 $(foreachfile source,\ 352 $($(target)_GEN_SOURCES_)\ 353 $($(target)_GEN_SOURCES_.$(bld_trg))\ 354 $($(target)_GEN_SOURCES_.$(bld_trg).$(bld_type))\ 355 $($(target)_GEN_SOURCES_.$(bld_trg).$(bld_trg_arch))\ 356 $($(target)_GEN_SOURCES_.$(bld_trg).$(bld_trg_arch).$(bld_type))\ 357 $($(target)_GEN_SOURCES_.$(bld_trg_arch))\ 358 $($(target)_GEN_SOURCES_.$(bld_trg_cpu))\ 359 $($(target)_GEN_SOURCES_.$(bld_type))\ 360 ,$(evalvalctx def_src_handler_one) ) 361 endef # def_target_sources 362 else 327 363 define def_target_sources 328 364 local target_src_handlers := $($(target)_SRC_HANDLERS) $(KBUILD_SRC_HANDLERS) … … 349 385 ,$(evalvalctx def_src_handler_one) ) 350 386 endef # def_target_sources 387 endif 351 388 $(eval-opt-var def_target_sources) 352 389 -
trunk/kBuild/header.kmk
r3308 r3344 408 408 # Paths and stuff. 409 409 # 410 411 ## Cache this query. 412 if1of (quote,$(KMK_FEATURES)) 413 KMK_WITH_QUOTING := 1 414 endif 410 415 411 416 # Adjust DEPTH first.
Note:
See TracChangeset
for help on using the changeset viewer.