MantisBT - CMake
View Issue Details
0015398CMakeCMakepublic2015-02-09 18:532015-07-08 08:57
Dave Yost 
 
normalminorhave not tried
closedno change required 
 
 
0015398: In a CMakeLists.txt file, a way to cause local make VERBOSE=1
It would be very nice if there were a command we could use in a subproject CMakeLists.txt file that would cause, within that subproject only, invocation of make with VERBOSE=1

Better yet would be to be able to set this option for an individual target.
No tags attached.
Issue History
2015-02-09 18:53Dave YostNew Issue
2015-02-09 19:37Ben BoeckelNote Added: 0037946
2015-02-10 00:05Dave YostNote Added: 0037947
2015-02-10 00:12Dave YostNote Deleted: 0037947
2015-02-10 09:05Brad KingNote Added: 0037949
2015-02-10 09:05Brad KingStatusnew => resolved
2015-02-10 09:05Brad KingResolutionopen => no change required
2015-07-08 08:57Robert MaynardNote Added: 0039045
2015-07-08 08:57Robert MaynardStatusresolved => closed

Notes
(0037946)
Ben Boeckel   
2015-02-09 19:37   
Should already be provided by CMAKE_VERBOSE_MAKEFILE. Only applies to Makefile generators though IIRC (not, e.g., Ninja or Visual Studio).

http://www.cmake.org/cmake/help/v3.0/variable/CMAKE_VERBOSE_MAKEFILE.html [^]
(0037949)
Brad King   
2015-02-10 09:05   
Simply

 set(CMAKE_VERBOSE_MAKEFILE 1)

should be enough.
(0039045)
Robert Maynard   
2015-07-08 08:57   
Closing resolved issues that have not been updated in more than 4 months.