MantisBT - CMake
View Issue Details
0014045CMakeModulespublic2013-03-27 14:312013-10-07 10:04
szx 
 
normalfeatureN/A
closedsuspended 
CMake 2.8.10.2 
 
0014045: Module suggestion
I don't know whether it's allowed to post module suggestions here, but it would be nice if you add these modules or something that would provide the same funcionality (see attachments).

So basically they contain the following functions:

add_target_compile_flags(target flag1 [flag2 ...])
add_target_link_flags(target flag1 [flag2 ...])
add_target_definitions(target def1 [def2 ...])
add_target_include_dirs(target dir1 [dir2 ...])
No tags attached.
zip Modules.zip (1,611) 2013-03-27 14:31
https://public.kitware.com/Bug/file/4698/Modules.zip
Issue History
2013-03-27 14:31szxNew Issue
2013-03-27 14:31szxFile Added: Modules.zip
2013-03-27 14:55Brad KingNote Added: 0032713
2013-03-27 14:55Brad KingStatusnew => resolved
2013-03-27 14:55Brad KingResolutionopen => suspended
2013-10-07 10:04Robert MaynardNote Added: 0034020
2013-10-07 10:04Robert MaynardStatusresolved => closed

Notes
(0032713)
Brad King   
2013-03-27 14:55   
Each of the proposed modules simply provides a convenience interface. If the official interfaces are not sufficient we should address that directly with new first-class interfaces rather than modules/macros.

CMake 2.8.11 will have new first-class target_include_directories and target_compile_definitions commands. Please try out 2.8.11-rc1 from here:

 http://www.cmake.org/files/v2.8/?C=M;O=D [^]

Please bring further discussion to the mailing list:

 http://www.cmake.org/mailman/listinfo/cmake [^]

where it will have a broader audience.
(0034020)
Robert Maynard   
2013-10-07 10:04   
Closing resolved issues that have not been updated in more than 4 months.