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

CMake UX Improvements #36

Merged
merged 4 commits into from
Oct 21, 2023
Merged

CMake UX Improvements #36

merged 4 commits into from
Oct 21, 2023

Conversation

Samir-Rashid
Copy link
Contributor

@Samir-Rashid Samir-Rashid commented Oct 19, 2023

Prevent source taint, minimize json dep size

Added the OpenCV code to prevent corrupting src and polluting repo from here:
https://github.com/opencv/opencv/blob/c96f48e7c91748f896e99f5bf943faf08cd98f0e/CMakeLists.txt#L12

Switched to the JSON cmake specific repo that has a lot of improvements
https://github.com/ArthurSonzogni/nlohmann_json_cmake_fetchcontent

Added the OpenCV code to prevent corrupting src and polluting repo from here:
https://github.com/opencv/opencv/blob/c96f48e7c91748f896e99f5bf943faf08cd98f0e/CMakeLists.txt#L12

Switched to the JSON cmake specific repo that has a lot of improvements
@Samir-Rashid Samir-Rashid force-pushed the feat/cmake-ux-improvements branch from 585f87f to e522857 Compare October 19, 2023 22:07
@Samir-Rashid Samir-Rashid changed the title feat/cmake ux improvements CMake ux improvements Oct 19, 2023
@Samir-Rashid Samir-Rashid changed the title CMake ux improvements CMake UX Improvements Oct 19, 2023
@Samir-Rashid Samir-Rashid self-assigned this Oct 19, 2023
@Samir-Rashid Samir-Rashid added the feature New feature or request label Oct 19, 2023
@Samir-Rashid Samir-Rashid linked an issue Oct 19, 2023 that may be closed by this pull request
@Samir-Rashid Samir-Rashid force-pushed the feat/cmake-ux-improvements branch from f68da54 to e293ca8 Compare October 19, 2023 22:18
@Samir-Rashid Samir-Rashid requested a review from atar13 October 19, 2023 22:18
@Samir-Rashid Samir-Rashid marked this pull request as draft October 20, 2023 00:39
@Samir-Rashid Samir-Rashid marked this pull request as ready for review October 20, 2023 00:49
Copy link
Member

@atar13 atar13 left a comment

Choose a reason for hiding this comment

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

ty for these changes

@Samir-Rashid Samir-Rashid merged commit 4e2dee4 into main Oct 21, 2023
1 of 2 checks passed
@Samir-Rashid Samir-Rashid deleted the feat/cmake-ux-improvements branch October 21, 2023 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prevent running cmake incorrectly
2 participants