simplify
This commit is contained in:
parent
4eb5dee936
commit
0c6976a70d
@ -13,7 +13,7 @@
|
||||
# autocmake.yml configuration::
|
||||
#
|
||||
# docopt: "--ccache=<USE_CCACHE> Toggle use of ccache <ON/OFF> [default: ON]."
|
||||
# define: "'-DUSE_CCACHE=\"{0}\"'.format(arguments['--ccache'])"
|
||||
# define: "'-DUSE_CCACHE={0}'.format(arguments['--ccache'])"
|
||||
|
||||
if(USE_CCACHE)
|
||||
find_program(CCACHE_FOUND ccache)
|
||||
|
@ -11,7 +11,7 @@
|
||||
# autocmake.yml configuration::
|
||||
#
|
||||
# docopt: "--coverage Enable code coverage [default: False]."
|
||||
# define: "'-DENABLE_CODE_COVERAGE=\"{0}\"'.format(arguments['--coverage'])"
|
||||
# define: "'-DENABLE_CODE_COVERAGE={0}'.format(arguments['--coverage'])"
|
||||
|
||||
option(ENABLE_CODE_COVERAGE "Enable code coverage" OFF)
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
# export: "'FC={0}'.format(arguments['--fc'])"
|
||||
# define:
|
||||
# - "'-DEXTRA_FCFLAGS=\"{0}\"'.format(arguments['--extra-fc-flags'])"
|
||||
# - "'-DENABLE_FC_SUPPORT=\"{0}\"'.format(arguments['--fc-support'])"
|
||||
# - "'-DENABLE_FC_SUPPORT={0}'.format(arguments['--fc-support'])"
|
||||
|
||||
option(ENABLE_FC_SUPPORT "Enable Fortran language support" ON)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user