Further, I noticed that the following commands for CMakeLists.txt find Caffe files automatically.
find_package(Caffe)
include_directories(${Caffe_INCLUDE_DIRS})
add_definitions(${Caffe_DEFINITIONS})
target_link_libraries(caffeTest ${Caffe_LIBRARIES})
But, I have no idea how I can utilize the above commands in Eclipse C++. The reason I want to use Eclipse C++ is that I need to analyze my Caffe C++ code line by line.
To sum up, I would like to know How to use Caffe with Eclipse C++ in the GPU mode. Thanks.