ntdisp 

ntdisp Commit Details

Date:2013-11-17 11:15:20 (6 years 11 months ago)
Author:Nicola Fontana
Branch:master
Commit:4e482abd7c79eb7fd5eaa240071e2bb380c16a2d
Parents: 7ecd9787f80221a332be9c71e961425e15c75970
Message:build: improve front/back-end modularization

Changes:
Mconfigure.ac (2 diffs)

File differences

configure.ac
7474
7575
7676
77
7778
7879
80
81
82
83
84
85
7986
8087
8188
8289
90
8391
8492
8593
8694
8795
96
97
8898
8999
90100
101
102
91103
92104
93105
94106
107
95108
96109
97110
98111
99112
113
100114
101115
102116
......
181195
182196
183197
184
185
186
187
188
189
190
191
192198
193199
194200
195201
196
202
197203
198204
199205
[AC_MSG_ERROR([Invalid option passed to --with-api])])
AM_CONDITIONAL([ENABLE_WIN32],test "x$enable_win32" = "xyes")
# Front-ends
frontends=
# The "library" front-end is always included, otherwise there will be
# no reason to build the ntdisp project
frontends=" library"
AC_ARG_ENABLE([cli],
AS_HELP_STRING([--disable-cli], [Do not build the command-line interface]),
[],[enable_cli="yes"])
AM_CONDITIONAL([ENABLE_CLI],test "x$enable_cli" = "xyes")
AS_IF([test "x${enable_cli}" = "xyes"],[frontends="$frontends CLI"])
AC_ARG_ENABLE([gtk3],
AS_HELP_STRING([--disable-gtk3], [Do not build GTK3 front-end]),
[],[enable_gtk3="yes"])
AM_CONDITIONAL([ENABLE_GTK3],test "x$enable_gtk3" = "xyes")
AS_IF([test "x${enable_gtk3}" = "xyes"],[frontends="$frontends GTK+3"])
# Back-ends
backends=
AC_ARG_ENABLE([lpc],
AS_HELP_STRING([--disable-lpc], [Do not include the LPC In-System Programming (NXP Semiconductors)]),
[],[enable_lpc="yes"])
AM_CONDITIONAL([ENABLE_LPC],test "x$enable_lpc" = "xyes")
AS_IF([test "x${enable_lpc}" = "xyes"],[backends="$backends lpc"])
AC_ARG_ENABLE([stm],
AS_HELP_STRING([--disable-stm], [Do not include the STM32 In-Circuit Programming (ST Microelectronics)]),
[],[enable_stm="yes"])
AM_CONDITIONAL([ENABLE_STM],test "x$enable_stm" = "xyes")
AS_IF([test "x${enable_stm}" = "xyes"],[backends="$backends stm"])
# Checks for external dependencies
# Report
frontends=" lib"
AS_IF([test "x${enable_cli}" = "xyes"],[frontends="$frontends cli"])
AS_IF([test "x${enable_gtk3}" = "xyes"],[frontends="$frontends gtk3"])
backends=
AS_IF([test "x${enable_lpc}" = "xyes"],[backends="$backends lpc"])
AS_IF([test "x${enable_stm}" = "xyes"],[backends="$backends stm"])
AC_MSG_NOTICE([generating report
AC_PACKAGE_NAME ntdisp_version will be built with the following options:
------------------------------------------------------
Serial communications: use ${with_api} APIs
Serial communications: ${with_api}
Enabled front-ends:${frontends}
Enabled back-ends:${backends}
Build API reference: ${gtk_doc_report}

Archive Download the corresponding diff file

Branches

Tags