Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- file(GLOB flatbuffer_files
- "${CMAKE_CURRENT_SOURCE_DIR}/Server/Packets/*.h"
- "${CMAKE_CURRENT_SOURCE_DIR}/Server/Packets/*.cc"
- )
- add_library(
- Common
- SHARED
- Config.cpp
- Config.h
- Logger.cpp
- Logger.h
- Database/MySQLConnection.h
- Database/MySQLConnection.cpp
- Database/MySQLTable.h
- Database/MySQLTable.cpp
- Banner.cpp
- Banner.h
- Database/MySQLTableBase.cpp
- Database/MySQLTableBase.h
- Memory/Memory.cpp
- Memory/Memory.h
- Server/Server.cpp
- Server/Server.h
- Server/Client.cpp
- Server/Client.h
- Server/Client.cpp Server/Client.h
- Server/Protocol/Opcodes.cpp
- Server/Protocol/Opcodes.h
- Server/Protocol/ServerOpcode.h
- Server/Packet.cpp
- Server/Packet.h
- DataSchemas/Account.h
- DataSchemas/AccountRole.h
- ${flatbuffer_files}
- )
- target_include_directories(Common PUBLIC /usr/local/mysql/connector-c++-/include /usr/local/include/flatbuffers)
- target_link_libraries(Common PUBLIC /usr/local/mysql/connector-c++-/lib64/debug/libmysqlcppconn8.so ${CMAKE_THREAD_LIBS_INIT} ${Boost_LIBRARIES} flatbuffers gRPC::grpc++)
- target_include_directories(Common PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${MYSQL_LIBRARY} ${CMAKE_CURRENT_SOURCE_DIR}/Server/Packets)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement