Added options not to compile the quickNES core
This commit is contained in:
parent
9f4b4e047d
commit
e7b1a5315b
|
@ -56,6 +56,7 @@ if meson.is_subproject() == false
|
||||||
|
|
||||||
# Building tester tool for the original QuickNES
|
# Building tester tool for the original QuickNES
|
||||||
|
|
||||||
|
if get_option('buildQuickNES') == true
|
||||||
quickNESTester = executable('quickNESTester',
|
quickNESTester = executable('quickNESTester',
|
||||||
'source/tester.cpp',
|
'source/tester.cpp',
|
||||||
cpp_args : [ commonCompileArgs, '-w', '-DDISABLE_AUTO_FILE', '-D__LIBRETRO__', '-DNDEBUG', '-DBLARGG_NONPORTABLE' ],
|
cpp_args : [ commonCompileArgs, '-w', '-DDISABLE_AUTO_FILE', '-D__LIBRETRO__', '-DNDEBUG', '-DBLARGG_NONPORTABLE' ],
|
||||||
|
@ -63,8 +64,11 @@ if meson.is_subproject() == false
|
||||||
sources : [ commonSources ],
|
sources : [ commonSources ],
|
||||||
include_directories : [ commonIncludes ]
|
include_directories : [ commonIncludes ]
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
# Building tests
|
# Building tests
|
||||||
|
if get_option('buildQuickNES') == true
|
||||||
subdir('tests')
|
subdir('tests')
|
||||||
|
endif
|
||||||
|
|
||||||
endif # If not subproject
|
endif # If not subproject
|
|
@ -5,6 +5,20 @@ option('buildPlayer',
|
||||||
yield: true
|
yield: true
|
||||||
)
|
)
|
||||||
|
|
||||||
|
option('buildQuickNES',
|
||||||
|
type : 'boolean',
|
||||||
|
value : true,
|
||||||
|
description : 'Build quickNES core',
|
||||||
|
yield: true
|
||||||
|
)
|
||||||
|
|
||||||
|
option('buildTests',
|
||||||
|
type : 'boolean',
|
||||||
|
value : true,
|
||||||
|
description : 'Build tests',
|
||||||
|
yield: true
|
||||||
|
)
|
||||||
|
|
||||||
option('onlyOpenSource',
|
option('onlyOpenSource',
|
||||||
type : 'boolean',
|
type : 'boolean',
|
||||||
value : false,
|
value : false,
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
# Getting core configurations
|
# Getting core configurations
|
||||||
|
if get_option('buildQuickNES') == true
|
||||||
subdir('quickNES')
|
subdir('quickNES')
|
||||||
|
endif
|
||||||
|
|
||||||
subdir('quickerNES')
|
subdir('quickerNES')
|
||||||
|
|
||||||
# Tool Configuration
|
# Tool Configuration
|
||||||
|
|
Loading…
Reference in New Issue