Skip to content

fixed #14088 - made CMake build with BUILD_CLI=Off work#7765

Merged
firewave merged 4 commits intodanmar:mainfrom
firewave:build-cli
Aug 28, 2025
Merged

fixed #14088 - made CMake build with BUILD_CLI=Off work#7765
firewave merged 4 commits intodanmar:mainfrom
firewave:build-cli

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

No description provided.

@firewave
Copy link
Copy Markdown
Collaborator Author

Still need to have a proper look at this and adjust some CI builds which should have triggered this.

@danmar
Copy link
Copy Markdown
Owner

danmar commented Aug 22, 2025

Thanks for working on this! This is annoying for me.

@firewave
Copy link
Copy Markdown
Collaborator Author

I spotted some issue with BUILD_CLI myself but I was still focused on the warnings fixes for now.

@firewave firewave changed the title fixed #14088 - made CMake build with BUILD_CLI=Off BUILD_GUI=Off work fixed #14088 - made CMake build with BUILD_CLI=Off work Aug 23, 2025
@firewave
Copy link
Copy Markdown
Collaborator Author

I actually had these changes already sitting in a branch...

@firewave firewave force-pushed the build-cli branch 2 times, most recently from 4d35fa9 to 50d39c7 Compare August 26, 2025 09:54
@firewave firewave force-pushed the build-cli branch 7 times, most recently from 57e065c to d5aad7b Compare August 26, 2025 10:20
@firewave firewave force-pushed the build-cli branch 2 times, most recently from 8b25285 to 12f0950 Compare August 26, 2025 10:27
@firewave firewave marked this pull request as ready for review August 26, 2025 10:27
@sonarqubecloud
Copy link
Copy Markdown

Comment thread cmake/options.cmake
Comment on lines +66 to +68
if(NOT BUILD_CLI AND BUILD_TESTS)
message(FATAL_ERROR "Building the tests requires the CLI to be build as well")
endif()
Copy link
Copy Markdown
Collaborator Author

@firewave firewave Aug 26, 2025

Choose a reason for hiding this comment

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

The CLI and test code are simply to intertwined to be separated so reject this combination for now.

@firewave firewave merged commit 1219ae8 into danmar:main Aug 28, 2025
63 checks passed
@firewave firewave deleted the build-cli branch August 28, 2025 15:34
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