Skip to content

Conversation

@XuChe777
Copy link
Contributor

@XuChe777 XuChe777 commented Dec 5, 2025

Correct CMAKE_BUILD_TYPE usage

Problem and Scope

CMAKE_BUILD_TYPE has a standard list of appropriate values that does not include "Test," which the entire monorepo relies on currently.

Description

Will introduce a new way to check preset state that does not obfuscate the use of CMAKE_BUILD_TYPE.

Gotchas and Limitations

All future projects should be mindful of this change, as this changes the way projects should introduce their tests.

Testing

  • HOOTL testing
  • HITL testing
  • Human tested

Testing Details

Tested that compilations work for all preset.

Larger Impact

All future projects should be mindful of this change, as this changes the way projects should introduce their tests.

Additional Context and Ticket

#85

@XuChe777 XuChe777 self-assigned this Dec 5, 2025
@XuChe777 XuChe777 added Documentation Improvements or additions to documentation CMake Anything related to or dealing with CMake HOOTL Testing Having to do with or interacting with HOOTL testing 4 REDUCED Explicitly not a priority but would be nice to do down the road Enhancement New feature or request and removed Enhancement New feature or request labels Dec 5, 2025
@dchansen06 dchansen06 linked an issue Dec 5, 2025 that may be closed by this pull request
@dchansen06 dchansen06 added this to the Monorepo Niceties milestone Dec 5, 2025
@XuChe777 XuChe777 marked this pull request as ready for review December 5, 2025 06:26
@XuChe777 XuChe777 requested a review from dchansen06 as a code owner December 5, 2025 06:27
dchansen06
dchansen06 previously approved these changes Dec 5, 2025
Copy link
Contributor

@dchansen06 dchansen06 left a comment

Choose a reason for hiding this comment

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

I like the future proofing with TARGET_TYPE! Lgtm thx

@dchansen06
Copy link
Contributor

Investigating why actions did not run...

@dchansen06 dchansen06 force-pushed the correct-cmake-build-type branch 2 times, most recently from 50330e6 to 062faa0 Compare December 5, 2025 08:48
@dchansen06
Copy link
Contributor

Docker is currently having issues so 19957686754 fails, but that is 100% unrelated so I will override this anyway, thanks!

@dchansen06 dchansen06 merged commit 3ffca10 into main Dec 5, 2025
25 checks passed
@dchansen06 dchansen06 deleted the correct-cmake-build-type branch December 5, 2025 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4 REDUCED Explicitly not a priority but would be nice to do down the road CMake Anything related to or dealing with CMake Documentation Improvements or additions to documentation HOOTL Testing Having to do with or interacting with HOOTL testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HOOTLTest Preset Should Not Set CMAKE_BUILD_TYPE

2 participants