enable console for MSVC debug build (#234)

This commit is contained in:
Roman Fomin 2021-06-30 20:00:04 +07:00 committed by GitHub
parent c088ee315e
commit 9c700e29b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,6 +131,8 @@ if(MSVC)
# MSVC tries to supply a default manifest and complains when it finds ours
# unless we specifically tell it not to.
set_target_properties(woof PROPERTIES LINK_FLAGS "/MANIFEST:NO")
# Enable console for debug build.
set_target_properties(woof PROPERTIES LINK_FLAGS_DEBUG "/SUBSYSTEM:CONSOLE")
endif()
# Optional features.