mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 23:17:28 +00:00
13 lines
339 B
CMake
13 lines
339 B
CMake
set(DDATABASE_SOURCES "CDClientDatabase.cpp"
|
|
"Database.cpp"
|
|
"MigrationRunner.cpp")
|
|
|
|
add_subdirectory(Tables)
|
|
|
|
foreach(file ${DDATABASE_TABLES_SOURCES})
|
|
set(DDATABASE_SOURCES ${DDATABASE_SOURCES} "Tables/${file}")
|
|
endforeach()
|
|
|
|
add_library(dDatabase STATIC ${DDATABASE_SOURCES})
|
|
target_link_libraries(dDatabase sqlite3 mariadbConnCpp)
|