Hi!

Given the following simple setup:

  add_subdirectory ( lib )
  add_subdirectory ( tests EXCLUDE_FROM_ALL )

When I run make it correctly builds only the lib.

When I run "make install" it checks for the presence of *all* the targets including the ones from test/.

Why is that? And is that a desired?

If so, how can I separately install the lib before ( or without ) building the tests.

Alex Ciobanu


_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to