summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertise.dev>2020-04-30 12:54:12 -0300
committerFelipe Magno de Almeida <felipe@expertise.dev>2020-05-04 22:11:44 -0300
commitdf31f3b168af913d5cb280812cdc80fb93822796 (patch)
treea1604190202b46a313e34b60e0f7848dacb7464d
parenta6ea29e03f1fd888c9aee740becd7eb6a607ae38 (diff)
windows: Comment out compilation of anything else besides eina
-rw-r--r--meson.build149
-rw-r--r--src/lib/eina/meson.build7
2 files changed, 83 insertions, 73 deletions
diff --git a/meson.build b/meson.build
index 7b357cf809..84abcc7707 100644
--- a/meson.build
+++ b/meson.build
@@ -361,7 +361,7 @@ luaold_interpreters = [
361 361
362lua_pc_name = '' 362lua_pc_name = ''
363 363
364if sys_windows or get_option('lua-interpreter') == 'lua' 364if false # sys_windows or get_option('lua-interpreter') == 'lua'
365 if sys_windows and get_option('lua-interpreter') != 'lua' 365 if sys_windows and get_option('lua-interpreter') != 'lua'
366 warning('There is no "' + get_option('lua-interpreter') 366 warning('There is no "' + get_option('lua-interpreter')
367 + '" binding option for Windows, backing up to "lua"') 367 + '" binding option for Windows, backing up to "lua"')
@@ -374,8 +374,8 @@ if sys_windows or get_option('lua-interpreter') == 'lua'
374 endif 374 endif
375 endforeach 375 endforeach
376else 376else
377 lua = dependency(get_option('lua-interpreter')) 377 # lua = dependency(get_option('lua-interpreter'))
378 lua_pc_name = 'luajit' 378# lua_pc_name = 'luajit'
379endif 379endif
380 380
381if sys_osx == true and get_option('lua-interpreter') == 'luajit' 381if sys_osx == true and get_option('lua-interpreter') == 'luajit'
@@ -390,18 +390,20 @@ subprojects = [
390# name | option | mod | lib | bin | bench | tests | examples | pkg-config options | name of static libs 390# name | option | mod | lib | bin | bench | tests | examples | pkg-config options | name of static libs
391['evil' ,[] , false, true, false, false, false, false, [], []], 391['evil' ,[] , false, true, false, false, false, false, [], []],
392['eina' ,[] , false, true, true, true, true, true, [], []], 392['eina' ,[] , false, true, true, true, true, true, [], []],
393['eolian' ,[] , false, true, true, false, true, false, ['eina'], []], 393#['eolian' ,[] , false, true, true, false, true, false, ['eina'], []],
394['eo' ,[] , false, true, false, true, true, false, ['eina'], []], 394#['eo' ,[] , false, true, false, true, true, false, ['eina'], []],
395['efl' ,[] , false, true, false, false, true, false, ['eo'], []], 395#['efl' ,[] , false, true, false, false, true, false, ['eo'], []],
396['emile' ,[] , false, true, false, false, true, true, ['eina', 'efl'], ['lz4', 'rg_etc']], 396#['emile' ,[] , false, true, false, false, true, true, ['eina', 'efl'], ['lz4', 'rg_etc']],
397['eet' ,[] , false, true, true, false, true, true, ['eina', 'emile', 'efl'], []], 397#['eet' ,[] , false, true, true, false, true, true, ['eina', 'emile', 'efl'], []],
398['ecore' ,[] , false, true, false, false, false, false, ['eina', 'eo', 'efl'], ['buildsystem']]] 398#['ecore' ,[] , false, true, false, false, false, false, ['eina', 'eo', 'efl'], ['buildsystem']]
399]
399 400
400if not sys_windows 401if false# not sys_windows
401 subprojects += [['eldbus' ,[] , false, true, 402 subprojects += [['eldbus' ,[] , false, true,
402 true, false, true, true, ['eina', 'eo', 'efl'], []]] 403 true, false, true, true, ['eina', 'eo', 'efl'], []]]
403endif 404endif
404 405
406if false
405subprojects += [ 407subprojects += [
406['ecore' ,[] , true, false, false, false, true, true, ['eina', 'eo', 'efl'], []], #ecores modules depend on eldbus 408['ecore' ,[] , true, false, false, false, true, true, ['eina', 'eo', 'efl'], []], #ecores modules depend on eldbus
407['ecore_audio' ,['audio'] , false, true, false, false, false, false, ['eina', 'eo'], []], 409['ecore_audio' ,['audio'] , false, true, false, false, false, false, ['eina', 'eo'], []],
@@ -419,12 +421,13 @@ subprojects += [
419['ecore_buffer' ,['buffer'] , true, true, true, false, false, false, ['eina'], []], 421['ecore_buffer' ,['buffer'] , true, true, true, false, false, false, ['eina'], []],
420['ector' ,[] , false, true, false, false, true, 422['ector' ,[] , false, true, false, false, true,
421 false, ['eina', 'efl'], ['draw', 'triangulator', 'freetype']],] 423 false, ['eina', 'efl'], ['draw', 'triangulator', 'freetype']],]
422 424endif
423if not sys_windows 425if false # not sys_windows
424 subprojects += [['elput' ,['drm'] , false, true, 426 subprojects += [['elput' ,['drm'] , false, true,
425 false, false, true, false, ['eina', 'eldbus'], []]] 427 false, false, true, false, ['eina', 'eldbus'], []]]
426endif 428endif
427 429
430if false
428subprojects += [ 431subprojects += [
429['ecore_drm2' ,['drm'] , false, true, false, false, false, false, ['ecore'], ['libdrm']], 432['ecore_drm2' ,['drm'] , false, true, false, false, false, false, ['ecore'], ['libdrm']],
430['ecore_cocoa' ,['cocoa'] , false, true, false, false, false, false, ['eina'], []], 433['ecore_cocoa' ,['cocoa'] , false, true, false, false, false, false, ['eina'], []],
@@ -442,10 +445,12 @@ subprojects += [
442['emotion' ,[] , true, true, false, false, true, true, ['eina', 'efl', 'eo'], []], 445['emotion' ,[] , true, true, false, false, true, true, ['eina', 'efl', 'eo'], []],
443['ethumb' ,[] , true, true, true, false, false, false, ['eina', 'efl', 'eo'], []], 446['ethumb' ,[] , true, true, true, false, false, false, ['eina', 'efl', 'eo'], []],
444['ethumb_client' ,[] , false, true, true, false, false, true, ['eina', 'efl', 'eo', 'ethumb'], []], 447['ethumb_client' ,[] , false, true, true, false, false, true, ['eina', 'efl', 'eo', 'ethumb'], []],
445['elementary' ,[] , true, true, true, true, true, true, ['eina', 'efl', 'eo', 'eet', 'evas', 'ecore', 'ecore-evas', 'ecore-file', 'ecore-input', 'edje', 'ethumb-client', 'emotion', 'ecore-imf', 'ecore-con', 'eldbus', 'efreet', 'efreet-mime', 'efreet-trash', 'eio'], ['atspi']], 448['elementary' ,[] , true, true, true, true, true, true, ['eina', 'efl', 'eo', 'eet', 'evas', 'ecore', 'ecore-evas', 'ecore-fle', 'ecore-input', 'edje', 'ethumb-client', 'emotion', 'ecore-imf', 'ecore-con', 'eldbus', 'efreet', 'efreet-mime', 'efreet-trash', 'eio'], ['atspi']],
446['efl_canvas_wl' ,['wl'] , false, true, true, false, false, 449['efl_canvas_wl' ,['wl'] , false, true, true, false, false,
447 false, ['eina', 'efl', 'eo', 'evas', 'ecore'], []],] 450 false, ['eina', 'efl', 'eo', 'evas', 'ecore'], []],
448 451]
452endif
453if false
449if not sys_windows 454if not sys_windows
450 subprojects += [['elua' ,['elua'] , false, true, 455 subprojects += [['elua' ,['elua'] , false, true,
451 true, false, true, false, ['eina', 'luajit'], []]] 456 true, false, true, false, ['eina', 'luajit'], []]]
@@ -453,23 +458,25 @@ else
453 subprojects += [['elua' ,['elua'] , false, true, 458 subprojects += [['elua' ,['elua'] , false, true,
454 true, false, true, false, ['eina', 'lua'], []]] 459 true, false, true, false, ['eina', 'lua'], []]]
455endif 460endif
461endif
456 462
463if false
457subprojects += [ 464subprojects += [
458['ecore_wayland' ,['wl-deprecated'] , false, true, false, false, false, false, ['eina'], []], 465['ecore_wayland' ,['wl-deprecated'] , false, true, false, false, false, false, ['eina'], []],
459['ecore_drm' ,['drm-deprecated'] , false, true, false, false, false, false, ['eina'], []], 466['ecore_drm' ,['drm-deprecated'] , false, true, false, false, false, false, ['eina'], []],
460['exactness' ,[] , false, false, true, false, false, false, ['eina, evas, eet'], []], 467['exactness' ,[] , false, false, true, false, false, false, ['eina, evas, eet'], []],
461] 468]
462 469endif
463# We generate Efl_Config.h and config.h later, they will be available here 470# We generate Efl_Config.h and config.h later, they will be available here
464config_dir += include_directories('.') 471config_dir += include_directories('.')
465 472
466#we have to do that first, eina modules are required by eina 473#we have to do that first, eina modules are required by eina
467#the other modules require theire package 474#the other modules require theire package
468subdir(join_paths(local_module, 'eina')) 475#subdir(join_paths(local_module, 'eina'))
469 476
470#List of dependency objects that might be disabled due to configurations 477#List of dependency objects that might be disabled due to configurations
471#If they are enabled, the object gets overwritten by the library file. 478#If they are enabled, the object gets overwritten by the library file.
472ecore_audio = declare_dependency() 479#ecore_audio = declare_dependency()
473 480
474test_dirs = [] 481test_dirs = []
475example_dirs = [] 482example_dirs = []
@@ -575,13 +582,13 @@ foreach package : subprojects
575endforeach 582endforeach
576 583
577#build this later, as the debug services are depending on ecore 584#build this later, as the debug services are depending on ecore
578subdir(join_paths('src', 'bin', 'efl')) 585#subdir(join_paths('src', 'bin', 'efl'))
579 586
580subdir(join_paths('src', 'generic', 'evas')) 587#subdir(join_paths('src', 'generic', 'evas'))
581subdir('cmakeconfig') 588#subdir('cmakeconfig')
582subdir(join_paths('src', 'bindings')) 589#subdir(join_paths('src', 'bindings'))
583subdir(join_paths('src', 'edje_external')) 590#subdir(join_paths('src', 'edje_external'))
584subdir(join_paths('data')) 591#subdir(join_paths('data'))
585 592
586if get_option('build-tests') 593if get_option('build-tests')
587 check = dependency('check') 594 check = dependency('check')
@@ -591,28 +598,28 @@ if get_option('build-tests')
591 endforeach 598 endforeach
592endif 599endif
593 600
594if get_option('build-examples') 601# if get_option('build-examples')
595 foreach example : example_dirs 602# foreach example : example_dirs
596 subdir(join_paths(local_examples, example)) 603# subdir(join_paths(local_examples, example))
597 endforeach 604# endforeach
598endif 605# endif
599 606
600subdir(join_paths(local_scripts)) 607# subdir(join_paths(local_scripts))
601 608
602meson.add_install_script('meson/meson_modules.sh', module_files) 609# meson.add_install_script('meson/meson_modules.sh', module_files)
603 610
604foreach evas_loader_map_inst : evas_loader_map 611# foreach evas_loader_map_inst : evas_loader_map
605 evas_loader_original = evas_loader_map_inst[0] 612# evas_loader_original = evas_loader_map_inst[0]
606 evas_loader_link_types = evas_loader_map_inst[1] 613# evas_loader_link_types = evas_loader_map_inst[1]
607 614
608 meson.add_install_script('meson/evas_loader_conf.sh', evas_loader_original, evas_loader_link_types) 615# meson.add_install_script('meson/evas_loader_conf.sh', evas_loader_original, evas_loader_link_types)
609endforeach 616# endforeach
610 617
611doxygen = find_program('doxygen', required : false) 618# doxygen = find_program('doxygen', required : false)
612 619
613if doxygen.found() 620# if doxygen.found()
614 subdir('doc') 621# subdir('doc')
615endif 622# endif
616 623
617# 624#
618# Configure files 625# Configure files
@@ -639,34 +646,34 @@ configure_file(
639 configuration: efl_config_h 646 configuration: efl_config_h
640) 647)
641 648
642configure_file( 649# configure_file(
643 input: 'elm_intro.h.in', 650# input: 'elm_intro.h.in',
644 output: 'elm_intro.h', 651# output: 'elm_intro.h',
645 configuration: config_h, 652# configuration: config_h,
646 install_dir : join_paths(dir_include,'elementary-'+version_major) 653# install_dir : join_paths(dir_include,'elementary-'+version_major)
647) 654# )
648 655
649subdir(join_paths('systemd-services')) 656# subdir(join_paths('systemd-services'))
650 657
651if not sys_windows and get_option('dbus') 658# if not sys_windows and get_option('dbus')
652 subdir(join_paths('dbus-services')) 659# subdir(join_paths('dbus-services'))
653endif 660# endif
654 661
655if sys_windows == false 662# if sys_windows == false
656#output the three new efl-* .pc files 663# #output the three new efl-* .pc files
657efl_20_pc_files = [ 664# efl_20_pc_files = [
658 ['efl-ui', ['elementary']], 665# ['efl-ui', ['elementary']],
659 ['efl-core', ['ecore', 'efl', 'emile']], 666# ['efl-core', ['ecore', 'efl', 'emile']],
660 ['efl-net', ['ecore', 'ecore-con', 'emile']], 667# ['efl-net', ['ecore', 'ecore-con', 'emile']],
661] 668# ]
662 669
663foreach pc_file : efl_20_pc_files 670# foreach pc_file : efl_20_pc_files
664 name = pc_file[0] 671# name = pc_file[0]
665 libraries = pc_file[1] 672# libraries = pc_file[1]
666 pkgconfig.generate( 673# pkgconfig.generate(
667 name : '-'.join(name.split('_')), 674# name : '-'.join(name.split('_')),
668 description: name+' configutation file', 675# description: name+' configutation file',
669 requires : libraries, 676# requires : libraries,
670 ) 677# )
671endforeach 678# endforeach
672endif 679# endif
diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build
index 9d82484c2a..83c38bb51c 100644
--- a/src/lib/eina/meson.build
+++ b/src/lib/eina/meson.build
@@ -395,10 +395,13 @@ endif
395execinfo = cc.find_library('execinfo', required: false) 395execinfo = cc.find_library('execinfo', required: false)
396 396
397if sys_windows 397if sys_windows
398 eina_lib_deps = [execinfo, iconv, eina_deps, thread_dep, eina_mem_pools, evil] 398 eina_lib_deps = [execinfo, iconv, eina_deps, thread_dep
399 #, eina_mem_pools
400 , evil]
399else 401else
400 eina_lib_deps = [m, rt, dl, execinfo, iconv, eina_deps, thread_dep 402 eina_lib_deps = [m, rt, dl, execinfo, iconv, eina_deps, thread_dep
401 , eina_mem_pools, evil] 403 # , eina_mem_pools, evil]
404 ]
402endif 405endif
403 406
404eina_lib = library('eina', sources, 407eina_lib = library('eina', sources,