Ticket #2981 (closed: fixed)
Add option for windows console to CMake
Reported by: | Martyn Gigg | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | major | Milestone: | Iteration 29 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Owen Arnold |
Description
There is a bug in CMake that affects generation of the windows console.
Currently we specify the WIN32 option that turns of the console for all modes and have lines such as
set_target_properties( MantidPlot PROPERTIES LINK_FLAGS_DEBUG "/SUBSYSTEM:CONSOLE /ENTRY:mainCRTStartup" )
to bring it back. Unfortunately these are ignored with MSVC 2010 generators.
To ensure developers can get a console, as useful Qt debug informatin can show up there, add it as an explicit option in CMake.
Change History
comment:1 Changed 9 years ago by Martyn Gigg
- Status changed from new to verify
- Resolution set to fixed
comment:2 Changed 9 years ago by Owen Arnold
- Status changed from verify to verifying
- Tester set to Owen Arnold
Note: See
TracTickets for help on using
tickets.
(In [11327]) Fixes #2981. Add an option for a console in CMake (only affects windows).