Skip to content

Commit

Permalink
build: Fold file lists
Browse files Browse the repository at this point in the history
  • Loading branch information
lhmouse committed Nov 4, 2024
1 parent f13575c commit 1c29db3
Showing 1 changed file with 81 additions and 211 deletions.
292 changes: 81 additions & 211 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -23,227 +23,97 @@ project('mcfgthread',
# List of files
#===========================================================
mcfgthread_include = [
'mcfgthread/fwd.h',
'mcfgthread/atomic.h',
'mcfgthread/clock.h',
'mcfgthread/mutex.h',
'mcfgthread/shared_mutex.h',
'mcfgthread/cond.h',
'mcfgthread/once.h',
'mcfgthread/sem.h',
'mcfgthread/event.h',
'mcfgthread/thread.h',
'mcfgthread/cxa.h',
'mcfgthread/dtor_queue.h',
'mcfgthread/exit.h',
'mcfgthread/tls.h',
'mcfgthread/gthr_aux.h',
'mcfgthread/gthr.h',
'mcfgthread/gthr_libobjc.h',
'mcfgthread/c11.h',
'mcfgthread/libcxx.h',
'mcfgthread/cxx11.hpp',
]
'mcfgthread/fwd.h', 'mcfgthread/atomic.h', 'mcfgthread/clock.h',
'mcfgthread/mutex.h', 'mcfgthread/shared_mutex.h', 'mcfgthread/cond.h',
'mcfgthread/once.h', 'mcfgthread/sem.h', 'mcfgthread/event.h',
'mcfgthread/thread.h', 'mcfgthread/cxa.h', 'mcfgthread/dtor_queue.h',
'mcfgthread/exit.h', 'mcfgthread/tls.h', 'mcfgthread/gthr_aux.h',
'mcfgthread/gthr.h', 'mcfgthread/gthr_libobjc.h', 'mcfgthread/c11.h',
'mcfgthread/libcxx.h', 'mcfgthread/cxx11.hpp' ]

mcfgthread_src_min = [
'mcfgthread/memcpy.c',
'mcfgthread/memmove.c',
'mcfgthread/memcmp.c',
'mcfgthread/memset.c',
'mcfgthread/xglobals.c',
'mcfgthread/fwd.c',
'mcfgthread/atomic.c',
'mcfgthread/clock.c',
'mcfgthread/mutex.c',
'mcfgthread/shared_mutex.c',
'mcfgthread/cond.c',
'mcfgthread/once.c',
'mcfgthread/sem.c',
'mcfgthread/event.c',
'mcfgthread/thread.c',
'mcfgthread/cxa.c',
'mcfgthread/dtor_queue.c',
'mcfgthread/exit.c',
'mcfgthread/tls.c',
'mcfgthread/gthr_aux.c',
]
'mcfgthread/memcpy.c', 'mcfgthread/memmove.c', 'mcfgthread/memcmp.c',
'mcfgthread/memset.c', 'mcfgthread/xglobals.c', 'mcfgthread/fwd.c',
'mcfgthread/atomic.c', 'mcfgthread/clock.c', 'mcfgthread/mutex.c',
'mcfgthread/shared_mutex.c', 'mcfgthread/cond.c', 'mcfgthread/once.c',
'mcfgthread/sem.c', 'mcfgthread/event.c', 'mcfgthread/thread.c',
'mcfgthread/cxa.c', 'mcfgthread/dtor_queue.c', 'mcfgthread/exit.c',
'mcfgthread/tls.c', 'mcfgthread/gthr_aux.c' ]

mcfgthread_src_full = [
'mcfgthread/gthr.c',
'mcfgthread/gthr_libobjc.c',
'mcfgthread/c11.c',
'mcfgthread/libcxx.c',
]
'mcfgthread/gthr.c', 'mcfgthread/gthr_libobjc.c', 'mcfgthread/c11.c',
'mcfgthread/libcxx.c' ]

test_src = [
'test/win8.c',
'test/win10.c',
'test/self_oom.c',
'test/mix.c',
'test/memory.c',
'test/clock.c',
'test/winnt_timeout.c',
'test/runtime_failure.c',
'test/seh_terminate.c',
'test/teb.c',
'test/once_zero_timeout.c',
'test/once_release.c',
'test/once_abort.c',
'test/once_timeout.c',
'test/mutex_spin_fail.c',
'test/mutex_zero_timeout.c',
'test/mutex_timeout.c',
'test/mutex.c',
'test/shared_mutex_zero_timeout.c',
'test/shared_mutex_timeout.c',
'test/shared_mutex_shared.c',
'test/shared_mutex_shared_too_many.c',
'test/shared_mutex_exclusive.c',
'test/cond_timeout.c',
'test/cond_multi_wait.c',
'test/sem_init.c',
'test/sem_timeout.c',
'test/sem_value.c',
'test/sem_overflow.c',
'test/event_init.c',
'test/event_timeout.c',
'test/event_value.c',
'test/dtor_queue_dso.c',
'test/dtor_queue_all.c',
'test/dtor_queue_remove.c',
'test/cxa_atexit_dso.c',
'test/cxa_atexit_all.c',
'test/cxa_thread_atexit.c',
'test/cxa_thread_atexit_exit.c',
'test/cxa_atexit_order.c',
'test/tls_dtor.c',
'test/tls_dtor_static.c',
'test/tls_xset.c',
'test/tls_deleted_key.c',
'test/tls_deleted_key_get_set.c',
'test/tls_many.c',
'test/tls_dtor_thread_exit.c',
'test/tls_dtor_ignored_on_exit.c',
'test/tls_dtor_ignored_on_quick_exit.c',
'test/tls_dtor_ignored_on__Exit.c',
'test/tls_foreign_dtor.c',
'test/tls_foreign_xset.c',
'test/tls_foreign_dtor_thread_exit.c',
'test/thread_self_id.c',
'test/thread_new_alignment.c',
'test/thread_new_aligned.c',
'test/thread_new_aligned_bad_alignment.c',
'test/thread_overlarge.c',
'test/thread_x87_precision.c',
'test/thread_priority.c',
'test/thread_sleep.c',
'test/gthr_c89_pedantic.c',
'test/gthr_inline_alias.c',
'test/gthr_once.c',
'test/gthr_mutex_trylock.c',
'test/gthr_mutex_timeout.c',
'test/gthr_mutex.c',
'test/gthr_mutex_nonrecursive.c',
'test/gthr_rc_mutex_trylock.c',
'test/gthr_rc_mutex_timeout.c',
'test/gthr_rc_mutex.c',
'test/gthr_cond_timeout.c',
'test/gthr_cond_consumers.c',
'test/gthr_cond_consumers_recursive.c',
'test/gthr_tls_dtor.c',
'test/gthr_tls_set.c',
'test/gthr_tls_deleted_key.c',
'test/gthr_tls_many.c',
'test/gthr_thread_return.c',
'test/gthr_equal.c',
'test/gthr_cxx98_pedantic.cpp',
'test/libcxx_inline_alias.c',
'test/libcxx_once.c',
'test/libcxx_mutex_trylock.c',
'test/libcxx_mutex.c',
'test/libcxx_mutex_nonrecursive.c',
'test/libcxx_rc_mutex_trylock.c',
'test/libcxx_rc_mutex.c',
'test/libcxx_condvar_timeout.c',
'test/libcxx_condvar_consumers.c',
'test/libcxx_tls_dtor.c',
'test/libcxx_tls_set.c',
'test/libcxx_tls_deleted_key.c',
'test/libcxx_tls_many.c',
'test/libcxx_thread_return.c',
'test/libcxx_thread_id_equal.c',
'test/libcxx_sleep.c',
'test/c11_c99_pedantic.c',
'test/c11_inline_alias.c',
'test/c11_call_once.c',
'test/c11_mtx_trylock.c',
'test/c11_mtx_timeout.c',
'test/c11_mtx_timeout_unsupported.c',
'test/c11_mtx.c',
'test/c11_mtx_nonrecursive.c',
'test/c11_mtx_recursive.c',
'test/c11_mtx_recursive_trylock.c',
'test/c11_mtx_recursive_timeout.c',
'test/c11_cnd_timeout.c',
'test/c11_cnd_consumers.c',
'test/c11_cnd_consumers_recursive.c',
'test/c11_tss_dtor.c',
'test/c11_tss_set.c',
'test/c11_tss_deleted_key.c',
'test/c11_tss_many.c',
'test/c11_thrd_return.c',
'test/c11_thrd_equal.c',
'test/c11_thrd_sleep.c',
'test/c11__thrd_sleep_until.c',
'test/atexit_thread_self.c',
'test/atexit_order.c',
'test/atexit_ignored_on_quick_exit.c',
'test/atexit_ignored_on__Exit.c',
'test/at_quick_exit_order.c',
'test/at_quick_exit_ignored_on_exit.c',
'test/at_quick_exit_ignored_on__Exit.c',
'test/cxx11_no_exceptions.cpp',
'test/cxx11_pedantic.cpp',
'test/cxx14_pedantic.cpp',
'test/mutex_ctor_constexpr.cpp',
'test/mutex.cpp',
'test/mutex_nonrecursive.cpp',
'test/mutex_try_lock.cpp',
'test/timed_mutex_try_lock_until.cpp',
'test/timed_mutex_try_lock_for.cpp',
'test/shared_mutex_ctor_constexpr.cpp',
'test/shared_mutex_shared.cpp',
'test/shared_mutex_exclusive.cpp',
'test/shared_mutex_try_lock_shared.cpp',
'test/shared_mutex_try_lock_exclusive.cpp',
'test/win8.c', 'test/win10.c', 'test/self_oom.c', 'test/mix.c',
'test/memory.c', 'test/clock.c', 'test/winnt_timeout.c', 'test/runtime_failure.c',
'test/seh_terminate.c', 'test/teb.c', 'test/once_zero_timeout.c',
'test/once_release.c', 'test/once_abort.c', 'test/once_timeout.c',
'test/mutex_spin_fail.c', 'test/mutex_zero_timeout.c', 'test/mutex_timeout.c',
'test/mutex.c', 'test/shared_mutex_zero_timeout.c', 'test/shared_mutex_timeout.c',
'test/shared_mutex_shared.c', 'test/shared_mutex_shared_too_many.c',
'test/shared_mutex_exclusive.c', 'test/cond_timeout.c', 'test/cond_multi_wait.c',
'test/sem_init.c', 'test/sem_timeout.c', 'test/sem_value.c', 'test/sem_overflow.c',
'test/event_init.c', 'test/event_timeout.c', 'test/event_value.c',
'test/dtor_queue_dso.c', 'test/dtor_queue_all.c', 'test/dtor_queue_remove.c',
'test/cxa_atexit_dso.c', 'test/cxa_atexit_all.c', 'test/cxa_thread_atexit.c',
'test/cxa_thread_atexit_exit.c', 'test/cxa_atexit_order.c', 'test/tls_dtor.c',
'test/tls_dtor_static.c', 'test/tls_xset.c', 'test/tls_deleted_key.c',
'test/tls_deleted_key_get_set.c', 'test/tls_many.c',
'test/tls_dtor_thread_exit.c', 'test/tls_dtor_ignored_on_exit.c',
'test/tls_dtor_ignored_on_quick_exit.c', 'test/tls_dtor_ignored_on__Exit.c',
'test/tls_foreign_dtor.c', 'test/tls_foreign_xset.c',
'test/tls_foreign_dtor_thread_exit.c', 'test/thread_self_id.c',
'test/thread_new_alignment.c', 'test/thread_new_aligned.c',
'test/thread_new_aligned_bad_alignment.c', 'test/thread_overlarge.c',
'test/thread_x87_precision.c', 'test/thread_priority.c', 'test/thread_sleep.c',
'test/gthr_c89_pedantic.c', 'test/gthr_inline_alias.c', 'test/gthr_once.c',
'test/gthr_mutex_trylock.c', 'test/gthr_mutex_timeout.c', 'test/gthr_mutex.c',
'test/gthr_mutex_nonrecursive.c', 'test/gthr_rc_mutex_trylock.c',
'test/gthr_rc_mutex_timeout.c', 'test/gthr_rc_mutex.c', 'test/gthr_cond_timeout.c',
'test/gthr_cond_consumers.c', 'test/gthr_cond_consumers_recursive.c',
'test/gthr_tls_dtor.c', 'test/gthr_tls_set.c', 'test/gthr_tls_deleted_key.c',
'test/gthr_tls_many.c', 'test/gthr_thread_return.c', 'test/gthr_equal.c',
'test/gthr_cxx98_pedantic.cpp', 'test/libcxx_inline_alias.c', 'test/libcxx_once.c',
'test/libcxx_mutex_trylock.c', 'test/libcxx_mutex.c',
'test/libcxx_mutex_nonrecursive.c', 'test/libcxx_rc_mutex_trylock.c',
'test/libcxx_rc_mutex.c', 'test/libcxx_condvar_timeout.c',
'test/libcxx_condvar_consumers.c', 'test/libcxx_tls_dtor.c',
'test/libcxx_tls_set.c', 'test/libcxx_tls_deleted_key.c', 'test/libcxx_tls_many.c',
'test/libcxx_thread_return.c', 'test/libcxx_thread_id_equal.c',
'test/libcxx_sleep.c', 'test/c11_c99_pedantic.c', 'test/c11_inline_alias.c',
'test/c11_call_once.c', 'test/c11_mtx_trylock.c', 'test/c11_mtx_timeout.c',
'test/c11_mtx_timeout_unsupported.c', 'test/c11_mtx.c',
'test/c11_mtx_nonrecursive.c', 'test/c11_mtx_recursive.c',
'test/c11_mtx_recursive_trylock.c', 'test/c11_mtx_recursive_timeout.c',
'test/c11_cnd_timeout.c', 'test/c11_cnd_consumers.c',
'test/c11_cnd_consumers_recursive.c', 'test/c11_tss_dtor.c', 'test/c11_tss_set.c',
'test/c11_tss_deleted_key.c', 'test/c11_tss_many.c', 'test/c11_thrd_return.c',
'test/c11_thrd_equal.c', 'test/c11_thrd_sleep.c',
'test/c11__thrd_sleep_until.c', 'test/atexit_thread_self.c', 'test/atexit_order.c',
'test/atexit_ignored_on_quick_exit.c', 'test/atexit_ignored_on__Exit.c',
'test/at_quick_exit_order.c', 'test/at_quick_exit_ignored_on_exit.c',
'test/at_quick_exit_ignored_on__Exit.c', 'test/cxx11_no_exceptions.cpp',
'test/cxx11_pedantic.cpp', 'test/cxx14_pedantic.cpp',
'test/mutex_ctor_constexpr.cpp', 'test/mutex.cpp', 'test/mutex_nonrecursive.cpp',
'test/mutex_try_lock.cpp', 'test/timed_mutex_try_lock_until.cpp',
'test/timed_mutex_try_lock_for.cpp', 'test/shared_mutex_ctor_constexpr.cpp',
'test/shared_mutex_shared.cpp', 'test/shared_mutex_exclusive.cpp',
'test/shared_mutex_try_lock_shared.cpp', 'test/shared_mutex_try_lock_exclusive.cpp',
'test/shared_timed_mutex_try_lock_shared_until.cpp',
'test/shared_timed_mutex_try_lock_exclusive_until.cpp',
'test/shared_timed_mutex_try_lock_shared_for.cpp',
'test/shared_timed_mutex_try_lock_exclusive_for.cpp',
'test/condition_variable_consumers.cpp',
'test/condition_variable_wait_until.cpp',
'test/condition_variable_wait_for.cpp',
'test/call_once_returning.cpp',
'test/call_once_exceptional.cpp',
'test/call_once_seh_returning.cpp',
'test/call_once_seh_exceptional.cpp',
'test/recursive_mutex.cpp',
'test/recursive_mutex_try_lock.cpp',
'test/recursive_timed_mutex_try_lock_until.cpp',
'test/recursive_timed_mutex_try_lock_for.cpp',
'test/thread_dtor_terminate.cpp',
'test/thread_move_assign_terminate.cpp',
'test/thread_move_assign_joined.cpp',
'test/thread_join_deadlock.cpp',
'test/thread_ctor_throw.cpp',
'test/thread_id.cpp',
'test/thread_decay_copy.cpp',
'test/this_thread_sleep_until.cpp',
'test/this_thread_sleep_for.cpp',
'test/tls_dtor.cpp',
'test/tls_many.cpp',
'test/tls_set.cpp',
]
'test/condition_variable_consumers.cpp', 'test/condition_variable_wait_until.cpp',
'test/condition_variable_wait_for.cpp', 'test/call_once_returning.cpp',
'test/call_once_exceptional.cpp', 'test/call_once_seh_returning.cpp',
'test/call_once_seh_exceptional.cpp', 'test/recursive_mutex.cpp', 'test/tls_set.cpp',
'test/recursive_mutex_try_lock.cpp', 'test/recursive_timed_mutex_try_lock_until.cpp',
'test/recursive_timed_mutex_try_lock_for.cpp', 'test/thread_dtor_terminate.cpp',
'test/thread_move_assign_terminate.cpp', 'test/thread_move_assign_joined.cpp',
'test/thread_join_deadlock.cpp', 'test/thread_ctor_throw.cpp', 'test/thread_id.cpp',
'test/thread_decay_copy.cpp', 'test/this_thread_sleep_until.cpp',
'test/this_thread_sleep_for.cpp', 'test/tls_dtor.cpp', 'test/tls_many.cpp' ]

#===========================================================
# Global configuration
Expand Down

0 comments on commit 1c29db3

Please sign in to comment.