1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-24 10:42:31 +03:00
Files
wsrep-lib/dbsim/CMakeLists.txt
Teemu Ollakka eb4cf86c1e Implemented thread service support.
Added a wsrep::thread_service interface to allow application to
inject instrumented thread, mutex and condition variable implementation
for provider.

The interface is defined in include/wsrep/thread_service.hpp.
Sample implementation is provided in dbsim/db_threads.[h|c]pp.

This patch will also clean up some remaining dependencies to
wsrep-API compilation units so that the dependency to wsrep-API
is header only. This will extending the provider support to
later wsrep-API versions.
2019-10-14 09:30:15 +03:00

21 lines
505 B
CMake

#
# Copyright (C) 2018 Codership Oy <info@codership.com>
#
add_executable(dbsim
db_client.cpp
db_client_service.cpp
db_high_priority_service.cpp
db_params.cpp
db_server.cpp
db_server_service.cpp
db_server_state.cpp
db_simulator.cpp
db_storage_engine.cpp
db_threads.cpp
dbsim.cpp
)
target_link_libraries(dbsim wsrep-lib ${Boost_PROGRAM_OPTIONS_LIBRARY} ${Boost_SYSTEM_LIBRARY} ${Boost_FILESYSTEM_LIBRARY} ${Boost_THREAD_LIBRARY})
set_property(TARGET dbsim PROPERTY CXX_STANDARD 14)