MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0014658 | CMake | CMake | public | 2013-12-18 22:41 | 2014-06-02 08:37 |
| Reporter | jschroeder | ||||
| Assigned To | Brad King | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | CMake 2.8.12 | ||||
| Target Version | CMake 3.0 | Fixed in Version | CMake 3.0 | ||
| Summary | 0014658: Document CMAKE_VERBOSE_MAKEFILE initialization | ||||
| Description | This may be OS and generator independent. (I've reproduced it on Windows 7 (with MS Visual Studio) and Ubuntu 12.04 (with GNUmake/GCC).) Using project() in a CMakeLists.txt file causes CMAKE_VERBOSE_MAKEFILE to be 0/False | ||||
| Steps To Reproduce | 1. Run cmake on the following (minimal) CMakeLists.txt file. Result: in the cmake output, the second message reporting the value of CMAKE_VERBOSE_MAKEFILE is "FALSE". (See output below.) Expected result: in the cmake output, both lines reporting CMAKE_VERBOSE_MAKEFILE should be 1 (or True) ========begin CMakeLists.txt========== cmake_minimum_required(VERSION 2.8.12) # I'm not sure how far back this bug might go set(CMAKE_VERBOSE_MAKEFILE 1) message(STATUS "CMAKE_VERBOSE_MAKEFILE ${CMAKE_VERBOSE_MAKEFILE}") project(dummy) message(STATUS "CMAKE_VERBOSE_MAKEFILE ${CMAKE_VERBOSE_MAKEFILE}") ========end CMakeLists.txt========== foobar@ubuntu:~/build$ cmake .. -- CMAKE_VERBOSE_MAKEFILE 1 -- The C compiler identification is GNU 4.6.3 -- The CXX compiler identification is GNU 4.6.3 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- CMAKE_VERBOSE_MAKEFILE FALSE -- Configuring done -- Generating done -- Build files have been written to: /home/foobar/build | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/5020/CMakeLists.txt | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2013-12-18 22:41 | jschroeder | New Issue | |||
| 2013-12-18 22:41 | jschroeder | File Added: CMakeLists.txt | |||
| 2013-12-19 10:33 | Brad King | Note Added: 0034820 | |||
| 2013-12-19 14:28 | jschroeder | Note Added: 0034830 | |||
| 2013-12-19 14:51 | Brad King | Note Added: 0034831 | |||
| 2013-12-19 14:51 | Brad King | Assigned To | => Brad King | ||
| 2013-12-19 14:51 | Brad King | Status | new => resolved | ||
| 2013-12-19 14:51 | Brad King | Resolution | open => fixed | ||
| 2013-12-19 14:51 | Brad King | Fixed in Version | => CMake 3.0 | ||
| 2013-12-19 14:51 | Brad King | Target Version | => CMake 3.0 | ||
| 2013-12-19 14:51 | Brad King | Summary | project() resets CMAKE_VERBOSE_MAKEFILE => Document CMAKE_VERBOSE_MAKEFILE initialization | ||
| 2014-06-02 08:37 | Robert Maynard | Note Added: 0036060 | |||
| 2014-06-02 08:37 | Robert Maynard | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||