mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 13:37:22 +00:00
e54faa3820
* chore: organize build flags * Remove ambiguous include path Don't be default incluyde bcrypt so you need to specify the folder. Allows pre-processor to find the correct file. * Revert settings * working f
21 lines
580 B
CMake
21 lines
580 B
CMake
set(DDATABASE_SOURCES)
|
|
|
|
add_subdirectory(CDClientDatabase)
|
|
|
|
foreach(file ${DDATABASE_CDCLIENTDATABASE_SOURCES})
|
|
set(DDATABASE_SOURCES ${DDATABASE_SOURCES} "CDClientDatabase/${file}")
|
|
endforeach()
|
|
|
|
add_subdirectory(GameDatabase)
|
|
|
|
foreach(file ${DDATABASE_GAMEDATABASE_SOURCES})
|
|
set(DDATABASE_SOURCES ${DDATABASE_SOURCES} "GameDatabase/${file}")
|
|
endforeach()
|
|
|
|
add_library(dDatabase STATIC ${DDATABASE_SOURCES})
|
|
target_link_libraries(dDatabase sqlite3 mariadbConnCpp)
|
|
|
|
if (${CDCLIENT_CACHE_ALL})
|
|
add_compile_definitions(dDatabase CDCLIENT_CACHE_ALL=${CDCLIENT_CACHE_ALL})
|
|
endif()
|