Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

[ut] Pull common logic out into a common makefile.#1352

Merged
DHowett-MSFT merged 2 commits into
microsoft:developfrom
DHowett-MSFT:201611-ut-makefiles
Nov 10, 2016
Merged

[ut] Pull common logic out into a common makefile.#1352
DHowett-MSFT merged 2 commits into
microsoft:developfrom
DHowett-MSFT:201611-ut-makefiles

Conversation

@DHowett-MSFT

@DHowett-MSFT DHowett-MSFT commented Nov 10, 2016

Copy link
Copy Markdown

This is the develop side of the Makefile changes from #1348!

Normal use is documented in Foundation/Makefile.

The aggregate makefile has been updated to truly support multiple tests.


This change is Reviewable

SRCFILES := $(wildcard $(SRCDIR)/*.m*)
RF_SRCFILES := $(wildcard $(SRCDIR)/ReferenceFoundation/*.mm)
# ... and in ReferenceFoundation.
UT_FILES += $(wildcard ReferenceFoundation/*.mm)

@aballway aballway Nov 10, 2016

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: .m here? --Scratch that, maybe a comment saying all are .mm in RF

CFLAGS += -mmacosx-version-min=$(OSX_VERSION_MIN)
CFLAGS += $(UT_CFLAGS)

_UT_FRAMEWORKS := CoreFoundation Foundation $(UT_FRAMEWORKS)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$(UT_FRAMEWORKS) [](start = 44, length = 16)

this doesn't seem to be declared anywhere, is the expectation that we'll have dirty flags when making this makefile?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of these can be empry; UT_FRAMEWORKS is one of them.

If RESOURCES, RESOURCE_DIRS, FRAMEWORKS, CFLAGS, or LDFLAGS are empty, they're ignored.

@ms-jihua

Copy link
Copy Markdown
Contributor

:shipit:

@DHowett-MSFT

Copy link
Copy Markdown
Author

Bypassing CI builds as this change does not touch built collateral.

@DHowett-MSFT DHowett-MSFT merged commit 9c92bf2 into microsoft:develop Nov 10, 2016
@DHowett-MSFT DHowett-MSFT deleted the 201611-ut-makefiles branch November 10, 2016 22:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants