[CMake] Not all targets are built on Linux

David Cole david.cole at kitware.com
Tue Oct 23 06:56:18 EDT 2012


Are you using EXCLUDE_FROM_ALL anywhere in the CMakeLists files?

  http://cmake.org/cmake/help/v2.8.9/cmake.html#prop_tgt:EXCLUDE_FROM_ALL

Sending us a snippet of the CMakeLists file for one of the targets
that does not get built in 'all' might be helpful.


On Mon, Oct 22, 2012 at 11:41 AM, Paul Baumer <paul.baumer2 at gmail.com> wrote:
> Hi,
>
> I have a project with several shared libraries and executables. It builds
> fine on Windows. On Linux "make" only builds some of the targets although
> all targets are displayed when I type "make help". How is it possible that
> targets are there and not built with "make" or "make all" ?
>
> How can I debug this problem?
>
> Paul
>
> --
>
> 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


More information about the CMake mailing list