Skip to content

Reorganized CMake project to use static libraries for components#110

Merged
percona-ysorokin merged 1 commit intomainfrom
cmake_subtargets
Mar 24, 2026
Merged

Reorganized CMake project to use static libraries for components#110
percona-ysorokin merged 1 commit intomainfrom
cmake_subtargets

Conversation

@percona-ysorokin
Copy link
Copy Markdown
Collaborator

Introduced:

  • 'binsrv::lib_util' static library ('src/util/*')
  • 'binsrv::lib_easymysql' static library ('src/easymysql/*')
  • 'binsrv::lib_gtids' static library ('src/binsrv/gtids/*')
  • 'binsrv::lib_events' static library ('src/binsrv/events/*')
  • 'binsrv::lib_models' static library ('src/binsrv/models/*')

'ctime_timestamp' class moved from the 'binsrv' namespace to the 'util'. 'ctime_timestamp_range' class moved from the 'binsrv' namespace to the 'util'. 'composite_binlog_name' class moved from the 'binsrv' namespace to the 'binsrv::events'.

Reorganized unit tests 'CMakeLists.txt' file - instead of specifying source files directly we now use 'binsrv::lib_util' / 'binsrv::gtids' / 'binsrv::events' as dependency libraries in 'target_ling_libraries()' directives.

Introduced:
* 'binsrv::lib_util' static library ('src/util/*')
* 'binsrv::lib_easymysql' static library ('src/easymysql/*')
* 'binsrv::lib_gtids' static library ('src/binsrv/gtids/*')
* 'binsrv::lib_events' static library ('src/binsrv/events/*')
* 'binsrv::lib_models' static library ('src/binsrv/models/*')

'ctime_timestamp' class moved from the 'binsrv' namespace to the 'util'.
'ctime_timestamp_range' class moved from the 'binsrv' namespace to the 'util'.
'composite_binlog_name' class moved from the 'binsrv' namespace to the
'binsrv::events'.

Reorganized unit tests 'CMakeLists.txt' file - instead of specifying source files
directly we now use 'binsrv::lib_util' / 'binsrv::gtids' / 'binsrv::events' as
dependency libraries in 'target_ling_libraries()' directives.
@percona-ysorokin percona-ysorokin merged commit 4cf8bf0 into main Mar 24, 2026
7 checks passed
@percona-ysorokin percona-ysorokin deleted the cmake_subtargets branch March 24, 2026 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant