GnuCash
Contact   Instructions
Bug 797013 - Import Customers & Vendors: error in CMakeLists.txt - causes incomplete project in Xcode
Summary: Import Customers & Vendors: error in CMakeLists.txt - causes incomplete proj...
Status: RESOLVED FIXED
Alias: None
Product: GnuCash
Classification: Unclassified
Component: Import - CSV (show other bugs)
Version: git-maint
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: import
QA Contact: import
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-05 06:41 EST by Rob Laan
Modified: 2019-01-05 09:53 EST (History)
3 users (show)

See Also:


Attachments

Description Rob Laan 2019-01-05 06:41:26 EST
In file src/gnucash/import-export/customer-import/CMakeLists.txt,
row 12-16 define customer_import_noinst_HEADERS.

But row 18 uses customer_input_noinst_HEADERS; (input, not import) this seems to be an error.

All builds fine, but the header files are not listed in my Xcode project on MacOS.

See partial content of the CMakeLists.txt file below.

  1 set(customer_import_SOURCES
  2   gnc-plugin-customer-import.c
  3   gncmod-customer-import.c
  4   dialog-customer-import-gui.c
  5   dialog-customer-import.c
  6 )
  7 
  8 # Add dependency on config.h
  9 set_source_files_properties (${customer_import_SOURCES} PROPERTIES OBJECT_DEPENDS ${CONFIG_H})
 10 
 11 
 12 set(customer_import_noinst_HEADERS
 13   gnc-plugin-customer-import.h
 14   dialog-customer-import-gui.h
 15   dialog-customer-import.h
 16 )
 17 
 18 add_library(gncmod-customer-import ${customer_import_SOURCES} ${customer_input_noinst_HEADERS})
 19
Comment 1 John Ralls 2019-01-05 09:53:42 EST
Thanks for reporting. It's fixed in git maint.

Note You need to log in before you can comment on or make changes to this bug.