The other day I was putting together some cmake files and made them
work on my system, where I have version 2.8.10.2 installed.  After
giving my work to a colleague he reported that it didn't work.  It
came down to him using version 2.8.7 (comes with his Linux distro) and
my use of

~~~~
set_property( TARGET app PROPERTY INCLUDE_DIRECTORIES
    ....
    )
~~~~

In the folder in question there is source for several different
targets, so I'd really like to use per-target include dirs (i.e.
include_directories would not be a good match).  Is there a mechanism
for (easily) getting per-target include dirs that work in both these
versions?

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4
email: [email protected]   jabber: [email protected]
twitter: magthe               http://therning.org/magnus
--

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