MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0013292 | CMake | CMake | public | 2012-06-11 16:24 | 2012-11-05 14:33 |
| Reporter | Ryan H. Kawicki | ||||
| Assigned To | |||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Platform | Windows | OS | 7 | OS Version | 6.1.7601 |
| Product Version | CMake 2.8.7 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0013292: Windows : CMake Does Not Define _CONSOLE When Not Building A Win32 Target | ||||
| Description | Command add_executable does not define _CONSOLE when WIN32 is not specified. Expected that final output would have _CONSOLE defined for preprocessor definitions if WIN32 is not specified and _WINDOWS when WIN32 is specified. | ||||
| Steps To Reproduce | Create a very simple test with one single file. | ||||
| Additional Information | project(test-console) add_executable(test test.cpp) # the generated project has _WINDOWS define when _CONSOLE should be defined. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2012-06-11 16:24 | Ryan H. Kawicki | New Issue | |||
| 2012-06-11 16:59 | Brad King | Note Added: 0029662 | |||
| 2012-06-11 19:40 | Ryan H. Kawicki | Note Added: 0029663 | |||
| 2012-06-12 08:13 | Brad King | Status | new => resolved | ||
| 2012-06-12 08:13 | Brad King | Resolution | open => no change required | ||
| 2012-11-05 14:33 | David Cole | Note Added: 0031449 | |||
| 2012-11-05 14:33 | David Cole | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||