mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[0055] Update CMakeLists for extractor. Thanks rsa
Signed-off-by: Salja <salja2012@hotmail.de>
This commit is contained in:
parent
4adde859b0
commit
9286040179
4 changed files with 6 additions and 14 deletions
|
|
@ -11,20 +11,12 @@
|
|||
cmake_minimum_required (VERSION 2.6)
|
||||
project (MANGOS_MAP_EXTRACTOR)
|
||||
|
||||
message(FATAL_ERROR
|
||||
"This project CMakeLists.txt outdated after switch use dep/libmpq and need update use existed Visual Studio projects for build."
|
||||
)
|
||||
|
||||
add_subdirectory (libmpq)
|
||||
add_subdirectory (loadlib)
|
||||
|
||||
include_directories (${MANGOS_MAP_EXTRACTOR_SOURCE_DIR}/libmpq)
|
||||
include_directories (${MANGOS_MAP_EXTRACTOR_SOURCE_DIR}/loadlib)
|
||||
|
||||
link_directories (${MANGOS_MAP_EXTRACTOR_SOURCE_DIR}/libmpq)
|
||||
link_directories (${MANGOS_MAP_EXTRACTOR_SOURCE_DIR}/loadlib)
|
||||
|
||||
add_executable (ad dbcfile.cpp mpq_libmpq.cpp System.cpp)
|
||||
add_executable (ad dbcfile.cpp System.cpp)
|
||||
|
||||
target_link_libraries (ad libmpq)
|
||||
target_link_libraries (ad loadlib)
|
||||
target_link_libraries (ad loadlib libStormLib)
|
||||
|
|
|
|||
|
|
@ -26,3 +26,4 @@ endif()
|
|||
|
||||
add_subdirectory(recastnavigation)
|
||||
add_subdirectory(src)
|
||||
add_subdirectory(StormLib)
|
||||
|
|
@ -300,6 +300,5 @@ if(WIN32)
|
|||
set_target_properties(storm PROPERTIES OUTPUT_NAME StormLib)
|
||||
endif()
|
||||
|
||||
install(TARGETS storm RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib FRAMEWORK DESTINATION /Library/Frameworks)
|
||||
install(FILES src/StormLib.h src/StormPort.h DESTINATION include)
|
||||
|
||||
install(TARGETS storm RUNTIME DESTINATION ${LIB_INSTALL_DIR} LIBRARY DESTINATION ${LIB_INSTALL_DIR} ARCHIVE DESTINATION ${LIB_INSTALL_DIR} FRAMEWORK DESTINATION /Library/Frameworks)
|
||||
install(FILES src/StormLib.h src/StormPort.h DESTINATION ${INCLUDE_INSTALL_DIR})
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "0054"
|
||||
#define REVISION_NR "0055"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue