Skip to content

internal project file - #1856

Merged
Randalphwa merged 8 commits into
mainfrom
internal_project_file
Sep 19, 2026
Merged

Randalphwa merged 8 commits into
mainfrom
internal_project_file

Conversation

@Randalphwa

@Randalphwa Randalphwa commented Sep 19, 2026

Copy link
Copy Markdown
Member

This PR moves all of the internal-only UI into it's own project file -- the internal generated .cmake file combines with a cmake/internal.cmake file to keep all of the internal UI and code together, so that it only gets compiled into the project when actually requested.

This PR also removes the hidden '"test_menu" command line option. Trying to maintain which testing code was under the menu, or under internal, or Debug-only builds was getting more and more complicated. I'm expecting to expand the testing functionality.

There's really no point in having these in the main project file given that they are designed for maintainer/tester use.
Use defined(INTERNAL_TESTING) instead.

This uncovered some bugs in reporting assertion messages before the message logging window was displayed -- which has now been fixed.
This function is not internal-only, so it needed to be moved out of the internal-only code.
@Randalphwa
Randalphwa marked this pull request as draft September 19, 2026 14:12
Guard the message-logger window, teardown, and project-import
log clearing behind INTERNAL_TESTING, and make the MSG_* macros
inline no-ops elsewhere, fixing Release link failures now that
msg_logging.cpp is not compiled.
@Randalphwa
Randalphwa marked this pull request as ready for review September 19, 2026 14:53
@Randalphwa
Randalphwa merged commit dd10b0d into main Sep 19, 2026
7 checks passed
@Randalphwa
Randalphwa deleted the internal_project_file branch September 19, 2026 14:53
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