Hello,

My project has the following structure:

root
  + lib
     + libA
     + libB
  + test
     + test1

test1 depends on libA and libB.

For the include path in test1 I now have to write something like:
include_directories(../../lib/libA ../../lib/libB)
isn't there an easier way as with linking the libraries?
target_link_libraries(test1 libA libB)

Kind regards,

Thomas
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to