[m] attempt to fix Travis not building

This commit is contained in:
billy1arm 2013-06-17 13:01:53 +01:00 committed by Antz
parent a05c31e62f
commit 42abf7c67e
9 changed files with 20 additions and 14 deletions

View file

@ -8,7 +8,8 @@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
cmake_minimum_required (VERSION 2.6)
cmake_minimum_required (VERSION 2.8)
project (MANGOS_MAP_EXTRACTOR)
add_subdirectory (loadlib)

View file

@ -8,7 +8,7 @@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
cmake_minimum_required (VERSION 2.6)
cmake_minimum_required (VERSION 2.8)
project( MoveMapGen )
@ -26,9 +26,9 @@ include_directories(
../../src/game
../../src/game/vmap
../../dep/include/g3dlite
../../src/framework
../../dep/ACE_wrappers
../../objdir/dep/ACE_wrappers
../../src/framework
../../dep/recastnavigation/Detour/Include
../../dep/recastnavigation/Recast/Include
../../dep/src/zlib

View file

@ -8,7 +8,8 @@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
cmake_minimum_required (VERSION 2.6)
cmake_minimum_required (VERSION 2.8)
project (MANGOS_VMAP_ASSEMB_IO)
set(CMAKE_VERBOSE_MAKEFILE true)
@ -85,4 +86,3 @@ target_link_libraries(vmap_assembler vmap)
# add_executable(vmap_test coordinate_test.cpp)
# target_link_libraries(vmap_test vmap)

View file

@ -0,0 +1,2 @@
*.user
bin

View file

@ -0,0 +1,2 @@
*.user
bin

View file

@ -8,9 +8,9 @@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
cmake_minimum_required (VERSION 2.6)
project (MANGOS_VMAP_EXTRACT_IO)
cmake_minimum_required (VERSION 2.8)
project (MANGOS_VMAP_EXTRACT_IO)
# uncomment next line to disable debug mode
ADD_DEFINITIONS("-DIOMAP_DEBUG")
@ -20,6 +20,6 @@ ADD_DEFINITIONS("-Wall")
ADD_DEFINITIONS("-ggdb")
ADD_DEFINITIONS("-O3")
include_directories(../../dep/libmpq)
include_directories(${CMAKE_SOURCE_DIR}/../../dep/libmpq)
add_subdirectory(vmapextract)

View file

@ -9,7 +9,7 @@ Linux:
$ ./configure
$ make
After that, cd to contrib/vmap_extractor_v4/ and execute:
After that, cd to contrib/vmap_extractor/ and execute:
$ cmake .
$ make
@ -30,8 +30,8 @@ Windows:
1. Building
Just build the solution in contrib\vmap_extractor_v2\win
Resulting binaries will be in contrib\vmap_extractor_v2\bin\$(PlatformName)_$(ConfigurationName)
Just build the solution in contrib\vmap_extractor\win
Resulting binaries will be in contrib\vmap_extractor\bin\$(PlatformName)_$(ConfigurationName)
2. Extracting

View file

@ -10,7 +10,7 @@ cls
echo.
echo.
echo.
IF EXIST buildings\dir (ECHO The buildings folder already exist do you want to delete it?
IF EXIST Buildings\dir (ECHO The Buildings folder already exist do you want to delete it?
echo If YES hit Enter to continue if no CLOSE the program now! . . .
pause>nul
DEL /S /Q buildings)

View file

@ -8,9 +8,10 @@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
cmake_minimum_required (VERSION 2.6)
cmake_minimum_required (VERSION 2.8)
project (MANGOS_IOMAP_EXTRACTOR)
LINK_DIRECTORIES( ${LINK_DIRECTORIES} ../../../dep/libmpq/libmpq/.libs/ )
LINK_DIRECTORIES( ${LINK_DIRECTORIES} ${CMAKE_SOURCE_DIR}/../../dep/libmpq/libmpq/.libs/ )
add_executable(vmapextractor adtfile.cpp dbcfile.cpp gameobject_extract.cpp model.cpp mpq_libmpq.cpp vmapexport.cpp wdtfile.cpp wmo.cpp)
target_link_libraries(vmapextractor libmpq.a bz2 z)