Answer the question
In order to leave comments, you need to log in
How can I add this to a CMake build?
I have a program that compiles with the following script:
#!/bin/bash
mkdir -p bin
g++ linux_cpp_demo_opencv_draw.cpp \
-std=c++11 \
-I../../include/analytics \
-L../../x32/libs/ \
-L../../x64/libs/ \
-lanalytics_shared \
-lopencv_calib3d \
-lopencv_contrib \
-lopencv_core \
-lopencv_features2d \
-lopencv_flann \
-lopencv_highgui \
-lopencv_imgproc \
-lopencv_ml \
-lopencv_objdetect \
-lopencv_video \
-obin/linux_cpp_demo_opencv_draw
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question