View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014307CMakeCMakepublic2013-07-24 05:222013-12-02 08:51
Reporterycollet 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionwon't fix 
PlatformOSOS Version
Product VersionCMake 2.8.9 
Target VersionFixed in Version 
Summary0014307: add a COMMENT option for execute_process
DescriptionA COMMENT option for execute_process should be nice.

To do things like:

execute_process(COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/test ${CMAKE_BINARY_DIR}/test
                COMMENT "Copying test into build directory")

TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0033586)
Brad King (manager)
2013-07-24 09:44

This is completely unnecessary. Just use message:

message(STATUS "Copying test into build directory")
execute_process(COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/test ${CMAKE_BINARY_DIR}/test)

The reason add_custom_command has a COMMENT option is because that doesn't run the command but instead adds it to the generated build system, and the project files have a spot for a comment.
(0034653)
Robert Maynard (manager)
2013-12-02 08:51

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2013-07-24 05:22 ycollet New Issue
2013-07-24 09:44 Brad King Note Added: 0033586
2013-07-24 09:44 Brad King Status new => resolved
2013-07-24 09:44 Brad King Resolution open => won't fix
2013-12-02 08:51 Robert Maynard Note Added: 0034653
2013-12-02 08:51 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team