Disabling all compilation if this is a subproject
This commit is contained in:
parent
8bdfd4fa2a
commit
52cd570ac0
|
@ -8,6 +8,9 @@ project('quickerNES','c','cpp',
|
||||||
# Loading dependencies
|
# Loading dependencies
|
||||||
subdir('source')
|
subdir('source')
|
||||||
|
|
||||||
|
# Do not build any targets if this is a subproject
|
||||||
|
if meson.is_subproject() == false
|
||||||
|
|
||||||
# Common application flags
|
# Common application flags
|
||||||
commonCompileArgs = [ '-Wfatal-errors', '-Wall']
|
commonCompileArgs = [ '-Wfatal-errors', '-Wall']
|
||||||
|
|
||||||
|
@ -22,10 +25,6 @@ hqnSubproject = subproject('hqn')
|
||||||
hqnDependency = hqnSubproject.get_variable('hqnDependency')
|
hqnDependency = hqnSubproject.get_variable('hqnDependency')
|
||||||
|
|
||||||
# Building playback tool
|
# Building playback tool
|
||||||
|
|
||||||
# Do not build any targets if this is a subproject
|
|
||||||
if meson.is_subproject() == false
|
|
||||||
|
|
||||||
if get_option('buildPlayer') == true
|
if get_option('buildPlayer') == true
|
||||||
executable('player',
|
executable('player',
|
||||||
'source/player.cpp',
|
'source/player.cpp',
|
||||||
|
|
Loading…
Reference in New Issue