covert two modules to yaml
This commit is contained in:
parent
104f64cb1c
commit
d09aa22623
@ -8,10 +8,10 @@
|
|||||||
# CMAKE_C_FLAGS
|
# CMAKE_C_FLAGS
|
||||||
# CMAKE_CXX_FLAGS
|
# CMAKE_CXX_FLAGS
|
||||||
#
|
#
|
||||||
# autocmake.cfg configuration::
|
# autocmake.yml configuration::
|
||||||
#
|
#
|
||||||
# docopt: --coverage Enable code coverage [default: False].
|
# docopt: "--coverage Enable code coverage [default: False]."
|
||||||
# define: '-DENABLE_CODE_COVERAGE=%s' % arguments['--coverage']
|
# define: "'-DENABLE_CODE_COVERAGE=\"{0}\"'.format(arguments['--coverage'])"
|
||||||
|
|
||||||
option(ENABLE_CODE_COVERAGE "Enable code coverage" OFF)
|
option(ENABLE_CODE_COVERAGE "Enable code coverage" OFF)
|
||||||
|
|
||||||
|
@ -7,10 +7,10 @@
|
|||||||
#
|
#
|
||||||
# PREPROCESSOR_DEFINITIONS
|
# PREPROCESSOR_DEFINITIONS
|
||||||
#
|
#
|
||||||
# autocmake.cfg configuration::
|
# autocmake.yml configuration::
|
||||||
#
|
#
|
||||||
# docopt: --add-definitions=<STRING> Add preprocesor definitions [default: ''].
|
# docopt: "--add-definitions=<STRING> Add preprocesor definitions [default: '']."
|
||||||
# define: '-DPREPROCESSOR_DEFINITIONS="%s"' % arguments['--add-definitions']
|
# define: "'-DPREPROCESSOR_DEFINITIONS=\"{0}\"'.format(arguments['--add-definitions'])"
|
||||||
|
|
||||||
if(NOT "${PREPROCESSOR_DEFINITIONS}" STREQUAL "")
|
if(NOT "${PREPROCESSOR_DEFINITIONS}" STREQUAL "")
|
||||||
add_definitions(${PREPROCESSOR_DEFINITIONS})
|
add_definitions(${PREPROCESSOR_DEFINITIONS})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user