Including source files from another C++ project in Eclipse CDT

前端 未结 4 1298
离开以前
离开以前 2021-02-04 06:57

I have a C++ project in Eclipse CDT which uses some functions from OpevCV and it compiles into an executable and works fine. Now I want to have a new C++ project which uses some

4条回答
  •  -上瘾入骨i
    2021-02-04 07:27

    I personally like CMake to specify my build options. CMake projects can also be imported into Eclipse CDT. CMake allows you to generate make file projects on linux, but also VS projects on windows. The OpenCV website also gives an example on how to use it with CMake.

提交回复
热议问题