From 55514fe81102aff77643153208125f2ea0c3c2fb Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Mon, 8 May 2017 22:11:37 +0200 Subject: Build an inkview.com as consoler wrapper around inkview.exe to allow for printing to console (just as we do with inkscape.com / inkscape.exe) (bzr r15677) --- src/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3