mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-16 18:25:11 -06:00
Get cutecash to compile/link again.
To my surprise the C++/Qt executable still compiles, links, and run.
This commit is contained in:
parent
87ed53b347
commit
6e132d83fd
@ -120,6 +120,14 @@ INSTALL(TARGETS gncmod-backend-xml
|
||||
|
||||
# ----
|
||||
|
||||
# Special normal (non-MODULE) library for cutecash only
|
||||
ADD_LIBRARY(gncmod-backend-xml-utils ${libgncmod_backend_xml_SOURCES})
|
||||
TARGET_LINK_LIBRARIES(gncmod-backend-xml-utils gnc-backend-xml-utils gncmod-engine
|
||||
gnc-core-utils ${LIBXML2_LDFLAGS} ${GLIB2_LDFLAGS} ${ZLIB_LIBRARY})
|
||||
TARGET_COMPILE_DEFINITIONS (gncmod-backend-xml-utils PRIVATE -DG_LOG_DOMAIN=\"gnc.backend.xml\" -DU_SHOW_CPLUSPLUS_API=0)
|
||||
|
||||
# ----
|
||||
|
||||
# FIXME: Below is a hack to create .libs/libgncmod-backend-xml to silence some complaints
|
||||
# from guile when compiling. Eventually, fix the guile module loader to not expect items
|
||||
# to be in .libs. At this time, WIN32 does not use guile-2, so no need for this.
|
||||
|
@ -103,19 +103,19 @@ ADD_EXECUTABLE (cutecash
|
||||
${gnc_SOURCES}
|
||||
)
|
||||
|
||||
TARGET_LINK_LIBRARIES (cutecash gnc-backend-xml)
|
||||
TARGET_LINK_LIBRARIES (cutecash gnc-import)
|
||||
TARGET_LINK_LIBRARIES (cutecash app-utils)
|
||||
TARGET_LINK_LIBRARIES (cutecash gncmod-backend-xml-utils gnc-backend-xml-utils)
|
||||
TARGET_LINK_LIBRARIES (cutecash gncmod-generic-import)
|
||||
TARGET_LINK_LIBRARIES (cutecash gncmod-app-utils)
|
||||
IF (WITH_SQL)
|
||||
TARGET_LINK_LIBRARIES (cutecash gnc-backend-dbi gnc-backend-sql)
|
||||
TARGET_LINK_LIBRARIES (cutecash gncmod-backend-dbi gnc-backend-sql)
|
||||
TARGET_LINK_LIBRARIES (cutecash ${LIBDBI_LIBRARY})
|
||||
ENDIF (WITH_SQL)
|
||||
IF (WITH_AQBANKING)
|
||||
TARGET_LINK_LIBRARIES (cutecash gnc-aqbanking)
|
||||
TARGET_LINK_LIBRARIES (cutecash gncmod-aqbanking)
|
||||
# TARGET_LINK_LIBRARIES (cutecash ${AQBANKING_LIBRARIES} ${GWENHYWFAR_LIBRARIES})
|
||||
ENDIF (WITH_AQBANKING)
|
||||
TARGET_LINK_LIBRARIES (cutecash libgncmod-gtkmm)
|
||||
TARGET_LINK_LIBRARIES (cutecash engine gnc-module core-utils qof)
|
||||
TARGET_LINK_LIBRARIES (cutecash gncmod-engine gnc-module gnc-core-utils gnc-qof)
|
||||
|
||||
TARGET_LINK_LIBRARIES (cutecash ${GUILE_LIBRARY} ${GUILE_LIBRARIES})
|
||||
TARGET_LINK_LIBRARIES (cutecash ${GLIBMM_LIBRARIES})
|
||||
|
@ -25,6 +25,7 @@
|
||||
|
||||
// gnucash includes
|
||||
#include "config.h" // required by qof/qofutil.h
|
||||
#include "libqof/qof/guid.hpp"
|
||||
extern "C"
|
||||
{
|
||||
#include "qof.h"
|
||||
|
@ -26,6 +26,7 @@
|
||||
// gnucash includes
|
||||
#include "config.h" // required by qof/qofutil.h
|
||||
#include <glib/gi18n.h>
|
||||
#include "libqof/qof/guid.hpp"
|
||||
extern "C"
|
||||
{
|
||||
#include "qof.h"
|
||||
|
@ -23,6 +23,7 @@
|
||||
#define DASHBOARD_HPP
|
||||
|
||||
#include "config.h"
|
||||
#include "libqof/qof/guid.hpp"
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include <QtGui>
|
||||
|
||||
#include "config.h"
|
||||
#include "libqof/qof/guid.hpp"
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
@ -2,6 +2,7 @@
|
||||
#define VIEWLETVIEW_HPP
|
||||
|
||||
#include "config.h"
|
||||
#include "libqof/qof/guid.hpp"
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <glib/gi18n.h>
|
||||
#include <glib.h>
|
||||
#include <libguile.h>
|
||||
#include "libqof/qof/guid.hpp"
|
||||
extern "C"
|
||||
{
|
||||
#include "gnc-module/gnc-module.h"
|
||||
|
@ -24,6 +24,7 @@
|
||||
#define GNC_ACCOUNT_HPP
|
||||
|
||||
// gnucash includes
|
||||
#include "libqof/qof/guid.hpp"
|
||||
extern "C"
|
||||
{
|
||||
#include "qof.h"
|
||||
|
@ -24,6 +24,7 @@
|
||||
#define GNC_BOOK_HPP
|
||||
|
||||
// gnucash includes
|
||||
#include "libqof/qof/guid.hpp"
|
||||
extern "C"
|
||||
{
|
||||
#include "qof.h"
|
||||
|
@ -25,6 +25,7 @@
|
||||
|
||||
// gnucash includes
|
||||
#include "config.h"
|
||||
#include "libqof/qof/guid.hpp"
|
||||
extern "C"
|
||||
{
|
||||
#include "qof.h"
|
||||
|
@ -25,6 +25,7 @@
|
||||
|
||||
// gnucash includes
|
||||
#include "config.h"
|
||||
#include "libqof/qof/guid.hpp"
|
||||
extern "C"
|
||||
{
|
||||
#include "qof.h"
|
||||
|
@ -25,6 +25,7 @@
|
||||
|
||||
// gnucash includes
|
||||
#include "config.h"
|
||||
#include "libqof/qof/guid.hpp"
|
||||
extern "C"
|
||||
{
|
||||
#include "qof.h"
|
||||
|
@ -25,6 +25,7 @@
|
||||
|
||||
// gnucash includes
|
||||
#include "config.h"
|
||||
#include "libqof/qof/guid.hpp"
|
||||
extern "C"
|
||||
{
|
||||
#include "qof.h"
|
||||
|
@ -25,6 +25,7 @@
|
||||
|
||||
// gnucash includes
|
||||
#include "config.h"
|
||||
#include "libqof/qof/guid.hpp"
|
||||
extern "C"
|
||||
{
|
||||
#include "qof.h"
|
||||
|
Loading…
Reference in New Issue
Block a user