2015-12-07 11:17:08 -06:00
|
|
|
ADD_SUBDIRECTORY(gnumeric)
|
|
|
|
|
|
|
|
SET (BUILD_CONFIG_SCM ${CMAKE_CURRENT_BINARY_DIR}/build-config.scm)
|
|
|
|
|
|
|
|
SET (scm_SCHEME_4
|
|
|
|
substring-search.scm
|
|
|
|
xml-generator.scm
|
|
|
|
)
|
|
|
|
|
2017-12-21 10:54:49 -06:00
|
|
|
configure_file(build-config.scm.in ${BUILD_CONFIG_SCM})
|
2015-12-07 11:17:08 -06:00
|
|
|
|
|
|
|
SET(GUILE_DEPENDS scm-core-utils scm-gnc-module)
|
|
|
|
|
|
|
|
SET(scm_SCHEME_0
|
|
|
|
fin.scm
|
|
|
|
string.scm
|
|
|
|
${BUILD_CONFIG_SCM}
|
|
|
|
substring-search.scm
|
|
|
|
xml-generator.scm
|
|
|
|
)
|
|
|
|
|
2017-11-02 16:46:05 -05:00
|
|
|
GNC_ADD_SCHEME_TARGETS(scm-scm-0 "${scm_SCHEME_0}" "" "" FALSE)
|
2015-12-07 11:17:08 -06:00
|
|
|
|
2017-11-02 16:46:05 -05:00
|
|
|
GNC_ADD_SCHEME_TARGETS(scm-scm-1 "printf.scm" gnucash "" FALSE)
|
2015-12-07 11:17:08 -06:00
|
|
|
|
|
|
|
GNC_ADD_SCHEME_TARGETS(scm-scm-2
|
|
|
|
main.scm
|
|
|
|
gnucash
|
|
|
|
"scm-scm-1;${GUILE_DEPENDS}" # requires printf.scm from scm-scm-1 and modules from GUILE_DEPENDS
|
|
|
|
FALSE
|
|
|
|
)
|
|
|
|
|
|
|
|
# depends on main.scm
|
|
|
|
GNC_ADD_SCHEME_TARGETS(scm-scm-3
|
|
|
|
price-quotes.scm
|
|
|
|
gnucash
|
|
|
|
"scm-scm-2;scm-scm-0" # depends on build_config.scm
|
|
|
|
FALSE)
|
|
|
|
|
|
|
|
ADD_CUSTOM_TARGET(scm-scm ALL DEPENDS scm-scm-3 scm-scm-2 scm-scm-1 scm-scm-0 scm-gnumeric)
|
|
|
|
|
2017-11-28 16:25:35 -06:00
|
|
|
INSTALL(FILES config DESTINATION ${CMAKE_INSTALL_FULL_SYSCONFDIR}/gnucash)
|
2015-12-07 11:17:08 -06:00
|
|
|
|
2017-02-01 21:48:46 -06:00
|
|
|
SET_LOCAL_DIST(scm_DIST_local config CMakeLists.txt Makefile.am fin.scm string.scm build-config.scm.in substring-search.scm
|
|
|
|
xml-generator.scm main.scm price-quotes.scm printf.scm ${scm_SCHEME_4})
|
|
|
|
SET(scm_DIST ${scm_DIST_local} ${scm_gnumeric_DIST} PARENT_SCOPE)
|
|
|
|
|
2015-12-07 11:17:08 -06:00
|
|
|
|