[CMake] More control with includes?
David Cole
david.cole at kitware.com
Tue Jun 21 16:40:08 EDT 2005
The point of INCLUDE_DIRECTORIES is to guarantee consistent include
directories across all compile targets for a given CMake based project.
You'll have to build any "conflicting" targets as a completely separate
project, I think... Unless somebody else chimes in with a better "one
build, many include settings" solution... :-)
Cheers,
David
Bradley Lowekamp wrote:
> Hello,
> I am needing more control over the include directories. Maybe I am
> missing some part of CMake or some option some place. I have a
> directory where I am trying to create a couple of libraries. But they
> have conflicting include directory requirements. The
> "INCLUDE_DIRECTORIES" command has no target or file specific effect,
> so that does not help me with this problem. I tried hacking around
> with the "SET_DIRECTORY_PROPERTIES" with the "INCLUDE_DIRECTORIES",
> but the effect of this command seems not to be immediate, and the
> result at the end of the file is applies to all libraries in the
> directory.
>
> Is there a way to get more control over include directories or an I
> stuck with just INCLUDE_DIRECTORIES?
>
> Thanks,
> Brad
>
>
> ========================================================
> Bradley Lowekamp
> Management Systems Designers Contractor for
> Office of High Performance Computing and Communications
> National Library of Medicine
> 'blowekamp at mail.nih.gov
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
More information about the CMake
mailing list