Skip to content

Commit

Permalink
remove cmd window on startup on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
p2r3 committed Oct 19, 2024
1 parent afa9599 commit 5b69cec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions windows.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ set(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
set(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
set(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres)

# Gets rid of the console window at startup
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mwindows")

# Set the Qt directory
set(CMAKE_PREFIX_PATH "${CMAKE_CURRENT_LIST_DIR}/qt5build/win32")

Expand Down

0 comments on commit 5b69cec

Please sign in to comment.