Hi Matt,
I did not try that for quite some time, but it used to work in the past.
Now, I cannot get it to work either and am wondering what happened...
There are two workarounds (one of which will probably make it into the
MITK code):
1.) Manually add the linker option "/ENTRY:mainCRTStartup" to your
applications linker command line
or
2.) Provide a "WinMain" function instead of "main" in your applications
cpp file
I filed bug #11577
Thanks,
Sascha
On 04/03/2012 05:56 PM, Clarkson, Matt wrote:
Hi there Everyone,
Within my project, which is "similar" to the MITK-Project-Template, I
try and turn the windows console off... but it stays on.
In otherwords, I get the console on, regardless of the value of
${MY_PROJECT_NAME}_SHOW_CONSOLE_WINDOW in the code snippet below.
is it just me??? did I break something?
Thanks
Matt
SET(_app_options)
IF(${MY_PROJECT_NAME}_SHOW_CONSOLE_WINDOW)
LIST(APPEND _app_options SHOW_CONSOLE)
ENDIF()
SET(_exclude_plugins
)
FunctionCreateBlueBerryApplication(
NAME ${MY_APP_NAME}
SOURCES ${app_sources}
DESCRIPTION "${PROJECT_NAME} - ${MY_APP_NAME} Application"
EXCLUDE_PLUGINS ${_exclude_plugins}
${_app_options}
)
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users