Skip to content

Conversation

@crueter
Copy link
Contributor

@crueter crueter commented Dec 28, 2025

I may have gotten carried away.

  • I missed some stuff for end parenthesis because I accidentally
    searched within project files instead of the entire directory (so some
    thunk/test/windows stuff was missed), cleaned those up.
  • INTERFACE, PUBLIC, PRIVATE, RUNTIME, LIBRARY should be on
    the same line as the target name. (I should really invest in making a
    style guide...)
  • Some short statements were unnecessarily split across multiple
    lines--cleaned those up
  • Made a common LinkerGC module that applies gc-sections etc. to a
    target in Release mode
  • I'm forgetting something, probably

TODO:

  • What's with the list(APPEND LIBS...) stuff? It's used really
    inconsistently, sometimes not at all, sometimes it looks like there're
    duplicates? A more thorough cleanup is in order there.

Signed-off-by: crueter crueter@eden-emu.dev

@crueter crueter force-pushed the private-runtime-sameline branch from 0b9f72f to 20da9e8 Compare December 28, 2025 07:19
…tuff

I may have gotten carried away.

- I missed some stuff for end parenthesis because I accidentally
  searched within project files instead of the entire directory (so some
  thunk/test/windows stuff was missed), cleaned those up.
- `INTERFACE`, `PUBLIC`, `PRIVATE`, `RUNTIME`, `LIBRARY` should be on
  the same line as the target name. (I should really invest in making a
  style guide...)
- Some short statements were unnecessarily split across multiple
  lines--cleaned those up
- Made a common `LinkerGC` module that applies gc-sections etc. to a
  target in Release mode
- Usually for functions you want to have something on the first line,
  e.g. `FILES`/`DIRECTORY` for install, or the target/a positional
  argument, etc etc. Not always though, notably for some custom_command
  calls

TODO:
- What's with the `list(APPEND LIBS...)` stuff? It's used really
  inconsistently, sometimes not at all, sometimes it looks like there're
  duplicates? A more thorough cleanup is in order there.

Signed-off-by: crueter <crueter@eden-emu.dev>
@crueter crueter force-pushed the private-runtime-sameline branch from 20da9e8 to f8b2e82 Compare December 28, 2025 07:30
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.

1 participant