Would it be possible to add configuration support to include_directories()? For example, some include directories I only want to show up in debug, some in release, and some in all configurations. I imagine this would look a lot like target_link_libraries():<br>
<br><span style="font-family: courier new,monospace;">include_directories(<br> C:\includes\foo\all # This include path applies to all configurations<br style="font-family: courier new,monospace;"></span><span style="font-family: courier new,monospace;"> debug C:\includes\foo\debug # This include path only shows up in debug configurations</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> release C:\includes\foo\release # This include path only shows up in release configurations<br>)<br></span>