gnucash master: Make gnucash-cli a console application on Windows

Geert Janssens gjanssens at code.gnucash.org
Thu Jun 11 05:50:35 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/85f26b6e (commit)
	from  https://github.com/Gnucash/gnucash/commit/222b34a0 (commit)



commit 85f26b6e3050342b4bc3e28fba2d1c673c119544
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Thu Jun 11 11:50:17 2020 +0200

    Make gnucash-cli a console application on Windows

diff --git a/gnucash/CMakeLists.txt b/gnucash/CMakeLists.txt
index 703cacfdb..9e41c3c51 100644
--- a/gnucash/CMakeLists.txt
+++ b/gnucash/CMakeLists.txt
@@ -74,6 +74,7 @@ set(gnucash_cli_SOURCES
 
 if (MINGW)
   list(APPEND gnucash_cli_SOURCES "gnucash-windows-locale.c")
+  target_link_options(gnucash-cli PRIVATE -mconsole)
 endif()
 
 add_executable (gnucash-cli



Summary of changes:
 gnucash/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)



More information about the gnucash-changes mailing list