Making player optional, tests obligatory
This commit is contained in:
parent
ae2709fe70
commit
473aa03f20
|
@ -23,6 +23,7 @@ quickerNESPlayerSrc = [
|
|||
'extern/hqn/options.cpp',
|
||||
]
|
||||
|
||||
if get_option('buildPlayer') == true
|
||||
executable('player',
|
||||
'source/player.cpp',
|
||||
cpp_args : [ commonCompileArgs, '-DNCURSES' ],
|
||||
|
@ -31,6 +32,7 @@ executable('player',
|
|||
link_args : [ '-lncurses' ],
|
||||
sources : quickerNESPlayerSrc
|
||||
)
|
||||
endif
|
||||
|
||||
# Building tester tool for QuickerNES
|
||||
|
||||
|
@ -51,6 +53,4 @@ quickNESTester = executable('qTester',
|
|||
)
|
||||
|
||||
# Building tests
|
||||
if get_option('buildTests') == true
|
||||
subdir('tests')
|
||||
endif
|
|
@ -1,7 +1,7 @@
|
|||
option('buildTests',
|
||||
option('buildPlayer',
|
||||
type : 'boolean',
|
||||
value : false,
|
||||
description : 'Build test suite',
|
||||
description : 'Build playback tool',
|
||||
yield: true
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue