wpilibsuite / allwpilib

Official Repository of WPILibJ and WPILibC
https://wpilib.org/
Other
1.06k stars 614 forks source link

[build] Clean up CMake files #6802

Closed Gold856 closed 2 months ago

Gold856 commented 3 months ago

Explicitly list required components when using FindJava and FindJNI Consolidate find_package calls for Java, JNI, and OpenCV into the root CMakeLists.txt file Remove references to main_lib_dest (left over by #5580 and #5644 being merged in one go) Install missing generated headers Flatten some if statements Use LinkMacOSGUI macro instead of hand rolling it Stop installing OpenCV libraries and an extra ntcorejni library; OpenCV JAR will still be installed to make it easy to use Only print platform version on Windows Prevent GUI modules from being built when wpimath is off, which would otherwise cause a build failure Simplify build configuration checks Clean up fieldImages JAR creation Place built JARs in the same subdir as installed JARs Remove unnecessary JAR includes Remove extra directories in target_include_directories Improve CMake docs

github-actions[bot] commented 3 months ago

This PR modifies commands. Please open a corresponding PR in Python Commands and include a link to this PR.

Gold856 commented 3 months ago

Doesn't impact RobotPy