mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Changes to accommodate moving guile engine bindings to bindings/guile.
Plus for changing targets gncmod-engine and gncmod-app-utils to gnc-engine and gnc-app-utils.
This commit is contained in:
@@ -569,7 +569,7 @@ endif()
|
||||
|
||||
add_definitions(-D_GNU_SOURCE)
|
||||
|
||||
# Also, set the C++ version to c++11
|
||||
# Set up the language standards:
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
@@ -39,7 +39,12 @@ namespace std {
|
||||
|
||||
%module sw_gnc_optiondb
|
||||
%{
|
||||
extern "C"
|
||||
{
|
||||
#include <config.h>
|
||||
#include <libguile.h>
|
||||
#include <gnc-engine-guile.h>
|
||||
}
|
||||
#include "gnc-optiondb.hpp"
|
||||
extern "C" SCM scm_init_sw_gnc_optiondb_module(void);
|
||||
%}
|
||||
|
||||
@@ -43,8 +43,8 @@ set(gtest_gnc_option_INCLUDES
|
||||
${GUILE_INCLUDE_DIRS})
|
||||
|
||||
set(gtest_gnc_option_LIBS
|
||||
gncmod-app-utils
|
||||
gncmod-engine
|
||||
gnc-app-utils
|
||||
gnc-engine
|
||||
${GLIB2_LDFLAGS}
|
||||
${GUILE_LDFLAGS}
|
||||
gtest)
|
||||
@@ -94,6 +94,7 @@ if (HAVE_SRFI64)
|
||||
gnc_add_swig_guile_command(swig-gnc-optiondb-guile
|
||||
SWIG_GNC_OPTIONDB_GUILE_CPP swig-gnc-optiondb-guile.cpp
|
||||
${MODULEPATH}/gnc-optiondb.i
|
||||
""
|
||||
)
|
||||
add_library(swig-gnc-optiondb MODULE
|
||||
${MODULEPATH}/gnc-option.cpp
|
||||
@@ -102,6 +103,7 @@ if (HAVE_SRFI64)
|
||||
)
|
||||
set(swig_gnc_optiondb_INCLUDES
|
||||
${MODULEPATH}
|
||||
${CMAKE_SOURCE_DIR}/bindings/guile
|
||||
${CMAKE_SOURCE_DIR}/libgnucash/engine
|
||||
${CMAKE_BINARY_DIR}/common # for config.h
|
||||
${GLIB2_INCLUDE_DIRS}
|
||||
@@ -109,8 +111,9 @@ if (HAVE_SRFI64)
|
||||
)
|
||||
|
||||
set(swig_gnc_optiondb_LIBS
|
||||
gncmod-engine
|
||||
gncmod-app-utils
|
||||
gnc-engine
|
||||
gnc-app-utils
|
||||
gnucash-guile
|
||||
${GLIB2_LDFLAGS}
|
||||
${GUILE_LDFLAGS}
|
||||
)
|
||||
|
||||
@@ -527,7 +527,6 @@ libgnucash/app-utils/gnc-exp-parser.c
|
||||
libgnucash/app-utils/gnc-gsettings.c
|
||||
libgnucash/app-utils/gnc-helpers.c
|
||||
libgnucash/app-utils/gnc-help-utils.c
|
||||
libgnucash/app-utils/gncmod-app-utils.c
|
||||
libgnucash/app-utils/gnc-option.cpp
|
||||
libgnucash/app-utils/gnc-optiondb.cpp
|
||||
libgnucash/app-utils/gnc-prefs-utils.c
|
||||
|
||||
Reference in New Issue
Block a user