summaryrefslogblamecommitdiff
path: root/src/lib/ecore_input/meson.build
blob: 745d5b5d83c7d9f63947281e53f17f3e35f52fc1 (plain) (tree)


















                                 
                                      


                                        
                               















                                                          
ecore_input_deps = [ecore]
ecore_input_pub_deps = [eina, eo]

ecore_input_header_src = [
  'Ecore_Input.h'
]

ecore_input_src = [
  'ecore_input.c',
  'ecore_input_compose.c',
  'ecore_input_joystick.c',
  'ecore_input_compose.h',
  'ecore_input_private.h'
]

if get_option('eeze')
  ecore_input_deps += eeze
endif

ecore_input_c_args = [ '-DEFL_BUILD' ]

ecore_input_lib = library('ecore_input',
    ecore_input_src, pub_eo_file_target,
    c_args: ecore_input_c_args,
    dependencies: ecore_input_pub_deps + ecore_input_deps,
    include_directories : config_dir,
    install: true,
    version : meson.project_version()
)

ecore_input = declare_dependency(
  include_directories: [include_directories('.')],
  link_with: ecore_input_lib,
  sources : pub_eo_file_target + priv_eo_file_target,
  dependencies: ecore_input_pub_deps,
)

install_headers(ecore_input_header_src,
  install_dir : dir_package_include,
)