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
|
||||
subdir('source')
|
||||
|
||||
# Do not build any targets if this is a subproject
|
||||
if meson.is_subproject() == false
|
||||
|
||||
# Common application flags
|
||||
commonCompileArgs = [ '-Wfatal-errors', '-Wall']
|
||||
|
||||
|
@ -22,10 +25,6 @@ hqnSubproject = subproject('hqn')
|
|||
hqnDependency = hqnSubproject.get_variable('hqnDependency')
|
||||
|
||||
# Building playback tool
|
||||
|
||||
# Do not build any targets if this is a subproject
|
||||
if meson.is_subproject() == false
|
||||
|
||||
if get_option('buildPlayer') == true
|
||||
executable('player',
|
||||
'source/player.cpp',
|
||||
|
|
Loading…
Reference in New Issue