clin...@elemtech.com wrote:
I'm playing with some of the new cmake 2.8.11 features and an example I
saw had this:
set_property(TARGET foo PROPERTY
INTERFACE_INCLUDE_DIRECTORIES
$BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR};
${CMAKE_CURRENT_SOURCE_DIR}
Stephen Kelly wrote:
Where did you see the
example above? In an old commit message? It doesn't seem to be in the
code:
Ah, I found and fixed it on the wiki page:
http://community.kde.org/Frameworks/Epics/CMake_target_usage_requirements
Thanks,
Steve.
--
Powered by www.kitware.com
Yeah, that's it. Thanks. That page was referenced by a recent kitware blog.
http://www.kitware.com/blog/home/post/462
Clint
- Reply message -
From: Stephen Kelly steve...@gmail.com
Date: Wed, Apr 10, 2013 1:08 am
Subject: [CMake] INSTALL_INTERFACE question
To: cmake@cmake.org
I'm playing with some of the new cmake 2.8.11 features and an example I saw had
this:
set_property(TARGET foo PROPERTY
INTERFACE_INCLUDE_DIRECTORIES
$BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR};${CMAKE_CURRENT_SOURCE_DIR}
$INSTALL_INTERFACE:${CMAKE_INSTALL_PREFIX}/include