From 0d92ecfdbfc875a099d9e83714b3a2209668fca5 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Sun, 29 May 2022 18:40:41 -0700 Subject: Changeset: 48 Set game executable to windows subsystem (no console window) --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index ad2bf16..6720e77 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,8 @@ project(ProjectBrussel LANGUAGES C CXX) include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) conan_basic_setup() +include(buildtools/cmake/Win32Subsystem.cmake) + find_package(OpenGL REQUIRED) add_subdirectory(3rdparty/glfw) add_subdirectory(3rdparty/glm) @@ -46,6 +48,8 @@ target_link_libraries(${PROJECT_NAME} PRIVATE tracy ) +target_use_windows_subsystem(${PROJECT_NAME}) + option(BRUSSEL_ENABLE_PROFILING "Whether profiling support is enabled or not." OFF) if(BRUSSEL_ENABLE_PROFILING) target_compile_definitions(${PROJECT_NAME} -- cgit v1.2.3-70-g09d2