aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-05-29 18:40:41 -0700
committerrtk0c <[email protected]>2022-05-29 18:40:41 -0700
commit0d92ecfdbfc875a099d9e83714b3a2209668fca5 (patch)
treea965a24e8dcd5010ebc2312b7465dccfd2700565 /CMakeLists.txt
parente513b9336ce0fa8b3ee004560b2fadb998a7e5e0 (diff)
Changeset: 48 Set game executable to windows subsystem (no console window)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
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}