It is an MITK-build setting, not a superbuild setting. Make sure to set it while the MITK-build subfolder is selected as build folder in CMake GUI. Hence, you do not need to rebuild anything on superbuild level.
________________________________ From: Mujassim Jamal <mujassimjama...@gmail.com> Sent: Monday, April 28, 2025 11:12:20 AM To: Dinkelacker, Stefan <s.dinkelac...@dkfz-heidelberg.de> Cc: mitk-users@lists.sourceforge.net <mitk-users@lists.sourceforge.net> Subject: Re: [Extern] - [mitk-users] How to hide or disable the console window at startup Hi Stefan, I have built MITK on Windows 10. Here are the steps I followed, but the console window still appears: 1. In the Visual Studio IDE, under the MITK-build project's CMakeLists.txt, I turned OFF MITK_SHOW_CONSOLE_WINDOW. 2. Opened CMake-GUI and regenerated the CMake files by clicking the Generate button. 3. Opened the MITK-superbuild.sln from CMake-GUI itself by clicking the Open Project button. 4. Rebuilt the solution, then opened MITK.sln and ran the Workbench, but the console window still appears. The SubSystem property still shows Console (/SUBSYSTEM:CONSOLE). When I explicitly printed the value of MITK_SHOW_CONSOLE_WINDOW, it shows ON even though it is set to OFF. Maybe it is related to a CMake cache issue? Best, Mujassim On Mon, 28 Apr 2025 at 00:47, Dinkelacker, Stefan <s.dinkelac...@dkfz-heidelberg.de> wrote: > > Hi, > > I just switched off MITK_SHOW_CONSOLE_WINDOW to OFF in my develop branch > MITK-build and the console window disappeared. Which OS and version are you > using? Did you regenerate the CMake files after switching it off? > > It is supposed to influence the "Linker > System > SubSystem" project > property of the MitkWorkbench project in the MITK solution. Instead of > "Console (/SUBSYSTEM:CONSOLE)" it should display "Windows > (/SUBSYSTEM:WINDOWS)". > > Best, > Stefan > ________________________________________ > Von: Mujassim Jamal <mujassimjama...@gmail.com> > Gesendet: Sonntag, 27. April 2025 06:19 > An: mitk-users@lists.sourceforge.net > Betreff: [Extern] - [mitk-users] How to hide or disable the console window at > startup > > Hi again, > > I want to hide or disable the console window that appears at the > startup of MitkWorkbench. I tried building MITK by setting > MITK_SHOW_CONSOLE_WINDOW to OFF in CMake-GUI. However, the console > window still appears. > > I would appreciate any help. > > Best, > Mujassim > > > _______________________________________________ > mitk-users mailing list > mitk-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mitk-users
_______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users