summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6df71e17e..fe224b9fe 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -491,10 +491,13 @@ if(WIN32)
list(APPEND view_SRC inkscape.rc)
endif()
- # Build the windows MS-DOS console executable.
+ # Build console applications as wrappers around inkscape/inkview.exe as GUI applications can't print to the console.
add_executable(inkscape_com winconsole.cpp)
set_target_properties(inkscape_com
PROPERTIES LINK_FLAGS "-mconsole")
+ add_executable(inkview_com winconsole.cpp)
+ set_target_properties(inkview_com
+ PROPERTIES LINK_FLAGS "-mconsole")
endif()
# make executables for inkscape and inkview