mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-22 21:43:35 +00:00
14 lines
402 B
CMake
14 lines
402 B
CMake
add_subdirectory(CDClientDatabase)
|
|
add_subdirectory(GameDatabase)
|
|
|
|
add_library(dDatabase STATIC "MigrationRunner.cpp")
|
|
|
|
add_custom_target(conncpp_dylib
|
|
${CMAKE_COMMAND} -E copy $<TARGET_FILE:mariadb_cpp_connector> ${CMAKE_BINARY_DIR})
|
|
|
|
add_dependencies(dDatabase conncpp_dylib)
|
|
|
|
target_include_directories(dDatabase PUBLIC ".")
|
|
target_link_libraries(dDatabase
|
|
PUBLIC dDatabaseCDClient dDatabaseGame)
|