An example CMakelists to config
Hi,
I built librealsense2.0 on Windows 10 using CMake and VS2017.
To use librealsense2.0 in my project, I need to write the CMakelists.txt.
Can anyone give me an example?
Thanks.
Yixun
-
Hi Yixun Liu The link below lists resources for building your own project.
https://support.intelrealsense.com/hc/en-us/community/posts/1500000659702/comments/1500000562141
In particular, the tutorial for building a basic librealsense application with CMake may be what you are seking.
https://github.com/IntelRealSense/librealsense/tree/master/examples/cmake
The programming instructions described in the tutorial are placed in the project's CMakeLists.txt file.
https://github.com/IntelRealSense/librealsense/blob/master/examples/cmake/CMakeLists.txt
Please sign in to leave a comment.
Comments
2 comments