diff options
-rw-r--r-- | CMakeLists.txt | 3 | ||||
-rw-r--r-- | bin/compiler/config.sh.dist | 7 | ||||
-rw-r--r-- | src/tools/mmaps_generator/CMakeLists.txt | 2 |
3 files changed, 8 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1bdcbab758..869869b4d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # Set projectname (must be done AFTER setting configurationtypes) -project(SunwellCore) +project(AzerothCore) # CMake policies (can not be handled elsewhere) cmake_minimum_required(VERSION 2.8) @@ -82,6 +82,7 @@ include(src/cmake/showoptions.cmake) # add modules and dependencies AZTH_SUBDIRLIST(sub_DIRS "${CMAKE_SOURCE_DIR}/modules" FALSE FALSE) FOREACH(subdir ${sub_DIRS}) + STRING(REGEX REPLACE "^${CMAKE_SOURCE_DIR}/" "" subdir ${subdir}) message("Loading module: ${subdir}") add_subdirectory("${subdir}") ENDFOREACH() diff --git a/bin/compiler/config.sh.dist b/bin/compiler/config.sh.dist index e4f297e5f8..7074e8634a 100644 --- a/bin/compiler/config.sh.dist +++ b/bin/compiler/config.sh.dist @@ -2,8 +2,11 @@ # set preferred compilers -CCOMPILERC="/usr/bin/clang-3.6" -CCOMPILERCXX="/usr/bin/clang++-3.6" +#CCOMPILERC="/usr/bin/clang-3.6" +#CCOMPILERCXX="/usr/bin/clang++-3.6" +CCOMPILERC="/usr/bin/gcc" +CCOMPILERCC="/usr/bin/gcc" +CCOMPILERCXX="/usr/bin/g++" # how many thread must be used for compilation ( leave zero to use all available ) MTHREADS=0 diff --git a/src/tools/mmaps_generator/CMakeLists.txt b/src/tools/mmaps_generator/CMakeLists.txt index 3fa480f962..6ef1d2120e 100644 --- a/src/tools/mmaps_generator/CMakeLists.txt +++ b/src/tools/mmaps_generator/CMakeLists.txt @@ -111,7 +111,7 @@ set(mmap_gen_Includes if( WIN32 ) set(mmap_gen_Includes ${mmap_gen_Includes} - ${CMAKE_SOURCE_DIR}/dep/libmpq/win + ${CMAKE_SOURCE_DIR}/modules/dep/libmpq/win ) endif() |