1
0

added md5 as a dependency for bindings

This commit is contained in:
Tycho Bickerstaff 2013-12-19 00:55:01 +00:00
parent e2549dfcb2
commit 95c7407dd3
3 changed files with 14 additions and 1 deletions

View File

@ -18,6 +18,7 @@ add_subdirectory(lib/tolua++/)
add_subdirectory(lib/sqlite/) add_subdirectory(lib/sqlite/)
add_subdirectory(lib/expat/) add_subdirectory(lib/expat/)
add_subdirectory(lib/luaexpat/) add_subdirectory(lib/luaexpat/)
add_subdirectory(lib/md5/)
#TODo: set -Wall -Werror -Wextra #TODo: set -Wall -Werror -Wextra
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_BAK}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_BAK}")

11
lib/md5/CMakeLists.txt Normal file
View File

@ -0,0 +1,11 @@
cmake_minimum_required (VERSION 2.6)
project (md5)
include_directories ("${PROJECT_SOURCE_DIR}/../../src/")
file(GLOB SOURCE
"*.cpp"
)
add_library(md5 ${SOURCE})

View File

@ -34,4 +34,5 @@ add_executable(../MCServer/MCServer ${SOURCE})
target_link_libraries(../MCServer/MCServer OSSupport HTTPServer iniFile Bindings Items Blocks) target_link_libraries(../MCServer/MCServer OSSupport HTTPServer iniFile Bindings Items Blocks)
target_link_libraries(../MCServer/MCServer Protocol Generating WorldStorage jsoncpp cryptopp) target_link_libraries(../MCServer/MCServer Protocol Generating WorldStorage jsoncpp cryptopp)
target_link_libraries(../MCServer/MCServer Mobs Entities Simulator UI zlib lua BlockEntities luaexpat) target_link_libraries(../MCServer/MCServer Mobs Entities Simulator UI zlib lua BlockEntities)
target_link_libraries(../MCServer/MCServer md5 luaexpat)