r18839 - gnucash/trunk/src - Cutecash: Add business-core including business-core/xml into the executable.

Christian Stimming cstim at code.gnucash.org
Fri Mar 5 14:56:43 EST 2010


Author: cstim
Date: 2010-03-05 14:56:43 -0500 (Fri, 05 Mar 2010)
New Revision: 18839
Trac: http://svn.gnucash.org/trac/changeset/18839

Added:
   gnucash/trunk/src/business/business-core/CMakeLists.txt
Modified:
   gnucash/trunk/src/CMakeLists.txt
Log:
Cutecash: Add business-core including business-core/xml into the executable.

Modified: gnucash/trunk/src/CMakeLists.txt
===================================================================
--- gnucash/trunk/src/CMakeLists.txt	2010-03-05 19:56:12 UTC (rev 18838)
+++ gnucash/trunk/src/CMakeLists.txt	2010-03-05 19:56:43 UTC (rev 18839)
@@ -137,6 +137,7 @@
 ADD_SUBDIRECTORY (gnc-module)
 ADD_SUBDIRECTORY (engine)
 ADD_SUBDIRECTORY (backend/xml)
+ADD_SUBDIRECTORY (business/business-core)
 
 ADD_SUBDIRECTORY (gnc)
 

Added: gnucash/trunk/src/business/business-core/CMakeLists.txt
===================================================================
--- gnucash/trunk/src/business/business-core/CMakeLists.txt	                        (rev 0)
+++ gnucash/trunk/src/business/business-core/CMakeLists.txt	2010-03-05 19:56:43 UTC (rev 18839)
@@ -0,0 +1,90 @@
+# CMakeLists.txt for src/business/business-code
+
+ADD_DEFINITIONS (-DG_LOG_DOMAIN=\"gnc.business.core\")
+
+INCLUDE_DIRECTORIES (${GLIB2_INCLUDE_DIRS})
+INCLUDE_DIRECTORIES (${GCONF2_INCLUDE_DIRS})
+INCLUDE_DIRECTORIES (${LIBINTL_INCLUDE_PATH})
+INCLUDE_DIRECTORIES (${REGEX_INCLUDE_PATH})
+INCLUDE_DIRECTORIES (${LIBGUILE_INCLUDE_PATH})
+INCLUDE_DIRECTORIES (${LIBXML2_INCLUDE_DIR})
+INCLUDE_DIRECTORIES (${CMAKE_BINARY_DIR}/src ) # for config.h
+INCLUDE_DIRECTORIES (${CMAKE_SOURCE_DIR}/src ) # for gnc-ui.h
+INCLUDE_DIRECTORIES (${CMAKE_SOURCE_DIR}/src/gnc-module )
+INCLUDE_DIRECTORIES (${CMAKE_SOURCE_DIR}/src/engine )
+INCLUDE_DIRECTORIES (${CMAKE_SOURCE_DIR}/src/libqof/qof) # for qof.h
+INCLUDE_DIRECTORIES (${CMAKE_BINARY_DIR}/src/engine) # for swig-runtime.h
+INCLUDE_DIRECTORIES (${CMAKE_SOURCE_DIR}/src/backend/xml) # for io-gncxml-v2.h
+INCLUDE_DIRECTORIES (${CMAKE_CURRENT_SOURCE_DIR}) # when building swig-core-utils.c
+INCLUDE_DIRECTORIES (${CMAKE_CURRENT_BINARY_DIR}) # for gncla-dir.h
+
+SET (SWIG_BUSINESS_CORE_C ${CMAKE_CURRENT_BINARY_DIR}/swig-business-core.c)
+GNC_ADD_SWIG_COMMAND (${SWIG_BUSINESS_CORE_C} ${CMAKE_CURRENT_SOURCE_DIR}/business-core.i)
+
+SET (libgnc_business_core_SOURCES
+  gncAddress.c
+  gncBillTerm.c
+  gncBusGuile.c
+  gncBusiness.c
+  gncCustomer.c
+  gncEmployee.c
+  gncEntry.c
+  gncInvoice.c
+  gncJob.c
+  gncOrder.c
+  gncOwner.c
+  gncTaxTable.c
+  gncVendor.c
+  gncmod-business-core.c
+  ${SWIG_BUSINESS_CORE_C}
+)
+
+SET (libgnc_business_core_xml_SOURCES
+  xml/gnc-address-xml-v2.c
+  xml/gnc-bill-term-xml-v2.c
+  xml/gnc-customer-xml-v2.c
+  xml/gnc-employee-xml-v2.c
+  xml/gnc-entry-xml-v2.c
+  xml/gnc-invoice-xml-v2.c
+  xml/gnc-job-xml-v2.c
+  xml/gnc-order-xml-v2.c
+  xml/gnc-owner-xml-v2.c
+  xml/gnc-tax-table-xml-v2.c
+  xml/gnc-vendor-xml-v2.c
+  xml/gncmod-business-backend-xml.c
+)
+
+SET (libgnc_business_core_HEADERS
+  gncAddress.h
+  gncAddressP.h
+  gncBillTerm.h
+  gncBillTermP.h
+  gncBusGuile.h
+  gncBusiness.h
+  gncBusinessP.h
+  gncCustomer.h
+  gncCustomerP.h
+  gncEmployee.h
+  gncEmployeeP.h
+  gncEntry.h
+  gncEntryP.h
+  gncInvoice.h
+  gncInvoiceP.h
+  gncJob.h
+  gncJobP.h
+  gncOrder.h
+  gncOrderP.h
+  gncOwner.h
+  gncOwnerP.h
+  gncTaxTable.h
+  gncTaxTableP.h
+  gncVendor.h
+  gncVendorP.h
+)
+
+ADD_LIBRARY (business-core
+  ${libgnc_business_core_SOURCES}
+  ${libgnc_business_core_HEADERS}
+  ${libgnc_business_core_xml_SOURCES}
+)
+



More information about the gnucash-changes mailing list