[CMake] Source file property INCLUDE_DIRECTORIES

J Decker d3ck0r at gmail.com
Fri Jan 12 08:21:58 EST 2018


Why can't I set INCLUDE_DIRECTORIES for a source file?

https://cmake.org/cmake/help/v3.0/manual/cmake-properties.7.html

I can probably use COMPILE_FLAGS ; but how to guarantee that -I is the
proper option for every compiler?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20180112/c0c4f05d/attachment.html>


More information about the CMake mailing list