-
Notifications
You must be signed in to change notification settings - Fork 294
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 improvements #163
base: master
Are you sure you want to change the base?
CMake improvements #163
Conversation
* Ubuntu 16.04 LTS comes with CMake v3.5.1 * NVIDIA Jetpack v4.x supports Ubuntu 16.04 and 18.04
@dusty-nv this is almost done, I need to test a little bit more. I'd be happy if you could also test the final changes. |
@dusty-nv tested on Jetson Nano and Jetson Orin Nano, it looks good to me. Also added some details on the changes I made. There are no changes in the code, just the CMakeLists.txt files. You might see that there are no |
Added options
python/CMakeLists.txt
filecamera/camera-viewer
camera/v4l2-display
camera/v4l2-console
video/video-viewer
display/gl-display-test
network/webrtc-server
network/rtsp-server
It is possible to use
CMAKE_INSTALL_PREFIX
to change the installation directory. This option also works ifjetson-utils
project is added as a submodule and install prefix is changed from the parent.By default
jetson-utils
use C++11, but if it is set to a different standard at the parent level, it will use it.Usage example
Note: You would also be able to see all the options under
JU
prefix if you usecmake-gui
.Added build targets
If you are building
jetson-utils
as a standalone project, you should be able to have an option foruninstall
, i.e.CMake example on how to use
jetson-utils
library