Fix ninja-build check without running ninja-build first

The (gnucash reports) guile module should be built before the reports
depending on it.
This commit is contained in:
Geert Janssens 2019-11-20 19:35:50 +01:00
parent cbc8cc8d8c
commit f039cc80e9
3 changed files with 9 additions and 8 deletions

View File

@ -109,6 +109,7 @@ set(scm_rpt_std_GUILE_DEPENDS
${scm_rpts_GUILE_DEPENDS}
scm-app-utils
scm-gnc-module
scm-rpt-reports
scm-reports-common-links
scm-reports-standard-links
)
@ -120,6 +121,13 @@ gnc_add_scheme_targets(scm-reports-common
TRUE
)
gnc_add_scheme_targets(scm-rpt-reports
"${reports_SCHEME}"
"gnucash"
"${scm_rpts_GUILE_DEPENDS}"
TRUE
)
gnc_add_scheme_targets(scm-reports-standard
"${reports_standard_SCHEME}"
"gnucash/reports/standard"
@ -148,13 +156,6 @@ gnc_add_scheme_targets(scm-reports-de_DE
TRUE
)
gnc_add_scheme_targets(scm-rpt-reports
"${reports_SCHEME}"
"gnucash"
"scm-reports-standard;scm-reports-example;scm-reports-us;scm-reports-de_DE;${scm_rpts_GUILE_DEPENDS};"
TRUE
)
gnc_add_scheme_targets(scm-reports-standard-2
"${reports_standard_SCHEME_2}"
"gnucash/reports/standard"

View File

@ -32,7 +32,6 @@
(use-modules (gnucash gettext))
(gnc:module-load "gnucash/report" 0)
(use-modules (gnucash reports))
(define reportname
(N_ "Budget Chart"))

View File

@ -34,6 +34,7 @@ set(GUILE_DEPENDS
scm-scm
scm-report-2
scm-test-report
scm-report-stylesheets
)
gnc_add_scheme_tests("${scm_test_report_SOURCES}")