Skip to content

Have objects depend on their respective compiler invocations #4331

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 26, 2017

Conversation

theotherjimmy
Copy link
Contributor

@theotherjimmy theotherjimmy commented May 16, 2017

Description

Each of C, C++, ASM and linker now depend on their command line invocations.
For example, adding -DFoo to the mbed CLI invocation (mbed compile -DFoo)
would force a complete recompile. Further, switching build profiles will force
all C and C++ to recompile. The assembler flags are the same ¯\_(ツ)_/¯.

Resolves #2412

TODO

  • manual verification that modifying each part of a build profile causes
    the appropriate rebuild
  • /morph test

@0xc0170
Copy link
Contributor

0xc0170 commented May 17, 2017

Please check travis, mbed 2 scripts failing.

+1 for fixing this

@0xc0170
Copy link
Contributor

0xc0170 commented May 18, 2017

/morph test

@adbridge
Copy link
Contributor

/morph test

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 299

All builds and test passed!

@adbridge adbridge self-requested a review May 25, 2017 11:23
@sg- sg- merged commit 704ffd7 into ARMmbed:master May 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants