Skip to content
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

blit_executable(_int_flash) improvements #813

Merged
merged 7 commits into from
May 17, 2023

Conversation

Daft-Freak
Copy link
Collaborator

Basically this replaces blit_executable_int_flash(name crc.cpp) with blit_executable(name INTERNAL_FLASH src.cpp) but also:

  • makes it work for external projects
  • allows overriding the default with -DBLIT_EXECUTABLE_INTERNAL_FLASH=
  • removes the sdl/pico stubs

(Somewhat inspired by add_executable(WIN32/MACOSX_BUNDLE) ... and needing a similar thing for pico standalone/loader builds)

@Gadgetoid
Copy link
Contributor

oooh! Tidy! I guess there are precious few projects using this at all so it's a pretty safe merge?

@Daft-Freak
Copy link
Collaborator Author

If any, you'd have to manually pull in 32blit-stm32's CMakeLists to get _int_flash to work in an external project without this...

(Hmm, if anyone was doing that, it would probably still work as the function is still there...)

@Gadgetoid Gadgetoid merged commit 952ee7b into 32blit:master May 17, 2023
@Gadgetoid
Copy link
Contributor

Boop beep I am ... not a bot 😆

Thank you!

@Daft-Freak Daft-Freak deleted the blit-executable branch May 17, 2023 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants