Notes |
|
(0039011)
|
patrik
|
2015-07-01 18:45
(edited on: 2015-07-01 18:46) |
|
|
|
(0039112)
|
LAN Xingcan
|
2015-07-09 14:39
|
|
|
|
(0039114)
|
Brad King
|
2015-07-09 14:45
|
|
INTERFACE targets were designed to propagate usage requirements without having any actual build rules associated with the target itself. This issue is purely about IDE behavior for such targets. The IDE generators could perhaps be taught to add INTERFACE targets as project files but not have any actual build rules in them. |
|
|
(0039116)
|
patrik
|
2015-07-09 14:52
|
|
>> The IDE generators could perhaps be taught to add INTERFACE targets as project files
But how is the IDE generator supposed to know which files? As it is now, it's not possible to specify which header files belong to the target.
I guess what we want is the following: To specify a target with no build rules (header-only) but associate files with it (headers), and these files should show up in the IDE. These targets should also be possible to specify as dependencies in other targets, to, for example, propagate an include directory.
Basically, make header-only targets first class citizens in CMake instead of requiring unsatisfactory hacks with no semantic information. |
|
|
(0039117)
|
Brad King
|
2015-07-09 16:01
|
|
|
|
(0039123)
|
Brad King
|
2015-07-10 09:50
|
|
|
|
(0039676)
|
Jan Rüegg
|
2015-10-26 10:26
|
|
|
|
(0039677)
|
Brad King
|
2015-10-26 10:36
|
|
Re 0015234:0039676: Please respond to that message on-list with a proposal to implement a specific interface discussed there. |
|
|
(0042658)
|
Kitware Robot
|
2016-06-10 14:29
|
|
Resolving issue as `moved`.
This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
|